LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 01: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, 05:26 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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, 11:06 AM   #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, 01:12 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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



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. anon103 Linux - Software 3 10-07-2018 06: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 03: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 09:56 AM
[SOLVED] Older than $(date +"%m%d%Y" --date="14 days ago") script help Habitual Programming 10 04-06-2013 04:41 PM
Help With Java Problem Please"""""""""""" suemcholan Linux - Newbie 1 04-02-2008 06:02 PM

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

All times are GMT -5. The time now is 09:34 PM.

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
Open Source Consulting | Domain Registration