Problem compiling gcc

Etienne Claerr etienne.claerr at free.fr
Sun Jan 5 06:47:51 PST 2003


Hello,

I am preparing the LFS system.
When I compile gcc3.2, the following command is ok :

patch -Np1 -i ../gcc-3.2.patch &&
patch -Np1 -i ../gcc-3.2-nofixincludes-2.patch &&
mkdir ../gcc-build &&
cd ../gcc-build &&
../gcc-3.2/configure --prefix=/static --enable-languages=c \
   --disable-nls --disable-shared &&
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h

The last line of gcc/auto-host.h is :
#define HAVE_GAS_HIDDEN 1

But I get the following error when I use the command :
make BOOT_LDFLAGS=-static bootstrap

[...]
SHLIB_NM_FLAGS='-pg' \
SHLIB_SLIBDIR_SUFFIXES='' \
mkinstalldirs='/bin/sh ../../gcc-3.2/gcc/mkinstalldirs' \
  /bin/sh mklibgcc > tmp-libgcc.mk
mv tmp-libgcc.mk libgcc.mk
./xgcc -B./ -B/static/i586-pc-linux-gnu/bin/ -isystem
/static/i586-pc-linux-gnu/
include -isystem
/static/i586-pc-linux-gnu/sys-include -O2 -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
/include  -I.
 -I. -I../../gcc-3.2/gcc -I../../gcc-3.2/gcc/. -I../../gcc-3.2/gcc/config -I
../.
./gcc-3.2/gcc/../include  -g0 -finhibit-size-directive -fno-inline-functions
 -fn
o-exceptions -fno-omit-frame-pointer \
   -c ../../gcc-3.2/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
/tmp/cc2byzxC.s: Assembler messages:
/tmp/cc2byzxC.s:21: Error: Unknown pseudo-op:  `.hidden'
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory
`/mnt/lfs/static/src/lfs-packages-4.0/gcc-build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory
`/mnt/lfs/static/src/lfs-packages-4.0/gcc-build/gcc'
make: *** [bootstrap] Error 2

Does someone have an idea of what can be wrong  ?
Thank you,
Etienne


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list