Re: Building PosgresSQL with LLVM fails on Solaris 11.4

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Building PosgresSQL with LLVM fails on Solaris 11.4
Дата
Msg-id 20231206180133.2gwzreuflfs6tten@awork3.anarazel.de
обсуждение исходный текст
Ответ на AW: Building PosgresSQL with LLVM fails on Solaris 11.4  (Sacha Hottinger <itdo@cndag.onmicrosoft.com>)
Ответы AW: Building PosgresSQL with LLVM fails on Solaris 11.4  (Sacha Hottinger <itdo@cndag.onmicrosoft.com>)
Список pgsql-hackers
Hi,

On 2023-12-01 23:06:59 +0000, Sacha Hottinger wrote:
> // I used the patch command to patch the src/backend/port/Makefile with your attached file and tried again with the
SunStudio compiler. There is now a different error at this stage:
 
> …
> /opt/developerstudio12.6/bin/cc -m64 -xarch=native -Xa -v -O -I../../../src/include    -c -o pg_shmem.o pg_shmem.c
> echo | /usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2  -I../../../src/include   -flto=thin
-emit-llvm-c -xc -o tas.bc tas.s
 
> tas.s:1:1: error: expected identifier or '('
> !-------------------------------------------------------------------------
> ^
> 1 error generated.

That's me making a silly mistake...  I've attached at an updated, but still
blindly written, diff.


> // Have attached the config.log, gmake all full log, and patched Makefile.

Could you attach config.log and gmake for the gcc based build? Because so far
I have no idea what causes the linker issue there.

Greetings,

Andres Freund

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: Bug in nbtree optimization to skip > operator comparisons (or < comparisons in backwards scans)
Следующее
От: Robert Haas
Дата:
Сообщение: Re: generic plans and "initial" pruning