RE: g++: error: -fuse-linker-plugin is not supported in this configuration

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

 



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



[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