bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/18992] Linking a library implicitly using relative DT_RPATH does


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/18992] Linking a library implicitly using relative DT_RPATH does not work
Date: Thu, 24 Sep 2015 13:39:01 +0000

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

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3074964fcfff45aef4584b84550eeef84f902fc4

commit 3074964fcfff45aef4584b84550eeef84f902fc4
Author: Alan Modra <address@hidden>
Date:   Thu Sep 24 13:13:57 2015 +0930

    Relative DT_RPATH/DT_RUNPATH vs. sysroot capable ld.

    This fixes two problems.  First, the --sysroot option wasn't available
    with a ld configured without --with-sysroot, a historical accident.
    This led to people configuring binutils with --with-sysroot=/ in order
    to enable sysroot support, which exposes a case where ld wrongly
    prepends the sysroot to a relative path.

        PR ld/18992
        * ldmain.c (main): Always enable --sysroot.
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
        prepend sysroot to relative rpath/runpath.

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