============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Cedric Gaudin
Your email address : Cedric.Gaudin@bigfoot.com
Category : install: compile
Severity : critical
Summary: -O2 flag ge-O2 flag generate 'Internal compiler error: program cc1 got fatal signal 6'
System Configuration
--------------------
Operating System : Linux 2.2.9 ELF
PostgreSQL version : 6.5
Compiler used : gcc 2.8.1
Hardware:
---------
AMD K6/200, 160M, Linux 2.2.9/Redhat/Modified
Versions of other tools:
------------------------
make 3.76.1
--------------------------------------------------------------------------
Problem Description:
--------------------
-O2 flag generate 'Internal compiler error: program cc1 got fatal signal 6'
--------------------------------------------------------------------------
Test Case:
----------
try to compile postgresql with gcc 2.8.1
--------------------------------------------------------------------------
Solution:
---------
suppress -O2 for /backend/utils/adt/float.c & /backend/optimizer/utils/pathnode.c
--------------------------------------------------------------------------