Error compil GCC-3.2 :Unknown pseudo-op: `.hidden'

Chris Lingard chris at
Tue Oct 8 00:45:28 PDT 2002

lfs at wrote:

> Greg Schafer <gschafer at> wrote:
>> On Fri, Sep 27, 2002 at 01:23:41AM +0200, Linux From Scratch wrote:
>>> I have a error message during I compile gcc-3.2
>>> -c ../../gcc-3.2/gcc/crtstuff.c -DCRT_BEGIN \
>>> -o crtbegin.o
>>> /tmp/cc39ThNf.s: Assembler messages:
>>> /tmp/cc39ThNf.s:21: Error: Unknown pseudo-op: `.hidden'
>> Have a look here for possible answer:-
> After following instructions from the .../0138.html I could continue but
> couldn't finish:
> make[2]: Entering directory
> `/lfs/static/src/lfs-packages-4.0/gcc-build/gcc' .
> .
> stage1/xgcc -Bstage1/ -B/static/i686-pc-linux-gnu/bin/ -DIN_GCC    -g -O2
> -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
> -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H -DGENERATOR_FILE
> -static -o gengenrtl \
>  gengenrtl.o ../libiberty/libiberty.a
> /usr/bin/ld: gengenrtl: Not enough room for program headers (allocated 3,
> need 4) /usr/bin/ld: final link failed: Bad value
> Any hints how to continue are welcome.
> Building LFS-4.0 at RedHat-6.1, P-III.
> Andres Kuusk
> Tartu Observatory, Estonia
> andres at

The binutils on your base system is too old.  You could compile the
LFS version of binutils on your base system; but do not use the
--prefix option; this way it gets installed in /usr/local/bin

Then when you build LFS do
export PATH=/usr/local/bin:$PATH
Then you will use the new version of binutils.


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

More information about the lfs-support mailing list