[PATCH 5/5] ARM: highbank: fix Thumb build

Lucas Stach l.stach at pengutronix.de
Wed Mar 11 02:54:50 PDT 2015


Am Mittwoch, den 11.03.2015, 09:38 +0100 schrieb Sascha Hauer:
> On Tue, Mar 10, 2015 at 08:59:08PM +0100, Lucas Stach wrote:
> > Note: this only fixes the build failure, I haven't actually tested
> > if it works.
> > 
> > Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
> > ---
> >  arch/arm/mach-highbank/smc.S | 1 +
> >  1 file changed, 1 insertion(+)
> 
> Applied all but this one.
> 
> Could you tell us more about the build failure? It builds fine here with
> thumb2 enabled.
> 
The failure is this one:
Error: selected processor does not support Thumb mode `smc #0' 

Now looking at this again it may not only hit the Thumb build, but also
normal ARM mode builds. The check that is triggered here was only later
introduced into binutils, I can't really point at a specific version
though.

So you may not see this error depending on your toolchain version.

Regards,
Lucas
-- 
Pengutronix e.K.             | Lucas Stach                 |
Industrial Linux Solutions   | http://www.pengutronix.de/  |




More information about the barebox mailing list