[U-Boot] Recommended SH toolchain

Vasili Galka vvv444 at gmail.com
Thu Aug 21 13:07:12 CEST 2014


Hi Nobuhiro,

I'm trying to verify the correct build of all SH boards in U-Boot. What is
the recommended toolchain to use?

I tried the one from kernel.org [1], but it does not work for all the boards,
I get build errors like this one:

Building rsk7203 board...
sh4-linux-gcc: error: command line option '-m3e' is not supported by
this configuration
sh4-linux-gcc: error: command line option '-m3e' is not supported by
this configuration
make[3]: *** [include/autoconf.mk] Error 1
make[3]: *** [include/autoconf.mk.dep] Error 1
make[2]: *** [silentoldconfig] Error 1
make: *** [sub-make] Error 2
sh4-linux-size: '/home/lab/dev/u-boot/out/all_sh/u-boot': No such file
sh4-linux-gcc: error: command line option '-m3e' is not supported by
this configuration
sh4-linux-gcc: error: command line option '-m3e' is not supported by
this configuration
make[3]: *** [include/autoconf.mk] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [include/autoconf.mk.dep] Error 1
'make -f /home/lab/dev/u-boot/scripts/Makefile.autoconf obj=include
include/autoconf.mk include/autoconf.mk.dep' Failed
make[2]: *** [silentoldconfig] Error 1
make[1]: *** No rule to make target `include/config/auto.conf', needed
by `include/config/uboot.release'.  Stop.
make: *** [sub-make] Error 2

I'll appreciate your help.

[1] https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/

Regards,
Vasili


More information about the U-Boot mailing list