Skip to content

Commit 2b97dd5

Browse files
committed
Fix thinlto tests
Many thintlo tests were broken by a recent change to how musl accesses the current local (#26486). See #26506
1 parent 6ad8d60 commit 2b97dd5

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,7 @@ jobs:
705705
lto0.test_exceptions_allowed_uncaught
706706
lto0.test_longjmp_standalone_standalone
707707
lto0.test_embind_i64_val
708+
thinlto0.test_pthread_dlsym
708709
core3
709710
core2g.test_externref
710711
corez.test_dylink_iostream

tools/system_libs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,8 @@ class libc(MuslInternalLibrary,
10801080

10811081
def __init__(self, **kwargs):
10821082
self.non_lto_files = self.get_libcall_files()
1083+
# TODO(https://github.com/emscripten-core/emscripten/issues/26506)
1084+
self.non_lto_files.append(utils.path_from_root('system/lib/libc/musl/src/locale/uselocale.c'))
10831085
super().__init__(**kwargs)
10841086

10851087
def get_libcall_files(self):

0 commit comments

Comments
 (0)