[Bug binutils/11991] ar --plugin does not use plugin

2010-09-07 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2010-09-07 15:41 --- Please provide a testcase. -- What|Removed |Added Status|NEW

[Bug ld/11989] /usr/bin/ld: internal error in elf32_hppa_relocate_section

2010-09-07 Thread b dot gunreben at web dot de
--- Additional Comments From b dot gunreben at web dot de 2010-09-07 14:13 --- (In reply to comment #3) > Does the link succeed if you omit --gc-sections? yes, in that case, the link is successful. -- http://sourceware.org/bugzilla/show_bug.cgi?id=11989 --- You are receiving t

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-07 Thread andi-bz at firstfloor dot org
--- Additional Comments From andi-bz at firstfloor dot org 2010-09-07 13:33 --- Thanks. Looks like the ar plugin is easier and I guess one could use an ar wrapper for it. The main problem I have with it currently is that it doesn't work :/ See http://sourceware.org/bugzilla/show_bug.cgi

[Bug binutils/11988] plugin claimed symbols are not used for ar resolution

2010-09-07 Thread ian at airs dot com
--- Additional Comments From ian at airs dot com 2010-09-07 13:19 --- BSD ar does have a symbol table. All versions of ar since about 1977 have a symbol table. It would be possible to have gold scan an entire archive if there is no symbol table. The problem here is that there will be

[Bug binutils/11991] New: ar --plugin does not use plugin

2010-09-07 Thread andi-bz at firstfloor dot org
I have been trying to use the BFD linker plugins support that was added last year to binutils with the gcc plugin: But as far as I can see it doesn't work. I call it like this: ar --plugin /pkg/gcc-4.6/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/liblto_plugin.so.0.0.0 q t.a ... I verified the bi

[Bug ld/11989] /usr/bin/ld: internal error in elf32_hppa_relocate_section

2010-09-07 Thread amodra at gmail dot com
--- Additional Comments From amodra at gmail dot com 2010-09-07 12:44 --- Does the link succeed if you omit --gc-sections? -- http://sourceware.org/bugzilla/show_bug.cgi?id=11989 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching

Re: bug report

2010-09-07 Thread Nick Clifton
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];

[Bug ld/11989] /usr/bin/ld: internal error in elf32_hppa_relocate_section

2010-09-07 Thread b dot gunreben at web dot de
--- Additional Comments From b dot gunreben at web dot de 2010-09-07 07:31 --- Created an attachment (id=4968) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4968&action=view) output of ld, using -Wl,--verbose in the command line -- http://sourceware.org/bugzilla/show_bug.cg

[Bug ld/11989] /usr/bin/ld: internal error in elf32_hppa_relocate_section

2010-09-07 Thread b dot gunreben at web dot de
--- Additional Comments From b dot gunreben at web dot de 2010-09-07 07:30 --- Created an attachment (id=4967) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4967&action=view) commandline that is used during build -- http://sourceware.org/bugzilla/show_bug.cgi?id=11989

[Bug ld/11989] New: /usr/bin/ld: internal error in elf32_hppa_relocate_section

2010-09-07 Thread b dot gunreben at web dot de
When compiling libqt4 version 4.7.0rc1, I get the following ld error: /usr/bin/ld: BFD (GNU Binutils; HP-Factory) 2.20.0.20100122-11 internal error, aborting at ../../bfd/elf32-hppa.c line 3897 in elf32_hppa_relocate_section attaching the calling command as well as verbose ld output. --