- To: "'gcc-help@xxxxxxxxxxx'" <gcc-help@xxxxxxxxxxx>
- Subject: RE: g++: error: -fuse-linker-plugin is not supported in this configuration
- From: "Hite, Christopher" <Christopher.Hite@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 18 Apr 2012 12:09:49 +0200
- Comment: DKIM? See http://www.dkim.org
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
- In-reply-to: <56888C35366397458A8FA0626BA836F119C591BF5D@SE002568.cs.commerzbank.com>
I can't get the linker plugin to work.
g++: error: -fuse-linker-plugin is not supported in this configuration
I build a userland binutils and gcc with dependencies. I've tried gold and bfd. Does anyone see anything obvoiusly wrong with this?
cd gcc-4.7.0
./configure --with-gmp=$INSTALLATION/gmp-4.3.2 --with-mpfr=$INSTALLATION/mpfr-2.4.2 --with-mpc=$INSTALLATION/mpc-0.8.2 --with-ppl=$INSTALLATION/ppl-0.11 \
--enable-cloog-backend=isl --with-cloog=$INSTALLATION/cloog-0.16.2 --prefix=$INSTALLATION/gcc-4.7.0 \
--enable-languages=c,c++ \
--enable-lto --with-libelf=$INSTALLATION/libelf-0.8.12 --enable-gold
make install
cd binutils-2.22
./configure --enable-gold --enable-plugins --enable-lto --with-gmp=$INSTALLATION/gmp-4.3.2 --with-mpfr=$INSTALLATION/mpfr-2.4.2 --with-mpc=$INSTALLATION/mpc-0.8.2 \
--with-ppl=$INSTALLATION/ppl-0.11 --enable-cloog-backend=isl --with-cloog=$INSTALLATION/cloog-0.16.2 --prefix=$INSTALLATION/binutils-2.22 \
--disable-werror
make all-gold
Do I have the order right? Someone mentioned an in-tree build to build binutils and gcc together. Is there some doc explaining how to do that?
GCC's HAVE_LTO_PLUGIN=0 in ./host-i686-pc-linux-gnu/gcc/auto-host.h. Does that mean it won't ever work or I just need a better linker at runtime?
Chris
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]