Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 17, 2023

This test started failing after the compiler-rt upgrade because we started depending on the getrlimit syscall, and this test builds in -sSTRICT mode which disables ALLOW_UNIMPLEMENTED_SYSCALLS which means stub syscalls are not included.

This test started failing after the compiler-rt upgrade because we
started depending on the `getrlimit` syscall, and this test builds in
`-sSTRICT` mode which disables `ALLOW_UNIMPLEMENTED_SYSCALLS` which
means stub syscalls are not included.
@sbc100 sbc100 requested review from aheejin and dschuff November 17, 2023 20:01
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 17, 2023

Will land TBR once that tests pass to green the waterfall.

@sbc100 sbc100 merged commit 28a09f6 into emscripten-core:main Nov 17, 2023
@sbc100 sbc100 deleted the fix_asan_test branch November 17, 2023 21:08
aheejin added a commit to aheejin/emscripten that referenced this pull request Jan 6, 2026
`StackSizeIsUnlimited` in
`lib/sanitizer_common/sanitizer_posix_libcdep.cpp` was excluded from
Emscripten build along with several other methodsin emscripten-core#20740, presumably
because they call `setrlimit` and `getrlimit`. A new call to
`StackSizeIsUnlimited` was added in `lib/asan/asan_rtl.cpp` in this
version, so this excludes the call too.
aheejin added a commit that referenced this pull request Jan 10, 2026
This updates compiler-rt from 20.1.8 to LLVM 21.1.8:
https://github.com/llvm/llvm-project/releases/tag/llvmorg-21.1.8

Additional change:
- `StackSizeIsUnlimited` in
  `lib/sanitizer_common/sanitizer_posix_libcdep.cpp` was excluded from
  Emscripten build along with several other methods in #20740. A new call
  to `StackSizeIsUnlimited` was added in `lib/asan/asan_rtl.cpp` in this
  version, so this excludes the call too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant