Bug 1304605 - compiler-rt has wrong install path for static libraries and blacklist files
Summary: compiler-rt has wrong install path for static libraries and blacklist files
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: compiler-rt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dave Airlie
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-04 07:12 UTC by Keyue Hu
Modified: 2016-02-05 05:16 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-05 05:16:18 UTC
Type: Bug


Attachments (Terms of Use)
patch for fixing this issue (1.09 KB, patch)
2016-02-04 07:12 UTC, Keyue Hu
no flags Details | Diff

Description Keyue Hu 2016-02-04 07:12:53 UTC
Created attachment 1121034 [details]
patch for fixing this issue

Description of problem: clang is unable to find sanitize libraries in compiler-rt. and compiler-rt is totally unusable.



Version-Release number of selected component (if applicable): all


How reproducible: install clang and compiler-rt. clang is unable to find sanitize libraries in compiler-rt.


Steps to Reproduce:
1. echo 'int main() {}' > main.c
2. clang main.c -fsanitize=address (not found /usr/bin/../lib64/clang/3.7.1/lib)
3. strace clang main.c -fsanitize=address|& grep blacklist

Actual results:

1. ok

2. /usr/bin/ld: /usr/bin/../lib64/clang/3.7.1/lib/linux/libclang_rt.asan-x86_64.a: No such file: No such file or directory
clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)

3. ENOENT on /usr/bin/../lib64/clang/3.7.1/asan_blacklist.txt


Expected results:

1. ok

2. no error

3. access returns 0 and open returns valid fd


Additional info:

patch available

Comment 1 Dave Airlie 2016-02-05 05:16:18 UTC
Thanks, I've pushed this patch and kicked off a new build.


Note You need to log in before you can comment on or make changes to this bug.