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 unhelpful.

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 of ./config.guess

In my case it is x86_64-unknown-linux-gnu.

  -- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to