failing to build preproc.c on solaris with sun studio - Mailing list pgsql-hackers

From Andres Freund
Subject failing to build preproc.c on solaris with sun studio
Date
Msg-id 20220806210724.vb2yw4auuixrm5qw@awork3.anarazel.de
Whole thread Raw
Responses Re: failing to build preproc.c on solaris with sun studio
List pgsql-hackers
Hi,

I tried PG on the gcc compile farm solaris 11.31 host. When compiling with sun
studio I can build the backend etc, but preproc.c fails to compile:

ccache /opt/developerstudio12.6/bin/cc -m64 -Xa -g -v -O0 -D_POSIX_PTHREAD_SEMANTICS -mt -D_REENTRANT -D_THREAD_SAFE
-I../include-I../../../../src/interfaces/ecpg/include -I. -I. -I../../../../src/interfaces/ecpg/ecpglib
-I../../../../src/interfaces/libpq-I../../../../src/include  -D_POSIX_PTHREAD_SEMANTICS   -c -o preproc.o preproc.c
 
Assertion failed: hmap_size (phdl->fb.map) == 0, file ../src/line_num_internal.c, line 230, function
twolist_proc_clear
Assertion failed: hmap_size (phdl->fb.map) == 0, file ../src/line_num_internal.c, line 230, function
twolist_proc_clear
cc: Fatal error in /opt/developerstudio12.6/lib/compilers/bin/acomp
cc: Status 134

the assertion is just a consequence of running out of memory, I believe, acomp
is well over 20GB at that point.

However I see that wrasse doesn't seem to have that problem. Which leaves me a
bit confused, because I think that's the same machine and compiler binary.

Noah, did you encounter this before / do anything to avoid this?

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Making autovacuum logs indicate if insert-based threshold was the triggering condition
Next
From: Nathan Bossart
Date:
Subject: Re: optimize lookups in snapshot [sub]xip arrays