Bug 1263834
Summary: | -fsanitize=address does not work | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sami Farin <hvtaifwkbgefbaei> |
Component: | llvm | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 24 | CC: | ajax, bos, bztdlinux, dkopecek, dmalcolm, hcorg, jv+fedora, lam, laurent.rineau__fedora, marcandre.lureau, mstahl, mwoehlke.floss, petersen, sbergman, scottt.tw, sitsofe, stefanha, thomas.moschny, tstellar, tyler.nielsen, veillard |
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: | 2017-03-16 23:43:46 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: |
Description
Sami Farin
2015-09-16 20:25:49 UTC
I can confirm this. The static library with ASAN disappeared in 3.7. Unfortunately, this is expected according to the upstream: https://llvm.org/bugs/show_bug.cgi?id=22757 We will have to switch the build system from autotools to cmake. This will be a lot of work. It was pretty broken the last time I tried (in 3.3 or something). The ASAN support is pretty important for me. But I'm not sure if I'll have time to fix this any time soon. Jan before opening this bug report, I downloaded http://llvm.org/releases/3.7.0/clang+llvm-3.7.0-x86_64-fedora22.tar.xz (and .sig) and copied the missing files to /usr/lib/clang/3.7.0/lib/linux and ASAN worked OK. ...in case someone needs ASAN ASAP. Thanks Sami, apparently copying libclang_rt.asan-x86_64.a from that archive was enough. *** Bug 1278914 has been marked as a duplicate of this bug. *** I confirm on comment #3, unpack the archive and cp ./lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.a /usr/lib/clang/3.7.0/lib/linux/ is sufficient to fix the issue until getting a package update, Daniel *** Bug 1309329 has been marked as a duplicate of this bug. *** (In F24, the relevant archives are apparently in a compiler-rt rpm now.) I hit this on F24. Shouldn't compiler-rt be a dependency of clang? This message is a reminder that Fedora 23 is nearing its end of life. Approximately 4 (four) weeks from now Fedora will stop maintaining and issuing updates for Fedora 23. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '23'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 23 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. (In reply to Stephan Bergmann from comment #7) > (In F24, the relevant archives are apparently in a compiler-rt rpm now.) While true, is it documented somewhere? Or should compiler-rt be a dependency of clang, as per comment #8? This is working now with clang-3.8.1-1.fc24. |