[Bug binutils/22219] New: infinite loop in process_debug_info in dwarf.c in binutils 2.30(HEAD)

2017-09-27 Thread luanjunchao at 163 dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22219 Bug ID: 22219 Summary: infinite loop in process_debug_info in dwarf.c in binutils 2.30(HEAD) Product: binutils Version: 2.30 (HEAD) Status: UNCONFIRMED Sever

[Bug ld/22220] New: BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=0 Bug ID: 0 Summary: BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY Product: binutils Version: 2.28 Status: UNCONFIRMED Severity: normal

[Bug binutils/17531] readelf crashes on fuzzed samples

2017-09-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=17531 --- Comment #99 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bd6a03d6975a96802b37741a99644570e52a72b commit 6bd6a03d6975a96802b37741a996

[Bug binutils/22216] infinite loop in readelf process_symbol_table

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22216 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|amodra at gm

[Bug gold/21841] FAIL: debug_msg.sh with GCC 7

2017-09-27 Thread romain.geissler at amadeus dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=21841 --- Comment #2 from Romain Geissler --- Created attachment 10491 --> https://sourceware.org/bugzilla/attachment.cgi?id=10491&action=edit Possible workaround in the gold testsuite (not a nice one...) -- You are receiving this mail because:

[Bug binutils/22216] infinite loop in process_symbol_table in readelf.c in binutils 2.30(HEAD)

2017-09-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22216 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6bd6a03d6975a96802b37741a99644570e52a72b commit 6bd6a03d6975a96802b37741a9964

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #2 from Alan Modra --- Fixed by the patch for pr21382 -- You are receiving this mail because: You are on the CC list for the bug. ___ bug-binutils mailing list bug-binutils@gnu.org http

[Bug binutils/22219] infinite loop in process_debug_info in dwarf.c in binutils 2.30(HEAD)

2017-09-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22219 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=19485196044b2521af979f1e5c4a89bfb90fba0b commit 19485196044b2521af979f1e5c4

[Bug binutils/22219] infinite loop in process_debug_info in dwarf.c in binutils 2.30(HEAD)

2017-09-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22219 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #3 from Martin Liska --- > $ g++ lib.c -shared -fPIC -o libtest.so > $ g++ main.c -ltest -L. -flto -O2 --save-temps && grep xyz main.res > 232 a8edc87dd4d6628a PREVAILING_DEF _ZZ3goovE3xyz > I can confirm having this: ld --versi

[Bug ld/21382] --as-needed cannot be combined with -flto

2017-09-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=21382 --- Comment #7 from cvs-commit at gcc dot gnu.org --- The binutils-2_28-branch branch has been updated by Alan Modra : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b805037cf0061e86b1a71cba26fdaff52a46844d commit b805037cf0061e8

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 Alan Modra changed: What|Removed |Added Version|2.28|2.30 (HEAD) --- Comment #4 from Alan Mod

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #5 from Martin Liska --- (In reply to Alan Modra from comment #4) > Ah, yes the preprocessed file in > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82172 fails even on binutils > master. (My gcc was a little out of date, 8.0.0 201

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #6 from Alan Modra --- gold has the following static inline bool is_visible_from_outside(Symbol* lsym) { if (lsym->in_dyn()) return true; if (parameters->options().export_dynamic() || parameters->options().shared() |

[Bug gold/22221] New: add --no-dynamic-linker option

2017-09-27 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 Bug ID: 1 Summary: add --no-dynamic-linker option Product: binutils Version: 2.30 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gold

[Bug gold/22221] add --no-dynamic-linker option

2017-09-27 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #1 from Markus Trippelsdorf --- So perhaps: diff --git a/gold/layout.cc b/gold/layout.cc index 5f25faea5532..4fe4d6825223 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -2749,7 +2749,8 @@ Layout::finalize(const Input_objects*

[Bug gold/22221] add --no-dynamic-linker option

2017-09-27 Thread markus at trippelsdorf dot de
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #2 from Markus Trippelsdorf --- The following produces an static-pie executable that crashes on startup when it calls __pthread_initialize_minimal(): diff --git a/gold/gold.cc b/gold/gold.cc index a76d155f940a..a2dd31816acc 10

[Bug gas/22179] [RISCV] fmv.w.x and fmv.x.w opcodes are not recognised

2017-09-27 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=22179 --- Comment #1 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Nick Clifton : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8e43602e34ba404d82f7c74f6629f01e40c740e0 commit 8e43602e34ba404d82f7c74f662

[Bug gas/22179] [RISCV] fmv.w.x and fmv.x.w opcodes are not recognised

2017-09-27 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=22179 Nick Clifton changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #7 f

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #8 from H.J. Lu --- [hjl@gnu-efi-2 pr0]$ cat lib.v BAR { global: *; }; [hjl@gnu-efi-2 pr0]$ make g++ -B./ -flto -c -o main.o main.cc g++ -B./ -shared -o libtest.so -fPIC lib.c -Wl,--version-script,lib.v g++ -B./ -

[Bug ld/22220] BFD linker plugin wrongly marks symbols as PREVAILING_DEF_IRONLY

2017-09-27 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=0 --- Comment #9 from Alan Modra --- > The problem is _ZNSs4_Rep20_S_empty_rep_storageE@@GLIBCXX_3.4 vs > _ZNSs4_Rep20_S_empty_rep_storageE. Yes, I know what needs to be done, in _bfd_elf_merge_symbol. Last evening I took the sensible course a

[Bug gold/22221] add --no-dynamic-linker option

2017-09-27 Thread ccoutant at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=1 --- Comment #3 from Cary Coutant --- I'm not sure I understand exactly what this option is for. If "-static -pie" will produce a static-pie executable, wouldn't such an executable already lack a dynamic linker? That's (part of) what -static do