Bug#704111: clang fails to correctly implement hard float ABI during default compiles due to rediculously low default CPU setting.
peter green
plugwash at p10link.net
Thu Mar 28 05:31:12 UTC 2013
Ok I just had a discussion with adam conrad about this on IRC.
According to him clang currently does assume that armv7 means coretex a8
and that coretex a8 mean full vfpv3 and neon. There is a patch in ubuntu
precise/quantal to fix this (26-armv7-not-neon.patch) but it's a pretty
big patch and is self-described as a hideous hack. I doubt the release
team would accept such a patch at this stage. Therefore it seems the
only reasonable thing to do is to select armv6 for clang on armhf in wheezy.
He also alerted me to a patch that disables altivec by default on
powerpc since not all powerpc hardware debian supports has altivec. I
intend to include this in the proposed NMU, a copy of it is attached.
Since I now have confirmation on what clang does i'll prepare the NMU
diff in a day or two.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 28-powerpc-no-altivec.patch
Type: text/x-diff
Size: 505 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20130328/e1d5747a/attachment.patch>
More information about the Pkg-llvm-team
mailing list