public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/20176] New: 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
@ 2005-02-23 22:18 adam at adamcarlson dot org
  2005-02-23 22:32 ` [Bug c/20176] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: adam at adamcarlson dot org @ 2005-02-23 22:18 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/20176] 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
  2005-02-23 22:18 [Bug c/20176] New: 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 adam at adamcarlson dot org
@ 2005-02-23 22:32 ` pinskia at gcc dot gnu dot org
  2005-02-24 11:00 ` adam at adamcarlson dot org
  2005-02-24 12:05 ` falk at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-23 22:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-23 18:29 -------
Not a gcc bug.  Tou have bad memory or hardware as it works the second time.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/20176] 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
  2005-02-23 22:18 [Bug c/20176] New: 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 adam at adamcarlson dot org
  2005-02-23 22:32 ` [Bug c/20176] " pinskia at gcc dot gnu dot org
@ 2005-02-24 11:00 ` adam at adamcarlson dot org
  2005-02-24 12:05 ` falk at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: adam at adamcarlson dot org @ 2005-02-24 11:00 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From adam at adamcarlson dot org  2005-02-23 21:02 -------
(In reply to comment #1)
> Not a gcc bug.  Tou have bad memory or hardware as it works the second time.

Now it has started failing consistently on one file and I was able to make a *.i
file.  The system I'm using is old, but has been rockstable and I have never had
any other problems compiling/installing/running software.  Hardware problems are
flaky however, so I know there is a good chance it is just my hardware.  I
wanted to submit the *.i file just in case you wanted to look at it but the file
is over 1MB and it says it is too large.  If you would still like me to try and
get it to you somehow please let me know.  I guess I am going to try and find a
binary distribution or compile an older version as I can't seem to compile this
version without these errors.  Thanks

-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/20176] 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
  2005-02-23 22:18 [Bug c/20176] New: 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 adam at adamcarlson dot org
  2005-02-23 22:32 ` [Bug c/20176] " pinskia at gcc dot gnu dot org
  2005-02-24 11:00 ` adam at adamcarlson dot org
@ 2005-02-24 12:05 ` falk at debian dot org
  2 siblings, 0 replies; 4+ messages in thread
From: falk at debian dot org @ 2005-02-24 12:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From falk at debian dot org  2005-02-23 22:18 -------
(In reply to comment #2)

> I
> wanted to submit the *.i file just in case you wanted to look at it but the file
> is over 1MB and it says it is too large. 

Compress it with bzip2 and use "Create a New Attachment" at the URL below.



-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-23 22:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-23 22:18 [Bug c/20176] New: 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 adam at adamcarlson dot org
2005-02-23 22:32 ` [Bug c/20176] " pinskia at gcc dot gnu dot org
2005-02-24 11:00 ` adam at adamcarlson dot org
2005-02-24 12:05 ` falk at debian dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).