Skip to contentSkip to conversation

Altera socdk defconfig no longer builds

Buildroot Peter Korsgaard 2 participants 3 messages Dec 21, 2016 – Dec 22, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Back in 2015, you contributed altera_socdk_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.

https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/185616883

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.

Signature · 1 line
Bye, Peter Korsgaard
#1 lore raw
Quoted 10 lines · Peter Korsgaard

Hi,

Back in 2015, you contributed altera_socdk_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.

Quoted 6 lines

https://travis-ci.org/buildroot/buildroot-defconfig-testing/jobs/185616883

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

Thanks Peter

I still have this device in storage somewhere though I have not used it for at least 15 months.

I will try to sort out a patch sometime over the Christmas break.

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

#2 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Charles" == Charles Manning <[email protected]> writes:

Hi,

Quoted 4 lines

I still have this device in storage somewhere though I have not used it for at least 15 months.

I will try to sort out a patch sometime over the Christmas break.

Great, thanks!

Signature · 1 line
Bye, Peter Korsgaard