[Bug ld/17068] --as-needed and --start-group/--end-group interact in strange ways if .so files are mentioned in --start-group/--end-group

2014-07-02 Thread thakis at chromium dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=17068 --- Comment #2 from thakis at chromium dot org --- That seems to do the trick. I built ld-new from source and checked that my build fails with that, then applied your patch and checked that it succeeds. -- You are receiving this mail because:

[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-07-02 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698 --- Comment #19 from maillist-gdb at barfooze dot de --- oops wrong link, the codesourcery toolchain which raised the assertion was https://sourcery.mentor.com/GNUToolchain/package12813/public/arm-none-linux-gnueabi/arm-2014.05-29-arm-none-lin

[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-07-02 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698 --- Comment #18 from maillist-gdb at barfooze dot de --- i was able to reproduce the issue on a glibc box (opensuse 11.2) with the latest testcase and pre-compiled musl-cross toolchain from https://e82b27f594c813a5a4ea5b07b06f16c3777c3b8c.googl

[Bug ld/17107] AVR Linker Scripts missing gnu.linkonce sections

2014-07-02 Thread gjl at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17107 Georg-Johann Lay changed: What|Removed |Added Target||avr Priority|P2

[Bug binutils/17094] bfd fails to parse ELF objects made with gas

2014-07-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17094 Alan Modra changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug binutils/17094] bfd fails to parse ELF objects made with gas

2014-07-02 Thread andrel at cybernoia dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17094 --- Comment #5 from Andre Landwehr --- It seems that explicitly casting the result of bfd_set_section_alignment() and the other macros that have that ",TRUE" section to void calms down the compiler -- You are receiving this mail because: You

[Bug binutils/17094] bfd fails to parse ELF objects made with gas

2014-07-02 Thread andrel at cybernoia dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17094 --- Comment #4 from Andre Landwehr --- ahhh ok I see, I removed the ",TRUE" part of the statement in an earlier st ep because of this compilation error: gcc -DHAVE_CONFIG_H -I. -I. -I. -I../bfd -I./config -I./../include -I./.. -I./../

[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-07-02 Thread maillist-gdb at barfooze dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=16698 --- Comment #17 from maillist-gdb at barfooze dot de --- the "host" (i.e. the machine the compiler runs on) is x86_64-unknown-linux-gnu (sabotage linux using musl libc). binutils 2.24 was built with these flags: --target=arm-linux-musleabi an

[Bug binutils/17094] bfd fails to parse ELF objects made with gas

2014-07-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17094 --- Comment #3 from Alan Modra --- >From binutils-2.24 bfd/bfd-in2.h: #define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE) How can that possibly be zero? Ditto for the current binutils inline function. -

[Bug binutils/16698] BFD (GNU Binutils) 2.24 assertion fail elf32-arm.c:12387

2014-07-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=16698 --- Comment #16 from Nick Clifton --- ... and yet the testcase compiles and links without any problems: % make arm-linux-gnueabi-gcc -std=c99 -nostdinc -ffreestanding -g -fno-stack-protector -c -o libc/__libc_start_main.o libc/__libc_start_

[Bug binutils/17094] bfd fails to parse ELF objects made with gas

2014-07-02 Thread andrel at cybernoia dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=17094 --- Comment #2 from Andre Landwehr --- It does not fail, but it (correctly) returns 0. And when it does, _bfd_make_section_from_shdr() returns FALSE, which is the problem. Sorry for the unclear wording. -- You are receiving this mail becaus

[Bug ld/17107] AVR Linker Scripts missing gnu.linkonce sections

2014-07-02 Thread allsey87 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17107 --- Comment #2 from allsey87 at gmail dot com --- Created attachment 7674 --> https://sourceware.org/bugzilla/attachment.cgi?id=7674&action=edit Test case Test case including source code, output assembly and map file. Test case includes a si

[Bug ld/17107] AVR Linker Scripts missing gnu.linkonce sections

2014-07-02 Thread allsey87 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17107 --- Comment #1 from allsey87 at gmail dot com --- Created attachment 7673 --> https://sourceware.org/bugzilla/attachment.cgi?id=7673&action=edit Log from the configure script for GCC/BINUTILS -- You are receiving this mail because: You are

[Bug ld/17107] New: AVR Linker Scripts missing gnu.linkonce sections

2014-07-02 Thread allsey87 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=17107 Bug ID: 17107 Summary: AVR Linker Scripts missing gnu.linkonce sections Product: binutils Version: 2.24 Status: NEW Severity: normal Priority: P2 Component: l