This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
problems building GCC
- From: Tom Crispin <crispin at centtech dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 23 Jan 2002 17:36:37 -0600
- Subject: problems building GCC
On 1/18/02 I had made successful builds of both 3.0.3 and 3.1 20020115
with (among other things) GNU assembler version 2.9.5
I downloaded and built binutils 2.11.2 to get a more recent "as" which
supports Pentium IV instructions. With the new "as" and using 3.1
20020115 as the system compiler, I reran configure and when I tried to
rebuild 3.1 20020115 I got this error:
./xgcc -B./ -B/n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/bin/
-isystem /n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/include
-isystem /n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/sys-include
-O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include -fPIC -g1 -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -I. -I. -I../../cvs/gcc -I../../cvs/gcc/.
-I../../cvs/gcc/config -I../../cvs/gcc/../include
-fexceptions -c ../../cvs/gcc/unwind-dw2.c -o
libgcc/./unwind-dw2.o /tmp/ccor78rT.s: Assembler messages:
/tmp/ccor78rT.s:252: Error: invalid section for operation
/tmp/ccor78rT.s:253: Error: invalid section for operation
/tmp/ccor78rT.s:254: Error: invalid
..... (many more invalid section messages)
Dropping back to the older "as" and an earlier gcc as the system
compiler I get this error:
./xgcc -B./ -B/n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/bin/
-isystem
/n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/include -isystem
/n/workdirs/crispin/gcc/usr/i686-pc-linux-gnu/sys-include -DIN_GCC -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include -I. -I. -I../../cvs/gcc -I../../cvs/gcc/.
-I../../cvs/gcc/config -I../../cvs/gcc/../include -g0 \
-finhibit-size-directive -fno-inline-functions \
-fno-exceptions -fno-omit-frame-pointer \
-c ../../cvs/gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
/tmp/ccfn451J.s: Assembler messages:
/tmp/ccfn451J.s:21: Error: Unknown pseudo-op: `.hidden'
This despite rm -rf <objdir> and rerunning configure, which expressly
indicates that the assmbler does NOT support `.hidden'
What am I doing wrong? Presumably I need to rm ?? But what?
Thanks
--
Tom Crispin
Centaur Technology
512-493-8625
crispin@centtech.com