The details are reported in upstream bugtracker: http://llvm.org/bugs/show_bug.cgi?id=8931 Reproducible: Always
Created attachment 259252 [details, diff] llvm-2.8-arm-fpu.patch I'm using the following patch for llvm-2.8 in my local overlay.
Tried to ping upstream today: http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-February/037848.html Looks like they know about the issue and are going to fix it eventually. What would be the best plan for gentoo? Does it make sense to wait for the next LLVM/clang release before considering ~arm keywording?
Created attachment 261403 [details] llvm-28. build log with FEATURES=test There are 5 unexpected failures, but most of these look like an attempt to run the test for the wrong arch. Overall, clang-2.8 is quite usable as a C compiler on ARM.
Thanks for the report and patch! Apparently your poke worked well upstream, there is a commit including this fix and some others :) http://llvm.org/viewvc/llvm-project?view=rev&revision=124995 Can you test with this patch and see how it goes on arm? If everything is fine I can add it and turn this in an ~arm keyword request
Just had a quick look. The changes from this commit do not apply cleanly to llvm-2.8 Also I don't see the addition of ".fpu" directive anywhere, so it is likely not to help for this particular problem. I'll try to use live ebuild a bit later to see what is the current status of ARM support in LLVM trunk. Thanks for notifying me about this commit.
Tried to poke them again: http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-February/038344.html Hopefully it will be more successful this time :)
Apparently it was, judging from the following mails and the matching commits. I had a few patch hunks failing when testing these, so this will probably be fixed in Gentoo tree with 2.9 (due in a few days). Leaving the bug open until 2.9 is in tree and you can confirm it fixes it :)
2.9 is in tree and should work fine, don't hesitate to reopen if needed! Keywording request is still ongoing in bug #320221
OK, thanks. This particular problem indeed should be fixed in 2.9 However clang 2.9 seems to be currently broken on ARM (fails to link anything). I'll try to see what can be done and open another bug.