Article View: gnu.gcc.bug
Article #1212bug in -pipe flag
From: joris
Date: Thu, 15 Oct 1992 13:12
Date: Thu, 15 Oct 1992 13:12
41 lines
1646 bytes
1646 bytes
Dear reader, I have built gcc 2.2.2 for iris4d-irix4, following the installation guide. No file is modified, (the stage2 and stage3 binaries compare equal). Trying the -pipe option results in: hera % cat >file.c /* nothing */ hera % gcc -c -pipe file.c gcc: -pipe is not supported. as: Error: no source, object or ucode file specified file.c:2: output pipe has been closed Segmentation fault (core dumped) and dbx said: hera % dbx `which gcc` dbx version 2.10 11/15/91 2:02 Type 'help' for help. Reading symbolic information of `./gcc' . . . Process name from core dump: gcc Process died at pc 0x4089b0 of signal : Segmentation fault [using memory image in core] (dbx) where > 0 .strcmp.strcmp(0x0, 0x100048a4, 0x10015bc0, 0xa, 0xc, 0x2) ["sys/close.s":16, 0x4089ac] 1 execute() ["gcc.c":1541, 0x40198c] (dbx) The 'specs' file for mips-irix tells correctly that the mips assembler does not support pipes. For some reason (I don't have the time to investigate the 'specs' logic) gcc does set up the full pipeline cpp | cc1 | as, and later dumps core at "gcc.c":1541. Suggestion: gcc -pipe file.c does cpp file.c | cc1 > tmpfile ; as tmpfile -o file.o Joris vdr Geer joris@rijnh.nl
Technical Details
Message-ID:
<9210151112.AA12768@zeus.rijnh.nl>Path:
arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!zeus.rijnh.nl!jorisShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!convex!darwin.sura.net!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!zeus.rijnh.nl!joris From: joris@zeus.rijnh.nl (joris) Subject: bug in -pipe flag Message-ID: <9210151112.AA12768@zeus.rijnh.nl> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 15 Oct 1992 13:12:28 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 43