Fernando de Oliveira wrote:
Now, how I solved from a completely different machine/archtecture.
Re:
https://github.com/HandBrake/HandBrake/blob/master/contrib/lame/P00-darwin-xmmintrin.patch
I adapted that patch to lame-3.99.5-gcc_4_9_0_i686_fix-1.patch:
{{{
--- lame-3.99.5.orig/configure 2012-02-28 15:54:37.000000000 -0300
+++ lame-3.99.5/configure 2014-04-29 11:15:10.118691341 -0300
@@ -11913,6 +11913,15 @@
fi
+case $host_cpu in
+i686*)
+ check_xmmintrin=
+ ;;
+*)
+ check_xmmintrin="xmmintrin.h"
+ ;;
+esac
+
for ac_header in \
errno.h \
fcntl.h \
@@ -11922,7 +11931,7 @@
sys/soundcard.h \
sys/time.h \
unistd.h \
- xmmintrin.h \
+ $check_xmmintrin \
linux/soundcard.h
do :
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
}}}
Then it finished make successfully. Not yet tested.
Is that patch fine to be included, or would be dangerous for other
architectures?
I'm glad you cane up with a solution. What I'd recommend is to just
make the simple change:
> - xmmintrin.h \
And put instructions in the book to only apply that for i686 systems.
It probably can be done with a sed.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page