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


Reply via email to