Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] nios2 : gcc 4.9.x buildroot toolchain broken
@ 2015-07-27 20:28 Brendan Heading
  2015-07-27 20:48 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Brendan Heading @ 2015-07-27 20:28 UTC (permalink / raw)
  To: buildroot

Hi guys,

While looking at the dmraid build bug on nios2 I noted that it is not
possible to build a buildroot toolchain based on GCC 4.9.x for that
platform.

You can reproduce the problem using the following (one-line) defconfig :

BR2_nios2=y

I tested it against the commit : 5ccde01652bc41da325bf4c9a5abbf0031080784

The error is as follows :

=============
../../../libgcc/config/nios2/linux-atomic.c:23:24: fatal error:
asm/unistd.h: No such file or directory
 #include <asm/unistd.h>
                        ^
compilation terminated.
=============

The problem only occurs on GCC 4.9.x. GCC 5.x builds fine.

Someone already submitted a patch to fix this :

http://lists.busybox.net/pipermail/buildroot/2015-February/119084.html

The submitter promised to do some more work but it seems to have been left
that way since last February.

We can either :
- disable GCC 4.9.x for nios2 (leaving 5.x as the only supported buildroot
toolchain)
- integrate & test the above patch

What does everyone think ? Given that the above patch seems to be
considered incomplete maybe we should disable nios2 4.9.x for now until the
required additions have been submitted.

regards

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-08-03 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-27 20:28 [Buildroot] nios2 : gcc 4.9.x buildroot toolchain broken Brendan Heading
2015-07-27 20:48 ` Thomas Petazzoni
2015-08-01 16:15   ` Ezequiel Garcia
     [not found]   ` <55BCEF0B.5050101@free-electrons.com>
     [not found]     ` <55BDAF2C.1050301@gmail.com>
2015-08-03 15:48       ` Ezequiel Garcia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox