Bug 1335067
| Summary: | libasan linking fails with 5.3.1 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nikos Mavrogiannopoulos <nmavrogi> |
| Component: | glibc | Assignee: | Carlos O'Donell <codonell> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | arjun, codonell, dj, fweimer, jakub, law, mfabian, pfrankli, siddhesh |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-05-11 09:51:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
*** This bug has been marked as a duplicate of bug 1335011 *** |
Description of problem: libasan doesn't work after upgrading glibc to 2.22-15. I have no idea whether this is a glibc issue or a libasan issue; please reassign if needed. How to reproduce: glibc version: 2.22-15.fc23 libasan: 5.3.1-6 $ cat <<_EOF >c.c int main() { return 0; } _EOF $ gcc -fsanitize=address -g -O2 -lasan c.c && ./a.out ==27564==AddressSanitizer CHECK failed: ../../../../libsanitizer/asan/asan_rtl.cc:556 "((!asan_init_is_running && "ASan init calls itself!")) != (0)" (0x0, 0x0) <empty stack> If I downgrade glibc to 2.22-3.fc23 libasan works. $ gcc -S -fsanitize=address -g -O2 -lasan c.c;./a.out $ echo $? 0