bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14512] New: -z nodelete should be default for shared libraries


From: bugdal at aerifal dot cx
Subject: [Bug ld/14512] New: -z nodelete should be default for shared libraries
Date: Thu, 23 Aug 2012 12:37:57 +0000

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

             Bug #: 14512
           Summary: -z nodelete should be default for shared libraries
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden
    Classification: Unclassified


See glibc bug #14511:

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

If this can't/won't be fixed at the dynamic linker level, it should be fixed in
binutils. Relying on every library, which might not even be intended for use
with dlopen but might get loaded implicitly as a dependency of a dlopened
library, is unsafe and unpractical; it leads to obscure crash bugs that may
only arise for certain configurations of the underlying dependencies of a
library. Since unloading a library is unsafe by default unless it was
explicitly designed to be unloadable, -z nodelete should be the default option
and -z delete should be needed to override it and specify that a .so being
generated is intended for use as an unloadable plugin.

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