Re: Warning build bfd library with gcc 4.6.0+fix

2010-05-10 Thread Alan Modra
On Mon, May 10, 2010 at 10:01:21AM +0100, Duncan Simpson wrote: > At least with my configuration gcc 4.6.0 complains about the initialisation > but non-use of hasdebug in coff_write_object_contents (defined in > bfd/coffcode.h). Since -Werror is in effect this stops the build. Applied. *

[Bug ld/11584] New: ld gives internal error

2010-05-10 Thread denis dot dzyubenko at nokia dot com
Got an internal error when linking Qt in ubuntu 10.04: /usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.20.1-system.20100303 internal error, aborting at ../../bfd/merge.c line 876 in _bfd_merged_section_offset That happened just once, I cannot reproduce it anymore so don't have any additional de

[Bug ld/11583] ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-10 Thread cinarus at yahoo dot com
--- Additional Comments From cinarus at yahoo dot com 2010-05-10 15:01 --- Created an attachment (id=4776) --> (http://sourceware.org/bugzilla/attachment.cgi?id=4776&action=view) Test case -- http://sourceware.org/bugzilla/show_bug.cgi?id=11583 --- You are receiving this mail

[Bug ld/11583] New: ld aborts in elf_link_output_extsym when given EXTERN() symbol in script.

2010-05-10 Thread cinarus at yahoo dot com
Hello all, I was trying to define aliases for some functions in an ld script and ld aborts in the above function. The command line and output is: $ ld -o dparse dparse_objs.lds -lc /usr/lib/libc.so:6: unresolvable symbol `puts' referenced in expression /usr/lib/libc.so:6: unresolvable symbol `pu

Warning build bfd library wiht gcc 4.6.0+fix

2010-05-10 Thread Duncan Simpson
At least with my configuration gcc 4.6.0 complains about the initialisation but non-use of hasdebug in coff_write_object_contents (defined in bfd/coffcode.h). Since -Werror is in effect this stops the build. The attached oatch fixes this problem by adding hasdebug=hasdebug; if the only use of has

[Bug binutils/11582] BFD structure linkage is broken

2010-05-10 Thread dzidzitop at lavabit dot com
--- Additional Comments From dzidzitop at lavabit dot com 2010-05-10 10:21 --- Where is that "silly error"? -- What|Removed |Added Status|RESOLVED