[lfs-support] expr core dump

Armin K. krejzi at email.com
Tue Jun 23 10:56:22 PDT 2015

On 06/23/2015 01:24 AM, Alexey Orishko wrote:
> On Sun, Jun 21, 2015 at 8:17 PM, Armin K. <krejzi at email.com> wrote:
>> That may be the problem. GMP optimizes itself for a currently running machine.
>> Illegal instructions means you are trying to use a CPU instruction from a
>> newer architecture. You may want to try to rebuild GMP for generic target
>> --build=x86_64-unknown-linux-gnu
> I've tried to recompile gmp package on the live target with the option
> you've mentioned, but make failed with
> # make
> ./gen-fac  0 >fac_table.h || (rm -f fac_table.h; exit 1)
> Usage: gen-fac_ui limbbits nailbits
> Makefile:1328: recipe for target 'fac_table.h' failed
> make: *** [fac_table.h] Error 1
> The only explanation I have that it is due to the incorrect gmp
> library which was installed earlier. It also failed on the target with
> --build=atom-unknown-linux-gnu or without any build option.
> However I can rebuild gmp in chroot on the host where LFS was
> originally built, copy dir to the target and install gmp from it.
> Doesn't look nice, but at least it's a way to fix live systems...
> By the way, are there any other packages where I have to specify
> target host architecture?


Note: My last name is not Krejzi.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-support/attachments/20150623/902c21c3/attachment.sig>

More information about the lfs-support mailing list