bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27206] .symver overrides .weak


From: hjl.tools at gmail dot com
Subject: [Bug binutils/27206] .symver overrides .weak
Date: Tue, 19 Jan 2021 18:24:06 +0000

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

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |3351

--- Comment #1 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Tom Kacvinsky from comment #0)
> Created attachment 13134 [details]
> Reproducer code
> 
> The attached code, when built with
> 
>  gcc -fPIC -o thread.so -shared thread.c
> 
> (using GCC 8.3.0 and binutils 2.36) produces the following error:
> 
> ld: thread.so: no symbol version section for versioned symbol
> `pthread_key_create@GLIBC_2.2.5'

This linker message is due to PR 3351.


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=3351
[Bug 3351] aborting at elflink.c line 6778 in elf_link_check_versioned_symbol
-- 
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]