[lfs-support] Please consider adding --with-gcc-arch=native in libffi configure
bruce.dubbs at gmail.com
Tue Jul 3 09:19:49 PDT 2018
On 06/29/2018 07:32 PM, Don Cross wrote:
> I wasn't sure whether to send this to lfs-support or lfs-dev. Since I'm
> not a developer on LFS, I guessed the former. Apologies if my guess is
> I built LFS using jhalfs and the 8.2 version of the book on a machine
> with an Intel G860 processor. The configure script for libffi guessed
> wrong about the processor's capabilities, causing Python 3 to crash with
> an invalid instruction exception.
> I fixed this by changing the jhalfs script 115_libffi to let gcc
> determine the architecture rather than the configure script itself:
> ./configure --prefix=/usr --disable-static --with-gcc-arch=native
In the libffi source directory, can you pelease tell us what the output
In my case it is x86_64-unknown-linux-gnu.
More information about the lfs-support