[U-Boot] [PATCH] arm: Make gcc 6.0 or later a hard requirement now.
Heiko Schocher
hs at denx.de
Tue Dec 5 06:53:04 UTC 2017
Hello Tom,
Am 04.12.2017 um 20:09 schrieb Tom Rini:
> On Mon, Dec 04, 2017 at 12:02:20PM -0700, Stephen Warren wrote:
>> On 12/02/2017 06:12 PM, Tom Rini wrote:
>>> Move the warning to an error as we have been promising would happen in
>>> this release.
>>
>> Oh. This has broken my U-Boot build/test system. I guess it's entirely my
>> fault for interpreting the "2018.01" warning as "you'll need to fix this in
>> Jan 2018", not "you'll need to fix this as soon as development starts for
>> 2018.01":-(
>
> I'm tagging v2018.01-rc1 later today, so I think this is about the time
> to enforce the warning.
>
>> Is there a reason for requiring such an extremely new gcc, as opposed to
>> simply something not ancient? For example, no LTS version of Ubuntu packages
>> a compiler that's new enough to build U-Boot now:-(
>
> There's always the Free Electrons toolchains, as well as Linaro. And
> yes, we've been having size problems and having to play various games to
Yes, I have the AT91 based smartweb board, for which the SPL have to fit
into 4k sram (is in my weekly tbot builds).
> allow for older gcc versions to still fit things in. GCC-6 is where
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54303 was resolved and we
> get a lot of space saved, and a number of platforms simply won't work
> with older.
Just looked at:
http://toolchains.free-electrons.com/
for example the stable toolchains for arm are gcc 5.4.0 based.
Ok, there is the "bleeding-edge" ... gcc 7.2.0 based...
Hmm.. linaro has 7.2.0 in its latest release ... so, currently only
linaro toolchain can be used for compiling U-Boot ?
setup the tbot tests with linaro toolchain:
https://releases.linaro.org/components/toolchain/binaries/7.2-2017.11/arm-linux-gnueabi/
Ok, build for corvus board works, see:
http://xeidos.ddns.net/tests/test_db_auslesen.php#528
but for the smartweb board I get:
LD spl/drivers/built-in.o
LD spl/u-boot-spl
arm-linux-gnueabi-ld.bfd: u-boot-spl section `.u_boot_list' will not fit in region `.sram'
arm-linux-gnueabi-ld.bfd: region `.sram' overflowed by 16 bytes
make[1]: *** [scripts/Makefile.spl:343: spl/u-boot-spl] Error 1
make: *** [Makefile:1394: spl/u-boot-spl] Error 2
hs at pollux [ 7:48:49] ttbott>
:-(
Full log:
http://xeidos.ddns.net/tbot/id_529/tbot.txt
This build worked last week with gcc 4.9.2, see
http://xeidos.ddns.net/tbot/id_515/tbot.txt
bye,
Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs at denx.de
More information about the U-Boot
mailing list