ac1c781149
ICU build scripting adds some host libraries to LD_LIBRARY_PATH by using constructs of the following form: LD_LIBRARY_PATH="custom-path:${LD_LIBRARY_PATH}" If the original LD_LIBRARY_PATH is empty, this causes the last search directory be an empty string, i.e. the working directory. ICU build runs some basic host commands (e.g. "rm") in $(TARGET_DIR)/lib under such an LD_LIBRARY_PATH, causing target libraries (e.g. libc) to possibly get loaded instead of host system libraries if they are compatible enough (e.g. arch matches). Since the target libraries may not actually be ABI compatible with host system binaries (e.g. target has an old libc), this can cause crashes or other errors. Observed errors include: (1) rm: libc.so.6: version `GLIBC_2.33' not found (required by rm) (2) sh: line 1: 1362670 Segmentation fault (core dumped) rm -f libicudata.so.65 Workaround the issue by setting a dummy LD_LIBRARY_PATH when it would otherwise be empty. https://unicode-org.atlassian.net/browse/ICU-21417 Signed-off-by: Anssi Hannula <anssi.hannula@bitwise.fi> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> |
||
---|---|---|
.. | ||
0001-dont-build-static-dynamic-twice.patch | ||
0002-workaround-toolchain-bugs.patch | ||
0003-link-icudata-as-data-only.patch | ||
0004-fix-static-linking-with-icu-uc.patch | ||
0005-ICU-21587-Fix-memory-bug-w-baseName.patch | ||
Config.in | ||
icu.hash | ||
icu.mk |