On Thu, Nov 10, 2011, Chung-Lin Tang wrote:
> I'd assume the Ubuntu-packaged toolchain probably doesn't have a ARMv5
> multilib? You could either expand the toolchain configuration and
> rebuild, or more simply, use a CodeSourcery toolchain. Our default
> multilib is ARMv5TE.

 Sorry, I didn't make my goal very clear: I'd like to prevent other
 people from hitting this problem.  I know what the problem is about
 now, but I'd have preferred for the build to fail at some stage rather
 than for the build to succeed and for me to run an ARMv7 binary on an
 ARMv5 (virtual) board.  (It wasn't easy to spot that the problem came
 from libgcc.)

 If there was a way to fail the build when ARMv5 is requested but only
 ARMv7 is available that'd be ideal.

 (Indeed, Ubuntu prepackaged Linaro-based cross-toolchains don't offer
 multilib; that'd be hard in this context.)

-- 
Loïc Minier

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to