bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27206] New: .symver overrides .weak


From: tkacvins at gmail dot com
Subject: [Bug binutils/27206] New: .symver overrides .weak
Date: Tue, 19 Jan 2021 17:38:10 +0000

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

            Bug ID: 27206
           Summary: .symver overrides .weak
           Product: binutils
           Version: 2.36
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tkacvins at gmail dot com
  Target Milestone: ---

Created attachment 13134
  --> https://sourceware.org/bugzilla/attachment.cgi?id=13134&action=edit
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'

I am not sure if .symver is supposed to override .weak, or vice versa.  IF the
latter, it would appears to me that this is a bug in binutils.

Regards,

Tom

-- 
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]