problem in GCC 3.2 (CVS package lfs-packages-cvs-20020826-1614)
Greg Schafer
gschafer at zip.com.au
Thu Sep 5 18:19:16 MDT 2002
On Wed, Sep 04, 2002 at 07:12:21PM -0700, Chris Sheppard wrote:
> I'm trying to build GCC 3.2, I'm using the online version of the
> instructions;
>
> I get this:
>
> /tmp/ccIvjhBB.s: Assembler messages:
> /tmp/ccIVjhBB.s:21: Error: Unknown pseudo-op: `.hidden'
>
> The xgcc line is:
>
> ./xgcc -B./ -Bstatic/i368-pc-linux-gnu/bin/ -isystem
> /static/i686-pc-linux-gnu/include -isystem
> /static/i686-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 -fno-exceptions
> -fno-omit-frame-pointer \
> -c ../../gcc-3.2/gcc/crtstuff.c -DCRT_BEGIN \
> -o crtbegin.o
>
> I'm using egcs-2.91.66 (yup, ancient -- this is why I want to upgrade! :-/)
>
> Anyone have any ideas? Is this caused by my ancient compiler?
Yes. Ancient compiler and binutils combo methinks. I hesitate to recommend
this but you could try omitting the line that says:-
echo "#define HAVE_GAS_HIDDEN 1" >> gcc/auto-host.h &&
If you do this, and it works, then I would recommend rebuilding glibc
after you have compiled and installed the dynamic gcc in Ch 6. This
means you end up building glibc twice :-(
Greg
--
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