LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 12-06-2018, 02:37 AM   #1
vineemike
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Rep: Reputation: Disabled
U-boot not building in ubuntu-16. getting "Your GCC is older than 6.0 and is not supported"


Dear All,

I tried to make the u-boot for sama5d3 board. getting the error "Your GCC is older than 6.0 and is not supported" I changed the gcc and g++ versions also but same error. kindly assist
 
Old 12-06-2018, 06:26 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,184
Blog Entries: 7

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
Quote:
Originally Posted by vineemike View Post
Dear All,

I tried to make the u-boot for sama5d3 board. getting the error "Your GCC is older than 6.0 and is not supported" I changed the gcc and g++ versions also but same error. kindly assist
not enough information.
please read the first link in my signature.
 
Old 12-06-2018, 12:06 PM   #3
vineemike
LQ Newbie
 
Registered: Dec 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
issue resolved by using 'linaro cross compiler toolchain' but not 'poky toolchain'

Dear ohnonot,

Thank you for your time. The issue is resolved by using the gcc linaro 7.3.1 cross compiler toolchain. But my doubt is, using this (linaro) toolchain, when I cross compile a 'c' code and port to the sama5d3 board, it isn't working. If arm-poky-linux cross compiler toolchain is used to compile the 'c' code and port to the board. it works. So why does this toolchain (arm-poky-linux) not able to build the u-boot but able to build the 'c' files or ko files. On the contrary, the 'c' code which was build using linaro 7.3.1 toolchain failed to work on the target board(sama5d36), but it builds the u-boot perfectly and works.
 
Old 12-07-2018, 02:12 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 10,184
Blog Entries: 7

Rep: Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520Reputation: 2520
if the problem is solved, please mark this thread SOLVED.

if not, please provide a valid problem description, including but not limited to:
- commands issued, output received
- links to projects, distros, hardware
etc.

and use the <Enter> key more often, this is hard to read.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Building older gcc with a newer one. JasonGilholme Linux - Software 3 10-07-2018 07:58 AM
Delete all log files older than 10 day and whose first string of the first line is "MSH" or "<?xml" Hiroshi Programming 5 02-18-2017 04:22 AM
[SOLVED] [ENCHANCEMENT] slackpkg+: do not show the notices "pkglist is older than 24h..." and "remember to re-run 'slackpkg update''..."... yars Slackware 1 01-09-2016 10:56 AM
[SOLVED] Older than $(date +"%m%d%Y" --date="14 days ago") script help Habitual Programming 10 04-06-2013 05:41 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 07:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration