Holly Bostick wrote:

Hey,

I've been trying to run an emerge -uaDtv world for the past couple of
days, and dev-libs/liboil fails to upgrade from 0.3.2 to 0.3.3 with the
following error:

conv_sse.c: In function `conv_f32_s32_sse':
conv_sse.c:44: error: `__m128' undeclared (first use in this function)
<snip>

CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2
-mno-sse3 -m3dnow -fomit-frame-pointer -pipe"

<snip>

USE="x86 16bit 3dnow X aalib acpi alsa audiofile avi bash-completion
bigger-fonts bitmap-fonts bonobo caps cddb cdr crypt cups curl dbus dga
directfb divx4linux dv dvd emboss encode esd fbcon firefox flac
font-server foomaticdb fortran gd gdbm ggi gif gimpprint glut gnome gpm
gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib inkjar jack
java jikes jpeg kdeenablefinal kdexdeltas lcms ldap libcaca libg++
libwww mad maildir mikmod mmx mng motif mozilla mp3 mpeg mpi nas ncurses
nfs nls nptl offensive ogg oggvorbis openexr opengl oss pdflib perl pic
png portaudio povray python qt quicktime readline samba sdl slang
sndfile socks5 speex spell sse ssl svg svga symlink tcltk tcpd tetex
threads tiff toolbar truetype truetype-fonts type1-fonts unicode v4l
vorbis wmf xine xml xml2 xmms xprint xv xvid yv12 zlib linguas_nl
userland_GNU kernel_linux elibc_glibc"

Try:

CFLAGS="-O2 -march athlon-xp -pipe" emerge -v dev-libs/liboil

If it works, you can then try adding the CFLAGS back in one-by-one.

My advice though is generally to remove all the mmx, sse, and 3dnow options from CFLAGS. Compiling _everything_ with these settings is asking for trouble. IMO it is better to just enable all the mmx/sse/3dnow USE flags to let them be enabled for those packages where they are known to work.

-Richard

--
gentoo-user@gentoo.org mailing list

Reply via email to