Hi Bin,

I encountered a bug in the newest version of binutils.
4. The error message:
../../src/gold/plugin.cc: 618:13: error: variable 'sym_size' set but not
used [-Werror=unused-but-set-variable]

That is strange, since sym_size is used on the very next line:

  unsigned char symbuf[sym_size];

I suspect that this is a bug in the version of gcc that you are using.


I tried to delete -Werror from the Makefile but I could not find it.

You could try adding the "--enable-werror=no" option when configuring your build. That should do the trick.

Cheers
  Nick

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to