This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/15337] Static builds fail with --disable-hidden-plt


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

Siddhesh Poyarekar <siddhesh at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Siddhesh Poyarekar <siddhesh at redhat dot com> 2013-04-04 14:18:07 UTC ---
Fixed in master.

commit 9ac3b5047e6bbea03437d020fab9a728e123445b
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
Date:   Thu Apr 4 19:43:56 2013 +0530

    Fix static build when configured with --disable-hidden-plt

    Fixes BZ #15337.

    Static builds fail with the following warning:

   
/home/tools/glibc/glibc/nptl/../nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S:80:
    undefined reference to `__GI___pthread_unwind'

    When the source is configured with --disable-hidden-plt.  This is
    because the preprocessor conditional in cancellation.S only checks if
    the build is for SHARED, whereas hidden_def is defined appropriately
    only for a SHARED build that will have symbol versioning *and* hidden
    defs are enabled.  The last case is false here.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]