Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] gcc 5.2.0 not supported?
@ 2017-02-14  3:38 Ron Eggler
  2017-02-14  5:27 ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Ron Eggler @ 2017-02-14  3:38 UTC (permalink / raw)
  To: buildroot

Hi,

I've build a crosstoolchain for powerpc using crosstools-NG today and I 
wanted to use buildroot to compile a kernel for my system.
Now, turns out I'm getting:

 >>> toolchain-external Configuring Incorrect selection of gcc version: 
expected 4.3.x, got 5.2.0

on make and when I started Googling around, I found this thread 
http://lists.busybox.net/pipermail/buildroot/2015-July/133170.html from 
July 2015 that essentially says that gcc 5.2.0 is not supported.
Now I'm wondering if this is this still the case?

Also, before I had set the kernel headers to 4.3.x in menu config, I 
would get the same error but saying:

 >>> toolchain-external Configuring Incorrect selection of kernel 
headers: expected 2.6.x, got 4.3.x

Now as I've moved up the header version to match 4.3.x, I get the error 
pasted above. How can that be? How can I get my kernel built using the 
crosstools-NG toolchain?

Thanks,
Ron

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

* [Buildroot] gcc 5.2.0 not supported?
  2017-02-14  3:38 [Buildroot] gcc 5.2.0 not supported? Ron Eggler
@ 2017-02-14  5:27 ` Baruch Siach
  2017-02-14 15:04   ` Ron Eggler
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-02-14  5:27 UTC (permalink / raw)
  To: buildroot

Hi Ron,

On Mon, Feb 13, 2017 at 07:38:36PM -0800, Ron Eggler wrote:
> I've build a crosstoolchain for powerpc using crosstools-NG today and I
> wanted to use buildroot to compile a kernel for my system.
> Now, turns out I'm getting:
> 
> >>> toolchain-external Configuring Incorrect selection of gcc version:
> expected 4.3.x, got 5.2.0

You need to select your external toolchain version in Toolchain -> External 
toolchain gcc version. 4.3.x is the default, you need to change it to 5.x.

> on make and when I started Googling around, I found this thread
> http://lists.busybox.net/pipermail/buildroot/2015-July/133170.html from July
> 2015 that essentially says that gcc 5.2.0 is not supported.
> Now I'm wondering if this is this still the case?

The linked messages is about the Buildroot internal toolchain. It has noting 
to do with you case.

> Also, before I had set the kernel headers to 4.3.x in menu config, I would
> get the same error but saying:
> 
> >>> toolchain-external Configuring Incorrect selection of kernel headers:
> expected 2.6.x, got 4.3.x
> 
> Now as I've moved up the header version to match 4.3.x, I get the error
> pasted above. How can that be? How can I get my kernel built using the
> crosstools-NG toolchain?

Here again you need to set 'External toolchain kernel headers series' to the 
version of your toolchain kernel headers.

Hope this helps,
baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

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

* [Buildroot] gcc 5.2.0 not supported?
  2017-02-14  5:27 ` Baruch Siach
@ 2017-02-14 15:04   ` Ron Eggler
  0 siblings, 0 replies; 3+ messages in thread
From: Ron Eggler @ 2017-02-14 15:04 UTC (permalink / raw)
  To: buildroot

On Mon, Feb 13, 2017 at 9:27 PM, Baruch Siach <baruch@tkos.co.il> wrote:

> Hi Ron,
>
> On Mon, Feb 13, 2017 at 07:38:36PM -0800, Ron Eggler wrote:
> > I've build a crosstoolchain for powerpc using crosstools-NG today and I
> > wanted to use buildroot to compile a kernel for my system.
> > Now, turns out I'm getting:
> >
> > >>> toolchain-external Configuring Incorrect selection of gcc version:
> > expected 4.3.x, got 5.2.0
>

Alright, I think that's what I was missing.


>
> You need to select your external toolchain version in Toolchain -> External
> toolchain gcc version. 4.3.x is the default, you need to change it to 5.x.


> > on make and when I started Googling around, I found this thread
> > http://lists.busybox.net/pipermail/buildroot/2015-July/133170.html from
> July
> > 2015 that essentially says that gcc 5.2.0 is not supported.
> > Now I'm wondering if this is this still the case?
>
> The linked messages is about the Buildroot internal toolchain. It has
> noting
> to do with you case.
>
> > Also, before I had set the kernel headers to 4.3.x in menu config, I
> would
> > get the same error but saying:
> >
> > >>> toolchain-external Configuring Incorrect selection of kernel headers:
> > expected 2.6.x, got 4.3.x
> >
> > Now as I've moved up the header version to match 4.3.x, I get the error
> > pasted above. How can that be? How can I get my kernel built using the
> > crosstools-NG toolchain?
>
> Here again you need to set 'External toolchain kernel headers series' to
> the
> version of your toolchain kernel headers.
>
> Hope this helps,
>

Yes, Thanks it did help!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20170214/c83a6a82/attachment.html>

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

end of thread, other threads:[~2017-02-14 15:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-14  3:38 [Buildroot] gcc 5.2.0 not supported? Ron Eggler
2017-02-14  5:27 ` Baruch Siach
2017-02-14 15:04   ` Ron Eggler

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