[Bug gold/18147] gold should not issue relocation overflow error with --unresolved-symbols=ignore-all

2015-03-20 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18147 --- Comment #3 from Alan Modra --- Here is my thinking, FWIW. What is the value of an undefined symbol? Why should a branch to zero not report an overflow, if there is indeed an overflow? Try linking the same testcase on x86_64, but with -T

[Bug gold/18147] gold should not issue relocation overflow error with --unresolved-symbols=ignore-all

2015-03-20 Thread ian at airs dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18147 --- Comment #4 from Ian Lance Taylor --- We already explicitly do not report relocation errors for weak undefined symbols. That's because in those cases the relocation overflow is not important. And Cary is right: for any sort of undefined s

Warnings when compiling Binutils 2.25 on MinGW

2015-03-20 Thread Eli Zaretskii
For these 3 warnings I already suggested a patch: mingw32-gcc -c -DHAVE_CONFIG_H -Og -g3 -D__USE_MINGW_ACCESS -I. -I../../binutils-2.25/libiberty/../include -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic ../../binutils-2.25/libiberty/strerror.c -o strerror.o In file

[Bug gold/18152] New: internal error in do_relocate_sections, at gold/reloc.cc:953

2015-03-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18152 Bug ID: 18152 Summary: internal error in do_relocate_sections, at gold/reloc.cc:953 Product: binutils Version: 2.26 (HEAD) Status: NEW Severity: normal

[Bug gold/18152] [2.26 Regression] internal error in do_relocate_sections, at gold/reloc.cc:953

2015-03-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18152 H.J. Lu changed: What|Removed |Added Summary|internal error in |[2.26 Regression] internal

[Bug gold/18152] [2.26 Regression] internal error in do_relocate_sections, at gold/reloc.cc:953

2015-03-20 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18152 H.J. Lu changed: What|Removed |Added Target Milestone|--- |2.26 --- Comment #2 from H.J. Lu --- It wa

[Bug gold/18152] [2.26 Regression] internal error in do_relocate_sections, at gold/reloc.cc:953

2015-03-20 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18152 Rafael Ávila de Espíndola cha nged: What|Removed |Added CC||rafael.espindola at

[Bug gold/18152] [2.26 Regression] internal error in do_relocate_sections, at gold/reloc.cc:953

2015-03-20 Thread rafael.espindola at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18152 --- Comment #3 from Rafael Ávila de Espíndola --- Created attachment 8201 --> https://sourceware.org/bugzilla/attachment.cgi?id=8201&action=edit self contained testcase This crashes: $ ld-new -shared -o foo.so -plugin ./LLVMgold.so