Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Bug, or PEBKAC?
Date: Wed, 12 Oct 2005 20:38:26
Message-Id: 434D6F6D.3080908@asmallpond.org
In Reply to: [gentoo-user] Bug, or PEBKAC? by Holly Bostick
1 Holly Bostick wrote:
2
3 >Hey,
4 >
5 >I've been trying to run an emerge -uaDtv world for the past couple of
6 >days, and dev-libs/liboil fails to upgrade from 0.3.2 to 0.3.3 with the
7 >following error:
8 >
9 >conv_sse.c: In function `conv_f32_s32_sse':
10 >conv_sse.c:44: error: `__m128' undeclared (first use in this function)
11 >
12 >
13 <snip>
14
15 >CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2
16 >-mno-sse3 -m3dnow -fomit-frame-pointer -pipe"
17 >
18 >
19
20 <snip>
21
22 >USE="x86 16bit 3dnow X aalib acpi alsa audiofile avi bash-completion
23 >bigger-fonts bitmap-fonts bonobo caps cddb cdr crypt cups curl dbus dga
24 >directfb divx4linux dv dvd emboss encode esd fbcon firefox flac
25 >font-server foomaticdb fortran gd gdbm ggi gif gimpprint glut gnome gpm
26 >gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imlib inkjar jack
27 >java jikes jpeg kdeenablefinal kdexdeltas lcms ldap libcaca libg++
28 >libwww mad maildir mikmod mmx mng motif mozilla mp3 mpeg mpi nas ncurses
29 >nfs nls nptl offensive ogg oggvorbis openexr opengl oss pdflib perl pic
30 >png portaudio povray python qt quicktime readline samba sdl slang
31 >sndfile socks5 speex spell sse ssl svg svga symlink tcltk tcpd tetex
32 >threads tiff toolbar truetype truetype-fonts type1-fonts unicode v4l
33 >vorbis wmf xine xml xml2 xmms xprint xv xvid yv12 zlib linguas_nl
34 >userland_GNU kernel_linux elibc_glibc"
35 >
36 >
37
38 Try:
39
40 CFLAGS="-O2 -march athlon-xp -pipe" emerge -v dev-libs/liboil
41
42 If it works, you can then try adding the CFLAGS back in one-by-one.
43
44 My advice though is generally to remove all the mmx, sse, and 3dnow
45 options from CFLAGS. Compiling _everything_ with these settings is
46 asking for trouble. IMO it is better to just enable all the
47 mmx/sse/3dnow USE flags to let them be enabled for those packages where
48 they are known to work.
49
50 -Richard
51
52 --
53 gentoo-user@g.o mailing list