Article View: gnu.gcc.bug
Article #1064bug in Makefile for 2.2.2?
From: J. Eric Townsend
Date: Fri, 04 Sep 1992 15:29
Date: Fri, 04 Sep 1992 15:29
26 lines
1488 bytes
1488 bytes
I suspect this is a bug in the shell on the machine I'm porting gcc
to, but I thought I'd see if anyone else has had problems with it.
do1 is a shell script:
#!/bin/sh
pexec -on 3 make CC="stage1/gcc -Bstage1/" CFLAGS="-O"
$ ./do1
stage1/gcc -Bstage1/ -O -o genrecog genrecog.o rtl.o ` case "obstack.o" in?*) echo obstack.o ;; esac ` ` case "stage1/gcc -Bstage1/"@"" in "cc"@?*) echo
;; esac ` ` case "" in ?*) echo ;; esac `
ld: Error: undefined symbol '__obstack_begin'
ld: Error: undefined symbol '__obstack_newchunk'
ld: Fatal: no output file created
make: *** [genrecog] Error 1
spot:/u/sa/jet/gnu/gcc-2.2.2> stage1/gcc -Bstage1/ -O -o genrecog genrecog.o rtl.o obstack.o
The problem seems to be that the case "loses" obstack.o. If I
manually compile and simply state "obstack.o" things work just fine.
Anybody else seen something like this?
--
J. Eric Townsend -- jet@nas.nasa.gov -- 415.604.4311
'92 R100R, DoD# 0378
"Heads. Heads. Heads. Heads. Heads. Heads." -- R & G Are Dead
Technical Details
Message-ID:
<JET.92Sep4112909@win30.nas.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!nas.nasa.gov!jetShow Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!nas.nasa.gov!jet From: jet@nas.nasa.gov (J. Eric Townsend) Subject: bug in Makefile for 2.2.2? Message-ID: <JET.92Sep4112909@win30.nas.nasa.gov> Sender: gnulists@ai.mit.edu Organization: Numerical Aerodynamic Simulation, NASA Ames Distribution: gnu Date: Fri, 4 Sep 1992 15:29:09 GMT Approved: bug-gcc@prep.ai.mit.edu Lines: 27