Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144094 - Strage with cpu-specific useflags after portage update
Summary: Strage with cpu-specific useflags after portage update
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 03:19 UTC by Max Dilay
Modified: 2006-08-17 02:47 UTC (History)
0 users

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 Max Dilay 2006-08-16 03:19:32 UTC
Hello. I update portage version to 2.1.1_pre5-r1 i get strange errors. All ebuild that have mmx, 3dnow, sse, sse2 and other flags now in emerge -pv says "(-mmx)". For example:
emerge -pv imlib2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-libs/libid3tag-0.15.1b  USE="-debug" 0 kB
[ebuild  N    ] media-libs/imlib2-1.2.2.001  USE="X bzip2 gif jpeg mp3 nls png tiff zlib -doc (-mmx)" 922 kB

But i have mmx flag in USE at /etc/make.conf. I tryed to add (mmx) useflag but they don't work - still see (-mmx) . What this mean?
Comment 1 Max Dilay 2006-08-16 03:20:25 UTC
Oh sorry. I mean it says not only (-mmx) but also (-3dnow) (-sse) etc.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-16 03:21:52 UTC
(In reply to comment #0)
> they don't work - still see (-mmx) . What this mean?

use.masked use flag. We need to see emerge --info to check whether it's masked correctly or not, but it's not a portage bug.
 
Comment 3 Max Dilay 2006-08-16 03:36:44 UTC
Portage 2.1.1_pre5-r1 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r4, 2.6.17-no5 x86_64)
=================================================================
System uname: 2.6.17-no5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
Last Sync: Tue, 15 Aug 2006 12:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17-r4
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -fno-ident -frename-registers -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -fno-ident -frename-registers -msse3 -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.te.ua http://ftp.club-internet.fr/pub/mirrors/gentoo http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="uk_UA.UTF-8"
LC_ALL="uk_UA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both"
LINGUAS="uk"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/conrad /usr/local/portage /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/java-migration-packages /usr/portage/local/layman/kpex-media /usr/portage/local/layman/gnome-experimental"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi amr apache apache2 avi berkdb bitmap-fonts bzip2 cairo ccache cdr cli crypt cups customlog dbus dlloader elibc_glibc emboss encode fbcon ffmpeg firefox flac follow-xff fontconfig foomaticdb fortran gcj gd gd2 gif glibc-omitfp glitz glut gnome gpg2-experimental gpm gstreamer gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux kqemu linguas_uk live lm_sensors logrotate lzo lzw lzw-tiff mbox mozdevelop mp3 mpeg mpm-worker musepack mysql ncurses nls nptl nptlonly nvidia opengl oss pam pcre pdf pdflib perl png ppds pppd python qr qt3 qt4 quicktime readline reflection sdl session spell spl sse3 ssl tcpd teamarena threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU vcd video_cards_nv video_cards_nvidia video_cards_vesa vim vim-pager xft xinerama xml xorg xpm xv xvid xvmc zero-penalty-hit zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS

But before update all was ok
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-08-16 03:50:33 UTC
(In reply to comment #3)
> But before update all was ok

It's not any error, it simply tells you that the flag is masked on a particular profile. It used to be displayed so in portage-2.0.x and now it's that way again. 

No bug here, it's masked intentionally on amd64 (and hard-enabled in cases when it works).
Comment 5 Max Dilay 2006-08-16 06:17:14 UTC
This mean that i cannot use mmx, sse and other flags on amd64?
Comment 6 Zac Medico gentoo-dev 2006-08-16 11:41:58 UTC
(In reply to comment #5)
> This mean that i cannot use mmx, sse and other flags on amd64?

They're masked by use.mask, and probably for a good readson. It's possible to override use.mask in to profile via /etc/portage/profile/use.mask.  It's documented in `man portage`.
Comment 7 Max Dilay 2006-08-17 02:47:24 UTC
In /usr/portage/profiles/default-linux/use.mask, /usr/portage/profiles/default-linux/amd64/use.mask, and /usr/portage/profiles/default-linux/amd64/2006.0/use.mask (all use.mask that used by my profile) i cannot see any mmx, 3dnow or other flags. But i find in /usr/portage/profiles/base/use.mask:
# amd64/x86 arch specific USE flags
3dnow
3dnowext
icc
icc-pgo
ifc
mmx
mmxext
sse
sse2
svga

but amd64 profile really use this file?