Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix correctness_float16_t for ASAN builds #7687

Merged
merged 1 commit into from
Jul 18, 2023
Merged

Conversation

steven-johnson
Copy link
Contributor

This appears to be a glitch that has to do with changing ABI for float16 across versions of GCC; we build LLVM with gcc-9 on Linux, but the float16 ABI got changed (and unified in gcc12); since ASAN builds use Clang even on linux, there is a hiccup here.

This is an ugly monkey-patch to work around this issue.

This appears to be a glitch that has to do with changing ABI for float16 across versions of GCC; we build LLVM with gcc-9 on Linux, but the float16 ABI got changed (and unified in gcc12); since ASAN builds use Clang even on linux, there is a hiccup here.

This is an ugly monkey-patch to work around this issue.
@steven-johnson
Copy link
Contributor Author

ASAN is reporting a lot of leaks that need to be tracked down (https://buildbot.halide-lang.org/master/#/builders/146/builds/11) but that should probably be handled separately, landing

@steven-johnson steven-johnson merged commit 4ba0d8b into main Jul 18, 2023
@steven-johnson steven-johnson deleted the srj/float16-asan branch July 18, 2023 16:03
steven-johnson added a commit that referenced this pull request Jul 18, 2023
ardier pushed a commit to ardier/Halide-mutation that referenced this pull request Mar 3, 2024
This appears to be a glitch that has to do with changing ABI for float16 across versions of GCC; we build LLVM with gcc-9 on Linux, but the float16 ABI got changed (and unified in gcc12); since ASAN builds use Clang even on linux, there is a hiccup here.

This is an ugly monkey-patch to work around this issue.
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.

2 participants