> Ubuntu on ARM is softfp, right? How about testing hardfp with a > distribution like ArchLinuxArm?Yes, Ubuntu on ARM is softfp. But I already told Bill the platform I prepare to test and the testing day begins *tomorrow*, I prefer what it likes now. BTW, what if I use a cross compiler with hardfp enabled to compile LLVM first, then run it on Ubuntu/ARM? Does it achieve your goal, too? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj
On Sun, Apr 15, 2012 at 2:02 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote:> > Ubuntu on ARM is softfp, right? How about testing hardfp with a > > distribution like ArchLinuxArm? > > Yes, Ubuntu on ARM is softfp. But I already told Bill the platform I > prepare > to test and the testing day begins *tomorrow*, I prefer what it likes now. > BTW, > what if I use a cross compiler with hardfp enabled to compile LLVM first, > then > run it on Ubuntu/ARM? Does it achieve your goal, too? >No problem, I was just making a suggestion to improve test coverage. :) If you compile with hardfp and run on Ubuntu, the binary will probably not run at all due to ABI differences. I'm not an ARM expert though, so take whatever I say with a grain of salt. I've tried using LLVM natively on a PandaBoard with ArchLinuxARM, but I could never get Clang to finish building because ld kept running out of memory. :) It hasn't been important enough for me yet to set up a cross-compiler.> > Regards, > chenwj > > -- > Wei-Ren Chen (陳韋任) > Computer Systems Lab, Institute of Information Science, > Academia Sinica, Taiwan (R.O.C.) > Tel:886-2-2788-3799 #1667 > Homepage: http://people.cs.nctu.edu.tw/~chenwj >-- Thanks, Justin Holewinski -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120415/38060ff0/attachment.html>
> If you compile with hardfp and run on Ubuntu, the binary will probably not > run at all due to ABI differences. I'm not an ARM expert though, so take > whatever I say with a grain of salt.It depends on what they will call. C standard library function calls are fine regardless of FP ABI. Everything else will be different, yes. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Depends on wether you take the softfloat or the hardfloat version. (I personally use hf) 2012/4/15 陳韋任 <chenwj at iis.sinica.edu.tw>> > Ubuntu on ARM is softfp, right? How about testing hardfp with a > > distribution like ArchLinuxArm? > > Yes, Ubuntu on ARM is softfp. >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120417/3a1ce729/attachment.html>