Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710786 - sys-libs/compiler-rt is not implemented for armeb
Summary: sys-libs/compiler-rt is not implemented for armeb
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo ARM Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-25 15:24 UTC by Andrew Aladjev
Modified: 2020-05-01 04:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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