[Bug ld/10489] New: rpath-link separator and windows

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug ld/10489] New: rpath-link separator and windows

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As documented the colon is a separator of paths for the rpath-link option but
this prevents i386-mingw32msvc hosed cross linkers from specifying paths with
drive letters.  Since rpath-link is only used at link time, ld could be modified
to accept a list of directories separated by the host PATH_SEPARATOR instead of
using the target's rpath separator.

AFAICT this would only effect the behavior of Windows hosted cross-linkers.

--
           Summary: rpath-link separator and windows
           Product: binutils
           Version: 2.20 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: rmansfield at qnx dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i386-mingw32msvc
GCC target triplet: i686-pc-linux-gnu


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug ld/10489] rpath-link separator and windows

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From rmansfield at qnx dot com  2009-10-21 14:25 -------
I see now that other places in the binutils handle a letter followed by a colon
as a drive specifier which is a better way of handling the rpath-link strings

Patch:

http://sourceware.org/ml/binutils/2009-10/msg00415.html




--


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug ld/10489] rpath-link separator and windows

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2009-10-23 01:21 -------
Subject: Bug 10489

CVSROOT: /cvs/src
Module name: src
Changes by: amodra@... 2009-10-23 01:21:13

Modified files:
        ld             : ChangeLog
        ld/emultempl   : elf32.em

Log message:
        PR ld/10489
        * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Handle
        drive specifiers for DOS based filesystems in rpath-link strings.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.2067&r2=1.2068
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/emultempl/elf32.em.diff?cvsroot=src&r1=1.204&r2=1.205



--


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils