Re: 64 bit numbers vs format strings

Поиск
Список
Период
Сортировка
От Wolfgang Walther
Тема Re: 64 bit numbers vs format strings
Дата
Msg-id 9504f38c-38dd-4ee6-9909-ffca705d34df@technowledgy.de
обсуждение исходный текст
Ответ на Re: 64 bit numbers vs format strings  (Thomas Munro <thomas.munro@gmail.com>)
Список pgsql-hackers
Thomas Munro:
> It might still be interesting to
> know which msgfmt/libintl pair the BF animals are using (CC Wolfgang),
> and whether this stuff actually works.

It took a while until I was able to enable NLS on the alpine animals 
[1]. It looks like I used gettext-tiny-dev here. I just tried with 
regular gettext-dev again in [2], and that doesn't work, yet.

I get something like this:

/usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: 
../../src/port/libpgport.a(strerror.o): in function `pg_strerror_r':
/mnt/build/HEAD/pgsql.build/../pgsql/src/port/strerror.c:72:(.text+0x260): 
undefined reference to `libintl_gettext'
/usr/lib/gcc/x86_64-alpine-linux-musl/14.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: 
/mnt/build/HEAD/pgsql.build/../pgsql/src/port/strerror.c:72:(.text+0x2e0): 
undefined reference to `libintl_gettext'

Logs available in [3] as artifacts.

So currently the only way I can make this work is with gettext-tiny-dev.

Best,

Wolfgang

[1]: https://github.com/technowledgy/postgresql-buildfarm-alpine/pull/12
[2]: https://github.com/technowledgy/postgresql-buildfarm-alpine/pull/115
[3]: 
https://github.com/technowledgy/postgresql-buildfarm-alpine/actions/runs/19034584598



В списке pgsql-hackers по дате отправления: