-
Notifications
You must be signed in to change notification settings - Fork 332
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
Link error when compiling with ASan/UBSan #233
Comments
Does this only happen with ASan enabled? |
After some investigation, I have confirmed that the issue only happens when UBSan is enabled. This seems to be a simuilar issue as in KhronosGroup/glslang#2920. The build succeeds when I add If I compile with
I am not sure wheter this is an issue in Diligent or one in glslang. |
OS: Ubuntu 22.04
Compiler: clang-15
Steps to reproduce:
mkdir build && cd build && CFLAGS=-fsanitize=address,undefined" CXXFLAGS="-fsanitize=address,undefined" LDFLAGS="-fsanitize=address,undefined" cmake -GNinja .. && ninja
Result:
The text was updated successfully, but these errors were encountered: