Re: Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-21 Thread Andres Freund
Hi, On 2023-12-13 15:18:02 +, Sacha Hottinger wrote: > Thanks for your reply. > The reason I was suspicious with the warnings of the gcc build was, because > gmake check reported 138 out of 202 tests to have failed. I have attached the > output of gmake check. That'll likely be due to asser

AW: Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-13 Thread Sacha Hottinger
k to the previous installation. It seems there is definitievly something wrong with the result gcc created. Best regards Sacha Von: Andres Freund Datum: Donnerstag, 7. Dezember 2023 um 17:50 An: Sacha Hottinger Cc: pgsql-hack...@postgresql.org Betreff: Re: Building PosgresSQL with LLVM fails o

Re: Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-07 Thread Andres Freund
Hi, On 2023-12-07 13:43:55 +, Sacha Hottinger wrote: > Thanks a lot. > It now got much further but failed here with Sun Studio: > … > gmake[2]: Leaving directory > '/opt/cnd/opt28-2_13.3_gmake_all_llvm_fixV2/src/test/perl' > gmake -C backend/jit/llvm all > gmake[2]: Entering directory > '/op

Re: Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-06 Thread Andres Freund
Hi, On 2023-12-01 23:06:59 +, Sacha Hottinger wrote: > // I used the patch command to patch the src/backend/port/Makefile with your > attached file and tried again with the Sun Studio compiler. There is now a > different error at this stage: > … > /opt/developerstudio12.6/bin/cc -m64 -xarch=

Re: Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-01 Thread Andres Freund
Hi, On 2023-12-01 17:02:25 +, Sacha Hottinger wrote: > Compiling PostgreSQL 13.13 with option –with-llvm fails with Developer Studio > 12.6 as well as with gcc 13.2.0. > I have installed the developer/llvm/clang" + "developer/llvm/clang-build pkgs > (13.0.1). Uh, huh. I did not expect that

Building PosgresSQL with LLVM fails on Solaris 11.4

2023-12-01 Thread Sacha Hottinger
Hi all Compiling PostgreSQL 13.13 with option –with-llvm fails with Developer Studio 12.6 as well as with gcc 13.2.0. I have installed the developer/llvm/clang" + "developer/llvm/clang-build pkgs (13.0.1). - It works without the llvm option - I have also tried it with 16.1 – no success either