Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] Altera socdk defconfig no longer builds
Date: Wed, 21 Dec 2016 23:04:40 +0100	[thread overview]
Message-ID: <87eg112b2f.fsf@dell.be.48ers.dk> (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 <sasha.levin@oracle.com>
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.

    Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

-- 
Bye, Peter Korsgaard

             reply	other threads:[~2016-12-21 22:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-21 22:04 Peter Korsgaard [this message]
2016-12-21 22:23 ` [Buildroot] Altera socdk defconfig no longer builds Charles Manning
2016-12-22  7:42   ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eg112b2f.fsf@dell.be.48ers.dk \
    --to=peter@korsgaard.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox