Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

gccfss segmentation fault, iropt out of memory with postgresql 8.3.4

807575Sep 22 2008 — edited Sep 23 2008
Hi,

when compiling postgresql 8.3.4 with gccfss, I get
make -C parser all
make[3]: Entering directory `/opt/builder/BUILD/postgresql-8.3.4/src/backend/parser'
gcc -O2 -g -m32 -mcpu=ultrasparc -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I../../../src/include -I/usr/local/include/libxml2   -c -o analyze.o analyze.c
gcc -O2 -g -m32 -mcpu=ultrasparc -Wall -Wmissing-prototypes -Wpointer-arith -Winline -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I. -I../../../src/include -I/usr/local/include/libxml2   -c -o gram.o gram.c
compiler(iropt) warning: Out of memory during optimizing base_yyparse in y.tab.c, recovering...
                  -- 607656 bytes in 21 permanent Pools
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:out_of_memory_handler+0x170
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:heap_tmpalloc+0xc4
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:new_heap_set+0x3c
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:0x3d2bc0
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:do_alias_analysis+0x2e0
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:0x2a278c
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:0x2a1680
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:main+0x6e0
/usr/local/SUNW0scgfss/4.2.0/prod/bin/iropt:_start+0x108
compiler(iropt) warning: skip optimization on base_yyparse in y.tab.c due to out of memory
gcc: Internal error: segmentation fault (program iropt)
Please submit a full bug report to
 <URL:http://forum.java.sun.com/forum.jspa?forumID=905>.
make[3]: *** [gram.o] Error 1
iropt apparently ran out of memory. How can I enlarge the iropt optimization pools?

Thanks, Jörg
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2008
Added on Sep 22 2008
2 comments
145 views