This is the mail archive of the gcc@gcc.gnu.org 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]

Re: GCC 4.5 is uncompilable


2009/11/20 Piotr Wyderski <piotr.wyderski@gmail.com>:
> An attempt to build either gcc-trunk or the most recent
> snapshot (20091119) with Cygwin (the build compiler
> is either GCC 4.4.0 or 4.5-20090604), configured as:
>
> $ ../configure --prefix=/opt/gcc-4.5-20091119 -v --enable-bootstrap --enable-ve
> rsion-specific-runtime-libs --enable-shared --enable-shared-libgcc --with-gnu-l
> d --with-gnu-as --enable-dwarf2-exceptions --disable-symvers --disable-nls --wi
> th-arch=core2 --with-tune=generic --enable-threads=posix --enable-languages=c,c
> ++
>
> fails with the following message:
>
> [...]
> ?mv ./shlib/libgcc_s.dll.a.tmp ./shlib/libgcc_s.dll.a
> /usr/bin/ld: unrecognized -a option `ware'
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.dll] Error 1
> make[3]: Leaving directory `/home/piotr.wyderski/build/gcc-4.5-20091119/objdir/i
> 686-pc-cygwin/libgcc'
> make[2]: *** [all-stage1-target-libgcc] Error 2
> make[2]: Leaving directory `/home/piotr.wyderski/build/gcc-4.5-20091119/objdir'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/home/piotr.wyderski/build/gcc-4.5-20091119/objdir'
> make: *** [all] Error 2
>

This error you get is more related to used binutils version.The
warning you get looks more like a cripled '-Wl,--tsaware'. Which
binutils version you are using?

Cheers,
Kai

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination


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