Re: copy lfs build to older CPU

"Pocket" ([email protected] via lfs-support Mailing List) <[email protected]> Mon, 22 Sep 2025 11:25:13 -0400
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>

On 9/22/25 10:37 AM, Thomas Seeling ([email protected] via 
lfs-support Mailing List) wrote:
> Hello dear list,
> 
> I experimented (again) with moving a completed build of 12.4 64 bit to 
> an older machine.
> My build machine has an i7-6700, and I unpacked this to an older i5-3350 
> after it successfully finished.
> At first glance everything seemed to look fine until I tried to compile 
> ethtool (to gain WOL capability).
> The `configure`  script went through but while compiling the source I 
> got an "illegal instruction" abort from gcc.
> That was a bit surprising. I compiled the `gmp`  package as recommended 
> with ` --host=none-linux-gnu`.
> Looks like I have to recompile gcc too.
> 
> Stay healthy,
> Thomas
> 


Yes that will happen if you don't use CFLAGS and CXXFLAGS


-- 
Hindi madali ang maging ako

-- 
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page