Re: copy lfs build to older CPU

"Xi Ruoyao" ([email protected] via lfs-support Mailing List) <[email protected]> Wed, 24 Sep 2025 11:55:49 +0800
Newsgroups gmane.linux.lfs.support
Message-ID <[email protected]>
On Tue, 2025-09-23 at 10:44 +0200, Thomas Seeling wrote:
> Hallo,
> 
> > That was a bit surprising. I compiled the `gmp`  package as
> > recommended
> > with ` --host=none-linux-gnu`.
> 
> > Also thought of libffi?
> 
> 
> yes, I recompiled libffi twice with "--with-gcc-arch=x86-64" and with 
> "--without-gcc-arch".
> Rebooted after replacing the files, did not help.

dmesg should show exactly which file contains the offending instruction.
Like:

[10066.276138] traps: a.out[100368] trap invalid opcode ip:7f0720a5f100 sp:7ffdcdaafd58 error:0 in t.so[1100,7f0720a5f000+1000]

And which exact files have you replaced?


-- 
Xi Ruoyao <[email protected]>

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