[proaudio] ebuild media-sound/jack-audio-connection-kit-9999

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hi

I just built jack-9999, and saw this message;

* Messages for package media-sound/jack-audio-connection-kit-9999:

* Can't build cpudetection (dynsimd) without cpu 3dnow support. see bug #136565.


Looking through the build-log, I saw;

* Can't build cpudetection (dynsimd) without cpu 3dnow support. see bug #136565. * econf: updating jack-audio-connection-kit-9999/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating jack-audio-connection-kit-9999/config/config.sub with /usr/share/gnuconfig/config.sub ../configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-firewire --disable-freebob --disable-altivec --enable-alsa --enable-capabilities --enable-stripped-jackd --disable-coreaudio --disable-debug --enable-html-docs --enable-mmx --disable-oss --disable-portaudio --enable-sse --enable-dynsimd --disable-dependency-tracking --with-html-dir=/usr/share/doc/jack-audio-connection-kit-9999 --with-default-tmpdir=/dev/shm --build=i686-pc-linux-gnu

....followed by....

/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -O -msse -msse2 -m3dnow -c -o simd.lo ./simd.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -DJACK_LOCATION=\"/usr/bin\" -O2 -march=prescott -pipe -I/usr/include/nptl -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -g -c transclient.c -fPIC -DPIC -o ..libs/libjack_la-transclient.o i686-pc-linux-gnu-gcc -I.. -I../config -I.. -I.. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -O -msse -msse2 -m3dnow -c ./simd.c -fPIC -DPIC -o .libs/simd.o


The ebuild logic;

# CPU Detection (dynsimd) uses asm routines which requires 3dnow, mmx and sse.
       # Also, without -O2 it will not compile as well.
       # we test if it is present before enabling the configure flag.
       if use cpudetection ; then
               if (! grep 3dnow /proc/cpuinfo >/dev/null) ; then
ewarn "Can't build cpudetection (dynsimd) without cpu 3dnow support. see bug #136565."
               elif (! grep sse /proc/cpuinfo >/dev/null) ; then
ewarn "Can't build cpudetection (dynsimd) without cpu sse support. see bug #136565."
               elif (! grep mmx /proc/cpuinfo >/dev/null) ; then
ewarn "Can't build cpudetection (dynsimd) without cpu mmx support. see bug #136565."
               else
einfo "Enabling cpudetection (dynsimd). Adding -mmmx, -msse, -m3dnow and -O2 to CFLAGS."
                       myconf="${myconf} --enable-dynsimd"

                       filter-flags -O*
                       append-flags -mmmx -msse -m3dnow -O2
               fi
       fi

(if I understand it) says 'only add the --enable-dynsimd flag if 3dnow, sse, and mmx are all present', but configure is getting the --enable-dynsimd flag from somewhere...

After a little more 'digging' I discovered http://bugs.gentoo.org/136565, which seems to indicate that the bug was closed a few years ago...

I'm puzzled.

Cheers
R




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/