Jamenson Ferreira Espindula de Almeida Melo wrote:
trap invalid opcode (libffi-3.2.1 execution test error)


Hi all. I just finished building a Linux From Scratch 8.1 - System V
edition. Everything was correct. On the other hand, Beyond Linux From
Scratch 8.1 - System V edition libffi-3.2.1 run into trouble. The
pachage tests fail. I do not know how to fix it. I need your help.


make output:


MAKE x86_64-pc-linux-gnu : 0 * all-all

make[1]: Entering directory \
'/home/jamenson/libffi/x86_64-pc-linux-gnu'

make 'AR_FLAGS=' 'CC_FOR_BUILD=' 'CFLAGS=-O3 -fomit-frame-pointer \
-fstrict-aliasing -ffast-math -march=corei7-avx  -Wall \
-fexceptions' 'CXXFLAGS=-g -O2' 'CFLAGS_FOR_BUILD=' \
'CFLAGS_FOR_TARGET=' 'INSTALL=/usr/bin/install -c' \
'INSTALL_DATA=/usr/bin/install -c -m 644' \
'INSTALL_PROGRAM=/usr/bin/install -c' \
'INSTALL_SCRIPT=/usr/bin/install -c' 'JC1FLAGS=' 'LDFLAGS=' \
'LIBCFLAGS=' 'LIBCFLAGS_FOR_TARGET=' 'MAKE=make' \
'MAKEINFO=/bin/sh /home/jamenson/libffi/missing makeinfo ' \
'PICFLAG=' 'PICFLAG_FOR_TARGET=' 'RUNTESTFLAGS=' 'SHELL=/bin/sh' \
'exec_prefix=/usr' 'infodir=/usr/share/info' 'libdir=/usr/lib' \
'mandir=/usr/share/man' 'prefix=/usr' 'AR=ar' 'AS=as' 'CC=gcc' \
'CXX=g++' 'LD=/usr/bin/ld' 'NM=/usr/bin/nm -B' 'RANLIB=ranlib' \
'DESTDIR=' all-recursive

Don't give 100K of logs.  Trim it to the minimum.

Illegal instruction indicates to me that configure identified the processor incorrectly. Why do you have -march=corei7-avx? My system is an i7 but my log says -march=core2

Are you adding some optimizations?

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

Reply via email to