Skip to contentSkip to conversation

gcc 5.2.0 not supported?

Buildroot Ron Eggler 2 participants 3 messages Feb 14, 2017

lore
Share & tools
lore

Ron Eggler

author
#0 lore raw

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

#1 lore raw

Hi Ron,

Quoted 6 lines · Ron Eggler

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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.

Quoted 4 lines

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.

Quoted 9 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Signature · 3 lines
     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 -
author
#2 lore raw
Quoted 10 lines · Baruch Siach

Hi Ron,

Quoted 6 lines · Ron Eggler

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:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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.

Quoted 26 lines

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.

Quoted 2 lines

on make and when I started Googling around, I found this thread
http://lists.busybox.net/pipermail/buildroot/2015-July/133170.html from

July

Quoted 2 lines

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.

Quoted 1 line

Also, before I had set the kernel headers to 4.3.x in menu config, I

would

Quoted 8 lines

get the same error but saying:

Quoted 1 line
Quoted 1 line
Quoted 1 line

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?

Quoted 6 lines

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>