Skip to contentSkip to conversation

Altera sockit defconfig no longer builds

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

lore
Share & tools
lore
#0 lore raw

Hi,

Back in 2014, you contributed altera_sockit_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/185616884

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

Hi Peter,

Yes i still can have access to this HW platform but not until few weeks i guess, santa claus time ;).

I will take a look then, you can also remove the defconfig if it doesn't work anymore and me or somebody else can propose an update working version.

Thanks for your message.

Regards,
Sebastien.

Quoted 34 lines · Peter Korsgaard

Hi,

Back in 2014, you contributed altera_sockit_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/185616884

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.

#2 lore raw
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sebastien" == Sebastien Bourdelin <[email protected]> writes:

Hi Peter,
Yes i still can have access to this HW platform but not until few weeks i guess, santa claus time ;).

I will take a look then, you can also remove the defconfig if it doesn't work anymore and me or somebody else can propose an update working version.

Ok, good - Lets say that you (and other interested / with the HW) have until end of January when I release -rc1 to get it fixed. If it is still broken by then, then I'll simply remove the defconfig instead.

Enjoy your holidays!

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 6 lines · Peter Korsgaard
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sebastien" == Sebastien Bourdelin <[email protected]> writes:

Hi Peter,
Yes i still can have access to this HW platform but not until few weeks i guess, santa claus time ;).

Quoted 7 lines
Quoted 2 lines

I will take a look then, you can also remove the defconfig if it doesn't work anymore and me or somebody else can propose an update working version.

Ok, good - Lets say that you (and other interested / with the HW) have until end of January when I release -rc1 to get it fixed. If it is still broken by then, then I'll simply remove the defconfig instead.

Looks good!

Quoted 2 lines

Enjoy your holidays!

Thanks Peter!