Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/specs
Configured with: ../gcc-3.3.4/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld
--verbose --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.4

I am currently running slackware linux 10 and was attempting to 'gmake install'
postgresql-8.0.1 that I had downloaded and wanted to compile from source.  

During the gmake install I got this:
...
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
-fno-strict-aliasing -I../../../../src/include -D_GNU_SOURCE   -c -o xact.o 
xact.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.

I went back to compile it by hand and add the flag you asked to be added
"-save-temps" but it compiled correctly.  I then went back and restarted 'gmake
install' and this time I got the same error except on the next file to be 
compiled:

gmake[4]: Entering directory
`/usr/local/src/postgresql-8.0.1/src/backend/access/transam'
gcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wendif-labels
-fno-strict-aliasing -I../../../../src/include -D_GNU_SOURCE   -c -o xlog.o 
xlog.c
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.

This time I just ran 'gmake install' again and it successfully compiled the
file, so it only seemed to fail the first time it attempted to compile both of
those files.  I apologize if I shouldn't submit this because I couldn't obtain
the preprocessed file, but it asked so politely for me to submit a bug report
and I definitely wanted to do everything I could to help your efforts.  Thank
you very much for all of your time and hard work.

-- 
           Summary: Received gcc: Internal error on 2 files when compiling
                    postgres from source, only failed on first compilation
                    attempt and was unable to get preprocessed files
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: adam at adamcarlson dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20176

Reply via email to