- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
consider the reproducer:
///////////////////////////////////////////////////////////////////////////////////////////////////////
// Windows 10 Enterprise
//
// Microsoft Visual Studio Professional 2019
// Version 16.11.16
//
// Intel(R) oneAPI DPC++/C++ Compiler for applications running on Intel(R) 64, Version 2024.1.0 Build 20240308
// Copyright (C) 1985-2024 Intel Corporation. All rights reserved.
//
// icx failes with error: cannot make section .ASAN$GL associative with sectionless symbol ?id@?$numpunct@D@std@@2V0locale@2@A
// icx -Od -Ob0 -MD -fsanitize=address,float-divide-by-zero -fsanitize-address-use-after-scope test.cxx
// ok
// icx -Od -Ob0 -fsanitize=address,float-divide-by-zero -fsanitize-address-use-after-scope test.cxx
#include <locale>
int main() {
std::use_facet<std::numpunct<char>>(std::locale());
return 0;
}
Also consider:
https://github.com/llvm/llvm-project/issues/47294
Is there a chance that in future this error will be fixed?
So on Windows it is not possible to use address sanitizer with -MD option (runtime as dll not as static lib)
Best regards
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I can confirm that this now works with Intel oneAPI 2024.2.0, so you can close this issue.
Thank you for the fix and best regards
Frank
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I escalated your issue to our engineering team and will update when we reach a conclusion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I can confirm that this now works with Intel oneAPI 2024.2.0, so you can close this issue.
Thank you for the fix and best regards
Frank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it is fixed for 2024.2. Thanks for confirming it.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page