This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/
/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?

Tom Crispin
Centaur Technology

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]