Files
poky/meta/recipes-devtools
Jiaying Song 6d1fef08e1 binutils: File name too long causing failure to open temporary head file in dlltool
During the execution of the command: i686-w64-mingw32-dlltool
--input-def $def_filepath --output-delaylib $filepath --dllname qemu.exe
An error occurred:
i686-w64-mingw32-dlltool: failed to open temporary head file: ..._w64_mingw32_nativesdk_qemu_8_2_2_build_plugins_libqemu_plugin_api_a_h.s

Due to the path length exceeding the Linux system's file name length
limit (NAME_MAX=255), the temporary file name generated by the
i686-w64-mingw32-dlltool command becomes too long to open. To address
this, a new temporary file name prefix is generated using tmp_prefix =
prefix_encode ("d", getpid()), ensuring that the file name does not
exceed the system's length limit.

Allow for "snnnnn.o" suffix when testing against NAME_MAX, and tidy
TMP_STUB handling by overwriting a prior nnnnn.o string rather than
copying the entire name.

(From OE-Core rev: 617df4ee1d6523ded43f156af8206dfca2c0c8ee)

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2025-02-12 06:25:37 -08:00
..
2024-01-21 12:27:12 +00:00
2023-07-30 07:54:44 +01:00
2024-03-01 09:28:51 +00:00
2024-09-19 05:11:35 -07:00
2024-02-03 22:08:26 +00:00
2023-05-05 11:07:25 +01:00
2025-01-24 07:59:39 -08:00
2024-03-05 12:24:49 +00:00
2024-06-14 05:19:22 -07:00
2025-02-03 06:13:13 -08:00
2023-09-26 10:35:27 +01:00
2023-12-02 17:18:57 +00:00
2024-09-09 06:08:10 -07:00
2024-03-07 17:25:02 +00:00
2024-11-26 06:11:30 -08:00
2023-06-27 16:23:40 +01:00
2023-03-11 00:08:41 +00:00
2024-10-18 06:04:41 -07:00
2024-07-26 07:43:46 -07:00
2023-09-26 10:35:27 +01:00
2023-04-13 11:56:07 +01:00
2024-08-10 06:34:25 -07:00
2024-12-06 05:50:25 -08:00
2024-11-09 05:53:57 -08:00
2023-12-21 10:38:29 +00:00
2024-03-01 09:28:51 +00:00
2024-12-13 05:21:53 -08:00
2024-03-07 17:25:03 +00:00
2025-01-25 06:20:37 -08:00
2024-10-18 06:04:40 -07:00
2024-12-23 05:46:32 -08:00
2024-03-01 09:28:52 +00:00
2024-11-26 06:11:30 -08:00
2024-03-18 12:21:45 +00:00