[Bug ld/27500] --gc-sections with groups and start/stop syms

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27500 Alan Modra changed: What|Removed |Added Target Milestone|--- |2.37 Resolution|---

[Bug binutils/27493] objcopy --weaken-symbol does not weaken undefined symbols

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27493 Alan Modra changed: What|Removed |Added Assignee|unassigned at sourceware dot org |amodra at gmail dot com

[Bug binutils/27493] objcopy --weaken-symbol does not weaken undefined symbols

2021-03-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27493 --- 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=fd5c076a06d88dc53e56a17d43ea4ad5e27515a0 commit fd5c076a06d88dc53e56a17d43ea4

[Bug ld/27500] --gc-sections with groups and start/stop syms

2021-03-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27500 --- Comment #2 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=5789f845fbf67d271e0f5ff154eb03319b551211 commit 5789f845fbf67d271e0f5ff154eb0

[Bug ld/27495] -z start_stop_gc isn't compatible with static glibc

2021-03-02 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 --- Comment #9 from Fangrui Song --- (In reply to H.J. Lu from comment #8) > (In reply to Alan Modra from comment #7) > > > > It is true that --start-stop-gc may break linking with current static glibc, > > a fact that limits --start-stop-gc

[Bug binutils/27505] New: Mr-yycis

2021-03-02 Thread evanou at ourhealthministry dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27505 Bug ID: 27505 Summary: Mr-yycis Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assigne

[Bug binutils/27503] New: Mr-yycis

2021-03-02 Thread evanou at ourhealthministry dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27503 Bug ID: 27503 Summary: Mr-yycis Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assigne

[Bug ld/27495] -z start_stop_gc isn't compatible with static glibc

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 --- Comment #8 from H.J. Lu --- (In reply to Alan Modra from comment #7) > > It is true that --start-stop-gc may break linking with current static glibc, > a fact that limits --start-stop-gc usefulness. > > BTW, this testcase also shows an i

[Bug ld/27500] --gc-sections with groups and start/stop syms

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27500 Alan Modra changed: What|Removed |Added Assignee|unassigned at sourceware dot org |amodra at gmail dot com

[Bug ld/27500] New: --gc-sections with groups and start/stop syms

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27500 Bug ID: 27500 Summary: --gc-sections with groups and start/stop syms Product: binutils Version: 2.37 (HEAD) Status: NEW Severity: normal Priority: P2 Componen

[Bug ld/27495] -z start_stop_gc isn't compatible with static glibc

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 Alan Modra changed: What|Removed |Added Summary|-z start_stop_gc isn't |-z start_stop_gc isn't

[Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 --- Comment #6 from H.J. Lu --- (In reply to Alan Modra from comment #5) > (In reply to H.J. Lu from comment #2) > > So this option generates broken outputs by design. > Not at all. The option turns off some linker garbage collection magic in

[Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 --- Comment #5 from Alan Modra --- (In reply to H.J. Lu from comment #2) > So this option generates broken outputs by design. Not at all. The option turns off some linker garbage collection magic in cases where you do not want that magic. Sa

[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27491 --- Comment #4 from H.J. Lu --- (In reply to Fangrui Song from comment #3) > > I don't know what happened to the 2010-01 patch. It likely did not let > __start_ reference retain magic sections in other translation unit (in > metadata section u

[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object

2021-03-02 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=27491 --- Comment #3 from Fangrui Song --- (In reply to H.J. Lu from comment #2) > -z start-stop-gc is a bad idea. LLVM should use __gc_start/__gc_stop. I think the history is: * In 2006-10, [BZ3400](https://sourceware.org/bugzilla/show_bug.cgi?i

[Bug libctf/27482] parallel make -j 16 install falls over in 2.36

2021-03-02 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27482 Nick Alcock changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #2 from Nick Alcock

[Bug libctf/27482] parallel make -j 16 install falls over in 2.36

2021-03-02 Thread nick.alcock at oracle dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27482 Nick Alcock changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

Re: GNU strip fails to set sh_link and sh_info on Solaris SPARC64

2021-03-02 Thread Nick Clifton
Hi Libor, Unfortunately the above code does not work for the following reasons: - sections are already created in that point of code - symbol filtering requires output sections to be created - cannot find bfd_remove_section function that could handle it However, this code removes the section

Re: GNU strip fails to set sh_link and sh_info on Solaris SPARC64

2021-03-02 Thread Nick Clifton
Hi Libor, Patch approved - please apply. thank you for your approval. How can I obtain a write permission to binutils repository? Ah right. First of all do you have a FSF Copyright assignment for the binutils ? I assume, based upon your email address, that you are working for Oracle and t

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 Nick Clifton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 --- Comment #7 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=ca8f6bc629cb27792ce449e7253c74a3f6f75fda commit ca8f6bc629cb27792ce449e7253

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 Nick Clifton changed: What|Removed |Added Assignee|unassigned at sourceware dot org |nickc at redhat dot com

[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27491 H.J. Lu changed: What|Removed |Added Depends on||27495 Referenced Bugs: https://sourceware

[Bug ld/27495] -z start_stop_gc isn't compatible with --gc-sections

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27495 H.J. Lu changed: What|Removed |Added Blocks||27491 Referenced Bugs: https://sourceware

[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object

2021-03-02 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27491 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com Stat

[Bug binutils/27478] [readelf] warning about missing section in separate debug info file

2021-03-02 Thread vries at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27478 --- Comment #6 from Tom de Vries --- 1.gz and 3.gz produced like this: ... $ gcc ~/hello.c -g $ cp a.out 1; cp 1 2; ./dwz -m 3 1 2 ... Reproduce: ... $ readelf --string-dump=.gnu_debugaltlink 1 1: Found separate debug info file: 3 String du

[Bug binutils/27478] [readelf] warning about missing section in separate debug info file

2021-03-02 Thread vries at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27478 --- Comment #5 from Tom de Vries --- Created attachment 13275 --> https://sourceware.org/bugzilla/attachment.cgi?id=13275&action=edit 3.gz -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/27478] [readelf] warning about missing section in separate debug info file

2021-03-02 Thread vries at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27478 --- Comment #4 from Tom de Vries --- Created attachment 13274 --> https://sourceware.org/bugzilla/attachment.cgi?id=13274&action=edit 1.gz -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/27478] [readelf] warning about missing section in separate debug info file

2021-03-02 Thread nickc at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27478 --- Comment #3 from Nick Clifton --- (In reply to Tom de Vries from comment #2) > It didn't. Hmmm. Please could you upload the tmp.multfile.sh/1 file ? And the "3" file as well. (If I am reading the description correctly). -- You are rece

[Bug ld/27451] ld: Provide a way to make C identifier name sections GCable under __start_/__stop_ references

2021-03-02 Thread cvs-commit at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=27451 --- Comment #4 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=b80e421f9136117389be9d96210b35b3d562d725 commit b80e421f9136117389be9d96210b3

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 --- Comment #6 from Mark Wielaard --- Comment on attachment 13273 --> https://sourceware.org/bugzilla/attachment.cgi?id=13273 object file - ICC That does look like the same issue. It also generates an DW_AT_specification with a forward refe

[Bug binutils/27484] clang++: objdump: DWARF error: could not find variable specification at offset

2021-03-02 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=27484 --- Comment #5 from Martin Liska --- Created attachment 13273 --> https://sourceware.org/bugzilla/attachment.cgi?id=13273&action=edit object file - ICC Apparently, ICC built object file suffers from the same. -- You are receiving this mai

[Bug ld/27050] [2.36 Regression] ld -no-pie not recognized anymore

2021-03-02 Thread mliska at suse dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=27050 Martin Liska changed: What|Removed |Added CC||mliska at suse dot cz -- You are rece

[Bug ld/27491] ld: relocation R_X86_64_PC32 against undefined protected symbol `__start_xx' can not be used when making a shared object

2021-03-02 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=27491 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0