Summary: | sys-devel/llvm-3.7.0-r1 fails to build on armv5: Error: selected processor does not support ARM mode ... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Markus Meier <maekke> |
Component: | Current packages | Assignee: | Bernard Cafarelli <voyageur> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | Keywords: | REGRESSION |
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | llvm-3.7.0-r1.tar.bz2 |
Description
Markus Meier
2015-10-10 08:27:21 UTC
Created attachment 414240 [details]
llvm-3.7.0-r1.tar.bz2
Hmm, the guilty file has not changed for a while: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/adddf3vfp.S (compiler-rt 3.6 and 3.7 have the same version) So I suppose the build system change to cmake has changed the compilation options? There are two arches in the compile line, "-march=armv5te" and "-march=armv7-a". Is this a case where the cmake files only check for newer arm? OK, the arm handling in compiler-rt looks pretty basic in cmake build: https://github.com/llvm-mirror/compiler-rt/blob/master/cmake/config-ix.cmake#L210 Does it work after dropping these 3 if tests? (In reply to Bernard Cafarelli from comment #3) > OK, the arm handling in compiler-rt looks pretty basic in cmake build: > https://github.com/llvm-mirror/compiler-rt/blob/master/cmake/config-ix. > cmake#L210 > > Does it work after dropping these 3 if tests? yes this helps! Thanks, these are now removed in 3.7.0-r2! |