[llvmlinux] ARM -mfpu=-softvfp+vfp

Renato Golin renato.golin at linaro.org
Wed Feb 19 11:18:35 UTC 2014


Folks,

Following bug:

http://llvm.org/bugs/show_bug.cgi?id=18689

I think the fix for the second problem (softvfp) is *also* to change
the compilation flags.

The rationale is in Bernie's email:

http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140217/099354.html

Mainly that "softvfp+vfp" is ambiguous in many different ways and
implementing it would be promoting differences between the compilers,
rather than bringing them back together.

Also, we need first to ask what do GAS need to know about the PCS? Is
this just something that unknowingly got in for the Android build?
Does that flag really needs to be passed in that way, or can it be
just -Wa,-mfpu=vfp + -mfloat-abi=softfp? That has the same behaviour
on the compiler and is supported by both LLVM and GCC.

cheers,
--renato


More information about the LLVMLinux mailing list