Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 710786

Summary: sys-libs/compiler-rt is not implemented for armeb
Product: Gentoo Linux Reporter: Andrew Aladjev <aladjev.andrew>
Component: Current packagesAssignee: Gentoo ARM Porters <arm>
Status: UNCONFIRMED ---    
Severity: normal CC: aladjev.andrew, jstein, llvm, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrew Aladjev 2020-02-25 15:24:53 UTC
Please see the following files:

1. https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/CMakeLists.txt#L371
2. https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/builtins/arm/aeabi_cdcmp.S#L11-L13

Today "compiler-rt" component from "llvm" is not implemented for "armeb". I've received the following error while trying to build "sys-libs/compiler-rt" for "armeb-unknown-linux-gnueabi":

/var/tmp/portage/sys-libs/compiler-rt-9.0.1/work/compiler-rt/lib/builtins/arm/aeabi_cfcmp.S:12:2:
error: big endian support not implemented

I've found no way to disable assembler and use some c code instead. So please mask "sys-libs/compiler-rt" and "sys-libs/compiler-rt-sanitizers" for "armeb". It will force armeb users to disable "sanitize" use for "clang".


Reproducible: Always
Comment 1 Andrew Aladjev 2020-02-25 15:33:38 UTC
#https://bugs.gentoo.org/710786
sys-devel/clang -static-analyzer
sys-devel/clang-runtime -compiler-rt -sanitize

for armeb