bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/26391] Question regarding duplicate symbols


From: glaubitz at physik dot fu-berlin.de
Subject: [Bug ld/26391] Question regarding duplicate symbols
Date: Wed, 15 Dec 2021 20:01:56 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=26391

--- Comment #11 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
(In reply to John Paul Adrian Glaubitz from comment #10)
> It seems that this test is failing on sparc64:
> 
> FAIL: Run pr26391-5
> FAIL: Run pr26391-6
> 
> See:
> https://buildd.debian.org/status/fetch.php?pkg=binutils&arch=sparc64&ver=2.
> 37-10&stamp=1637614637&raw=0

I have verified that this commit introduced the regression on sparc64:

496afd17055aeb7d8f45e01715c475664f2b73bd is the first bad commit
commit 496afd17055aeb7d8f45e01715c475664f2b73bd
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sat Sep 12 05:37:30 2020 -0700

    elf: Add -z unique-symbol to avoid duplicated local symbol names

    The symbol string table in the .symtab section is optional and cosmetic.
    The contents of the .symtab section have no impact on run-time execution.
    The symbol names in the symbol string table help distinguish addresses at
    different locations.  Add a linker option, -z unique-symbol, to avoid
    duplicated local symbol names in the symbol string table.

    This feature was well received by the livepatch maintainers.  It not only
    solves the duplicated local symbol name problem, but also would allow
    livepatch to more precisely locate duplicate symbols in general for
    patching.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]