Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27555 - USE="3dnow" is a default, which can cause problems.
Summary: USE="3dnow" is a default, which can cause problems.
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 26826 27463 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-08-29 12:01 UTC by Keith Constable
Modified: 2011-10-30 22:19 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Constable 2003-08-29 12:01:20 UTC
It appears that the '3dnow' use flag is a default in the portage system.  The
similar 'sse' use flag is not a default.  If 'sse' is not a default, then
'3dnow' probably shouldn't be either.

Also, this can cause issues for non-3dnow systems after they emerge certain
packages like libvorbis.

Reproducible: Always
Steps to Reproduce:
1. Remove '3dnow' from the make.conf USE flags.
2. Execute "emerge -vp libvorbis" (just an example)

Actual Results:  
Without the '3dnow' flag explicitly set, emerge still insists on building with
'3dnow' support.  For example:

myrmidon usb # emerge -vp libvorbis

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] media-libs/libvorbis-1.0-r4  -sse +3dnow

Expected Results:  
If the '3dnow' flag is not explicitly set, I would expect it not to be in my USE
flags since it is not something that is universally supported across all
architectures.

From 'emerge info':
Portage 2.0.49-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.4.21-pfeifer-r1_pre4)
=================================================================
System uname: 2.4.21-pfeifer-r1_pre4 i686 AMD Athlon(tm) XP 1800+
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /opt/tomcat/conf
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow apm foomaticdb libg++ gdbm berkdb svga tcpd acpi -alsa -arts avi cdr
crypt cups curl dga dvd emacs encode esd gd gif gnome gphoto2 gpm -gtk gtk2
gtkhtml imap imlib ipv6 java jpeg kde kerberos libwww mad mikmod mmx motif
mozilla mpeg ncurses oggvorbis opengl oss pam -pda -pcmcia pdflib perl png
python qt quicktime readline samba -nls scanner sdl slang slp socks5 spell ssl
tcltk tetex tiff truetype usb wmf wxwindows X Xaw3d xml xml2 xmms xv zlib x86"

From make.conf:
USE="acpi -alsa -arts avi cdr crypt cups curl dga dvd emacs encode esd gd gif
gnome gphoto2 gpm -gtk gtk2 gtkhtml imap imlib ipv6 java jpeg kde kerberos
libwww mad mikmod mmx motif mozilla mpeg ncurses oggvorbis opengl oss pam -pda
-pcmcia pdflib perl png python qt quicktime readline samba -nls scanner sdl
slang slp socks5 spell ssl tcltk tetex tiff truetype usb wmf wxwindows X Xaw3d
xml xml2 xmms xv zlib x86"
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-08-29 13:24:58 UTC
This is actually in make.defaults, not make.globals.

I've removed it from make.defaults in default-x86-1.4.
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2003-08-29 13:25:38 UTC
*** Bug 27463 has been marked as a duplicate of this bug. ***
Comment 3 Jon Portnoy (RETIRED) gentoo-dev 2003-08-29 13:25:55 UTC
*** Bug 26826 has been marked as a duplicate of this bug. ***