Skip to contentSkip to conversation

telit_evk_pro3_defconfig fails to build

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

lore
Share & tools
lore
#0 lore raw

Hello Fabio,

Back in 2013, you contributed telit_evk_pro3_defconfig to Buildroot. Unfortunately, this defconfig no longer builds: the Linux kernel version used is too old to build with gcc 5.x.

Do you still have access to this HW platform? If so, can you contribute a patch to update the defconfig? If you're no longer interested by this platform, we can also decide to remove its defconfig.

You can see the full build log at
http://free-electrons.com/~thomas/pub/buildroot-defconfigs/telit_evk_pro3_defconfig.log.FAIL.

Thanks!

Thomas

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

2016-11-05 15:20 GMT+01:00 Thomas Petazzoni
<[email protected]>:

Quoted 6 lines

Hello Fabio,

Back in 2013, you contributed telit_evk_pro3_defconfig to Buildroot. Unfortunately, this defconfig no longer builds: the Linux kernel version used is too old to build with gcc 5.x.

Quoted 8 lines

Do you still have access to this HW platform? If so, can you contribute a patch to update the defconfig? If you're no longer interested by this platform, we can also decide to remove its defconfig.

You can see the full build log at
http://free-electrons.com/~thomas/pub/buildroot-defconfigs/telit_evk_pro3_defconfig.log.FAIL.

Thanks!

Hi Thomas,

I will try to make a patch to fix it.

Thanks

Signature · 1 line
Fabio Porcedda
#3 lore raw
In reply to Fabio Porcedda

Hi,

Quoted 5 lines
Quoted 3 lines

Back in 2013, you contributed telit_evk_pro3_defconfig to Buildroot. Unfortunately, this defconfig no longer builds: the Linux kernel version used is too old to build with gcc 5.x.

I will try to make a patch to fix it.

Any news on this? You need to update barebox and 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
#4 lore raw

2016-12-21 22:02 GMT+01:00 Peter Korsgaard <[email protected]>:

Quoted 28 lines

Hi,

Quoted 5 lines
Quoted 3 lines

Back in 2013, you contributed telit_evk_pro3_defconfig to Buildroot. Unfortunately, this defconfig no longer builds: the Linux kernel version used is too old to build with gcc 5.x.

I will try to make a patch to fix it.

Any news on this? You need to update barebox and 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.

Quoted 7 lines

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

Hi Peter,
thanks for those suggestions,

I'm working to update the barebox and kernel right now, I should be able to send a fixed version before the end of January.

I've already tried some updated kernels that support gcc 5 (3.10*, .4.1.*, 4.4.*) but they don't boot anymore, I'm working to fix it.

I've also updated barebox but i've problems with the support for the watchdog so i'm working to fix it.

Backporting the support for gcc 5 will be my last resort.

Thanks

Signature · 1 line
Fabio Porcedda
#5 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabio" == Fabio Porcedda <[email protected]> writes:

Hi,

Quoted 9 lines
Quoted 2 lines

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

Hi Peter,
thanks for those suggestions,

I'm working to update the barebox and kernel right now, I should be able to send a fixed version before the end of January.

Quoted 7 lines

I've already tried some updated kernels that support gcc 5 (3.10*, .4.1.*, 4.4.*) but they don't boot anymore, I'm working to fix it.

I've also updated barebox but i've problems with the support for the watchdog so i'm working to fix it.

Backporting the support for gcc 5 will be my last resort.

Ok, great - Thanks!

Signature · 1 line
Bye, Peter Korsgaard