Skip to contentSkip to conversation

via_imx6_vab820_defconfig fails to build

Buildroot Thomas Petazzoni 3 participants 3 messages Nov 5, 2016 – Dec 21, 2016

lore
Share & tools
lore
#0 lore raw

Hello Gergely,

Last year, you contributed the via_imx6_vab820_defconfig to Buildroot to add support for this HW platform from VIA.

Unfortunately, this defconfig no longer builds, because the U-Boot version used is too old to build with gcc 5.x.

If you still have access to this HW platform, could you submit a patch that updates the defconfig to use a newer U-Boot version, which builds properly with gcc 5.x ?

See
http://free-electrons.com/~thomas/pub/buildroot-defconfigs/via_imx6_vab820_defconfig.log.FAIL
for the full build log.

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#1 lore raw

Hi Thomas,

Sure thing, I still have some access to the platform. I'll check out the build failure and send a patch when fixed.

Cheers,
Gergely

Quoted 17 lines · Thomas Petazzoni

Hello Gergely,

Last year, you contributed the via_imx6_vab820_defconfig to Buildroot to add support for this HW platform from VIA.

Unfortunately, this defconfig no longer builds, because the U-Boot version used is too old to build with gcc 5.x.

If you still have access to this HW platform, could you submit a patch that updates the defconfig to use a newer U-Boot version, which builds properly with gcc 5.x ?

See
http://free-electrons.com/~thomas/pub/buildroot-
defconfigs/via_imx6_vab820_defconfig.log.FAIL
for the full build log.

Quoted 8 lines

Thanks a lot!

Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20161108/d302a358/attachment.html>

#2 lore raw

Hi,

Quoted 2 lines

Sure thing, I still have some access to the platform. I'll check out the build failure and send a patch when fixed.

Any news on this? You need to move to kernel 3.18+ for compatibility with gcc5.x or alternatively backport this commit (and any dependencies):

commit 71458cfc782eafe4b27656e078d379a34e472adf

Author: Sasha Levin <[email protected]>
Date:   Mon Oct 13 15:51:05 2014 -0700

kernel: add support for gcc 5

We're missing include/linux/compiler-gcc5.h which is required now because gcc branched off to v5 in trunk.

Just copy the relevant bits out of include/linux/compiler-gcc4.h, no new code is added as of now.

This fixes a build error when using gcc 5.

Do you think you will manage to fix the build issue before the end of January or should we remove the defconfig?

Signature · 1 line
Bye, Peter Korsgaard