[Top][All Lists]

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

[Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if pat

From: nickc at redhat dot com
Subject: [Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.
Date: Mon, 23 Mar 2020 15:04:56 +0000


--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Created attachment 12401
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12401&action=edit
Proposed patch

Hi Jaydeep,

  Unfortunately there is a small problem with your proposed patch.  The
libiberty library which includes the lrealpath() function is maintained by gcc,
not the binutils.  (The binutils make use of the library, but we do not own
it).  So you would need to submit half of your patch to them.  They may also
decide not to accept the patch since the intention of the lrealpath() function
is that it behaves in exactly the same way as the realpath() function.

  As an alternative, please could you try out this variation of your patch,
which moves all of the code into the _bfd_real_fopen() function.  From a visual
inspection I think that it will work, but I do not have a win32 system on which
I could test it.  If it does work, please let me know and I will check it in.


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]