[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:

[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=7673action=edit Log from the configure script for GCC/BINUTILS -- You are receiving this mail because: You are

[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=7674action=edit Test case Test case including source code, output assembly and map file. Test case includes a

[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 andrel at cybernoia dot de --- 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

[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 nickc at redhat dot com --- ... 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

[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 amodra at gmail dot com --- 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

[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 and

[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 andrel at cybernoia dot de --- 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

[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 andrel at cybernoia dot de --- 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

[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 amodra at gmail dot com changed: What|Removed |Added Status|NEW |RESOLVED

[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 gjl at gcc dot gnu.org changed: What|Removed |Added Target||avr

[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

[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