[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: |
chigot at adacore 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: |
Fri, 10 Jun 2022 08:00:20 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25713
Clément Chigot <chigot at adacore dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chigot at adacore dot com
--- Comment #59 from Clément Chigot <chigot at adacore dot com> ---
Created attachment 14140
--> https://sourceware.org/bugzilla/attachment.cgi?id=14140&action=edit
0001-bfd-handle-codepage-when-opening-files-on-MinGW.patch
And I'm going to reopening it again. Sorry guys !
The hardcoded CP_UTF8 is triggering problems on our GNAT compiler. If you're
not using UTF-8, you might end up generating wrong filenames.
Looking a bit around it seems that MinGW is using "___lc_codepage_func" in
order to retrieve the current codepage before calling "MultiByteToWideChar".
I've tried on my VMs, it's looking fine in most of the case. However, I can't
ensure that this is the best solution.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/25713] Linker(ld.exe) runs in Windows unable to find file if path length is more than 260 characters.,
chigot at adacore dot com <=