FS#66648 - [clang] is missing 32bit version of memory sanitzer lib

Attached to Project: Arch Linux
Opened by shfil (shfil) - Thursday, 14 May 2020, 15:27 GMT
Last edited by Evangelos Foutras (foutrelis) - Thursday, 14 May 2020, 16:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
It less popular than other sanitizer and only available on clang, so probably was overlooked.


Additional info:
Easy way to compare with other sanitizer libs: https://www.archlinux.org/packages/extra/x86_64/compiler-rt/files/

Steps to reproduce:
Try to build something in 32bit mode with memory sanitizer:
```
/usr/sbin/ld: cannot find /usr/lib/clang/10.0.0/lib/linux/libclang_rt.msan-i386.a: No such file or directory
/usr/sbin/ld: cannot find /usr/lib/clang/10.0.0/lib/linux/libclang_rt.msan_cxx-i386.a: No such file or directory
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
```
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Thursday, 14 May 2020, 16:50 GMT
Reason for closing:  Not a bug
Comment by Evangelos Foutras (foutrelis) - Thursday, 14 May 2020, 16:50 GMT
MSan is not supported on i386.

From [1]:

"set(ALL_MSAN_SUPPORTED_ARCH ${X86_64} ${MIPS64} ${ARM64} ${PPC64} ${S390X})"

[1] https://github.com/llvm/llvm-project/blob/master/compiler-rt/cmake/config-ix.cmake

Loading...