Thread: BUG #1852: compilation failed

BUG #1852: compilation failed

From
"fischer"
Date:
The following bug has been logged online:

Bug reference:      1852
Logged by:          fischer
Email address:      g.fischer@ah-online.com
PostgreSQL version: 8.1 beta1
Operating system:   irix
Description:        compilation failed
Details:

mipspro 7.43.
CFLAGS=-O3 -mips4.
options: ./configure --prefix=/usr/local/postgresql --without-readline
--disable-rpath.
-------------

gmake[3]: Entering directory
`/mnt/3/temp/postgresql-8.1beta1/src/backend/parser'
c99 -O3 -mips4 -woff 1164,1171,1185,1195,1552 -I. -I../../../src/include
-I/usr/local/include -I/usr/local2/include -I/usr/nekoware/include
-U_NO_XOPEN4  -c -o analyze.o analyze.c
Signal: Segmentation fault in Global Optimization -- Copy Propagation
phase.
Error: Signal Segmentation fault in phase Global Optimization -- Copy
Propagation -- processing aborted
c99 ERROR:  /usr/lib32/cmplrs/be died due to signal 4
c99 ERROR:  core dumped

Re: BUG #1852: compilation failed

From
Tom Lane
Date:
"fischer" <g.fischer@ah-online.com> writes:
> c99 -O3 -mips4 -woff 1164,1171,1185,1195,1552 -I. -I../../../src/include
> -I/usr/local/include -I/usr/local2/include -I/usr/nekoware/include
> -U_NO_XOPEN4  -c -o analyze.o analyze.c
> Signal: Segmentation fault in Global Optimization -- Copy Propagation
> phase.
> Error: Signal Segmentation fault in phase Global Optimization -- Copy
> Propagation -- processing aborted
> c99 ERROR:  /usr/lib32/cmplrs/be died due to signal 4
> c99 ERROR:  core dumped

Think you need to be complaining to your compiler vendor, not us.

A short-term workaround might be to use a less aggressive -O setting.

            regards, tom lane

Re: BUG #1852: compilation failed

From
"g.fischer@ah-online.com"
Date:
Tom Lane wrote:
> "fischer" <g.fischer@ah-online.com> writes:
>
>> c99 -O3 -mips4 -woff 1164,1171,1185,1195,1552 -I. -I../../../src/include
>> -I/usr/local/include -I/usr/local2/include -I/usr/nekoware/include
>> -U_NO_XOPEN4  -c -o analyze.o analyze.c
>> Signal: Segmentation fault in Global Optimization -- Copy Propagation
>> phase.
>> Error: Signal Segmentation fault in phase Global Optimization -- Copy
>> Propagation -- processing aborted
>> c99 ERROR:  /usr/lib32/cmplrs/be died due to signal 4
>> c99 ERROR:  core dumped
>>
>
> Think you need to be complaining to your compiler vendor, not us.
>
all versions worked very fine so far. will try gcc4, too.
> A short-term workaround might be to use a less aggressive -O setting.
>
>             regards, tom lane
>

--
AH Computer-Systeme
Goetz Fischer
Senior Consultant
Phone: +49(0)7225/98 98 79
Fax:   +49(0)7225/28 64
eMail: g.fischer@ah-online.com
http://www.ah-online.com
http://www.ah-webhosting.com