LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 06-03-2019, 11:19 AM   #1
slcklnx
Member
 
Registered: Jan 2019
Posts: 144

Rep: Reputation: Disabled
armv7 into armv8


i hame Gentoo armv7... how to recompile in armv8?
 
Old 06-03-2019, 12:17 PM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Assuming you did so, how did you manage to build for armv7?

The steps are the same as what you did when you built for armv7 and you're just selecting a different architecture.

Moving this thread to the Gentoo forum to give your issue better visibility for the Gentoo distribution.

Meanwhile you should review what you did to build for armv7 and then follow the same process, but select a different CPU architecture.
 
1 members found this post helpful.
Old 06-03-2019, 01:30 PM   #3
slcklnx
Member
 
Registered: Jan 2019
Posts: 144

Original Poster
Rep: Reputation: Disabled
The fact is that armv7-32bit. armv8-64bit The compiler that is available in armv7 refuses to compile the armv8 system.
 
Old 06-03-2019, 01:32 PM   #4
slcklnx
Member
 
Registered: Jan 2019
Posts: 144

Original Poster
Rep: Reputation: Disabled
the main thing is that there is no stage armv8. need to recompile armv7 under 64bit. but armv7 is 32bit
 
Old 06-04-2019, 12:10 PM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by slcklnx View Post
The fact is that armv7-32bit. armv8-64bit The compiler that is available in armv7 refuses to compile the armv8 system.
You need to configure the cross compiler for the correct target. If you are using a native compiler on an armv7 and not configuring it to cross compile, then exactly what you say is true.

Better instead to see if you have an x86 target with the Linaro toolkit and see if you can make a proper cross compilation configuration for armv8.

What did you do to compile your distro for armv7 before?
 
1 members found this post helpful.
Old 06-04-2019, 03:43 PM   #6
slcklnx
Member
 
Registered: Jan 2019
Posts: 144

Original Poster
Rep: Reputation: Disabled
it's a long story collected u-boot. prepared sd card, created a partition, formatted it, recorded u-boot, downloaded portage, downloaded stage armv7 all unpacked took the kernel from armbian put it in the boot took modules. well, that was collected. thanks for the help, what happened to gather Gentoo is the merit of all forums and forum users. helped all countries) Russia, USA , China... everyone helped. Okay, I'm gonna go try to build on that.
 
  


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
Version magic '3.10.40-ga7da876 SMP preempt mod_unload ARMv7 p2v8 ' hould be '3.10.40 SMP preempt mod_unload ARMv7 p2v8 ' ksahin Linux - Kernel 1 09-12-2017 01:15 PM
LXer: ARMv8 Project Thunder SoC gains Linux support LXer Syndicated Linux News 0 10-30-2013 11:02 PM
LXer: Fedora Begins Bootstrapping ARMv8 LXer Syndicated Linux News 0 11-22-2012 07:03 PM
LXer: DebConf 12: Linux Gaming, Mobile, 64-bit ARMv8 Planning LXer Syndicated Linux News 0 07-15-2012 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 01:21 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
Open Source Consulting | Domain Registration