Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217878 - gnash ebuild using mcpu
Summary: gnash ebuild using mcpu
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High trivial (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 22:40 UTC by Adrian Dannberg
Modified: 2008-06-25 18:24 UTC (History)
1 user (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 Adrian Dannberg 2008-04-15 22:40:35 UTC
emerge gnash floods the output with -mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.


Reproducible: Always

Steps to Reproduce:
1.use -march= in /etc/make.conf
2.emerge gnash
3.
Comment 1 Adrian Dannberg 2008-04-15 22:42:16 UTC
Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r10 i686)
=================================================================
System uname: 2.6.22-gentoo-r10 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Tue, 15 Apr 2008 13:05:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -msse3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.intergenia.de http://pandemonium.tiscali.de/pub/gentoo/                 http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/vmware /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa asf bash-completion berkdb cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode evo exif fam fbcondecor ffmpeg firefox fortran gdbm gif glibc-omitfp glitz gpm hal iconv isdnlog jpeg kde kdeenablefinal kdehiddenvisibility ldap mad midi mikmod mmap mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline real realmedia reflection sdl session spell spl sse sse2 sse3 ssl svg tcpd theora tiff truetype unicode visualization vorbis win32codecs wmp x264 x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="emu10k1 fm801" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vga nv nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-15 22:48:05 UTC
(In reply to comment #1)
> CXXFLAGS="-O2 -mcpu=i686 -pipe"

;-)
Comment 3 Adrian Dannberg 2008-04-15 23:00:09 UTC
oh, i _have_ to specify CXXFLAGS?
otherwise it will be set as CXXFLAGS="-O2 -mcpu=i686 -pipe"

so this is a emerge bug?
Comment 4 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-15 23:59:48 UTC
Reopening ..
Comment 5 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-04-16 00:00:49 UTC
Those flags come from gentoo-x86/profiles/default-linux/x86/make.defaults, maybe release would consider making those use -march?
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2008-04-16 00:24:39 UTC
No!  They *definitely* shouldn't be -march, but rather -mtune.  That being said, all of default-linux will be soon deprecated, so there's not much point in modifying this now.

Anyway, the simplest solution is to set CXXFLAGS=${CFLAGS} in make.conf so you never have to worry about this, again.
Comment 7 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-25 18:24:50 UTC
Marking wontfix per above comments.