Re: gcc-4.5 build fails

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paul Graphov <graphov@xxxxxxxxx> writes:

> I've tried to build gcc-4.5 to play with it's new features but
> unfortunately build failed.
> I am using Fedora 12 x86_64 as host system and tried to build native compiler.
>
> The error looked like this:
>
> /home/druid/gcc-4.5/gcc-4.5-
> 20100311/build/./gcc/xgcc
> -B/home/druid/gcc-4.5/gcc-4.5-20100311/build/./gcc/
> -B/home/druid/usr/x86_64-unknown-linux-gnu/bin/
> -B/home/druid/usr/x86_64-unknown-linux-gnu/lib/ -isystem
> /home/druid/usr/x86_64-unknown-linux-gnu/include -isystem
> /home/druid/usr/x86_64-unknown-linux-gnu/sys-include    -g -O2 -m32
> -O2  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
> -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED   -I. -I. -I../../.././gcc
> -I../../../../libgcc -I../../../../libgcc/.
> -I../../../../libgcc/../gcc -I../../../../libgcc/../include
> -I../../../../libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
> -DHAVE_CC_TLS -DUSE_TLS -o _muldi3.o -MT _muldi3.o -MD -MP -MF
> _muldi3.dep -DL_muldi3 -c ../../../../libgcc/../gcc/libgcc2.c \
>       -fvisibility=hidden -DHIDE_EXPORTS
> In file included from /usr/include/features.h:376:0,
>                  from /usr/include/stdio.h:28,
>                  from ../../../../libgcc/../gcc/tsystem.h:87,
>                  from ../../../../libgcc/../gcc/libgcc2.c:29:
> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such
> file or directory


Note the use of -m32 above.  This is building the 32-bit version of
the library, so that the -m32 option works.  You should install the
32-bit header files or configure with --disable-multilib.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux