bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/15107] New: Linking against GNU_UNIQUE symbol creates GNU_UNIQUE


From: fweimer at redhat dot com
Subject: [Bug ld/15107] New: Linking against GNU_UNIQUE symbol creates GNU_UNIQUE symbol without selecting GNU ABI
Date: Wed, 06 Feb 2013 18:11:15 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=15107

             Bug #: 15107
           Summary: Linking against GNU_UNIQUE symbol creates GNU_UNIQUE
                    symbol without selecting GNU ABI
           Product: binutils
           Version: 2.23
            Status: NEW
          Severity: minor
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


Created attachment 6848
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6848
unique_shared_ref.s

Instructions (as tested on Fedora 18 x86_64):

$ as unique_shared_ref.s -o unique_shared_ref.o
$ as unique_shared.s -o unique_shared.o
$ ld -shared -o unique_shared_ref.so unique_shared_ref.o
$ ld -o unique_shared_ref  unique_shared_ref.o unique_shared.so
$ readelf -s unique_shared_ref | grep UNIQ
     1: 0000000000000000     0 OBJECT  UNIQUE DEFAULT  UND b
    11: 0000000000000000     0 OBJECT  UNIQUE DEFAULT  UND b
$ readelf -h unique_shared_ref  | grep ABI
  OS/ABI:                            UNIX - System V
  ABI Version:                       0

Either the ABI should be set to GNU, or GNU_UNIQUE shouldn't be used for the
symbol reference.

See this mailing list thread:
<http://sourceware.org/ml/binutils/2013-01/msg00362.html>

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]