Hi,
I encountered a bug in the newest version of binutils.
1. I checked out the fresh source code from the cvs repository by
cvs -z 9 -d :pserver:anon...@sourceware.org:/cvs/src co binutils
So the binutils must be the newest version.
2. The installation was configured with
../src/configure --enable-gold --enable-plugins
3. the gcc version
# gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i686-pc-linux-gnu/4.6.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-src/configure --enable-shared
--enable-threads=posix --enable-checking=release
--enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,fortran
--enable-java-awt=gtk --disable-dssi --enable-plugin --with-cpu=generic
Thread model: posix
gcc version 4.6.0 20100902 (experimental) GCC
4. The error message:
../../src/gold/plugin.cc: 618:13: error: variable 'sym_size' set but not
used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
I tried to delete -Werror from the Makefile but I could not find it.
Thanks a lot!!!
Bin
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils