Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225237 - sys-libs/glibc-2.7-r2 - x86_64-pc-linux-gnu-gcc [...] -march=i386 -mtune=i386
Summary: sys-libs/glibc-2.7-r2 - x86_64-pc-linux-gnu-gcc [...] -march=i386 -mtune=i386
Status: RESOLVED DUPLICATE of bug 199334
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-07 16:24 UTC by wbrana
Modified: 2008-12-10 18:51 UTC (History)
0 users

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


Attachments
emerge log (sys-libs:glibc-2.7-r2:20080607-155157.log.bz2,410.55 KB, application/x-bzip2)
2008-06-07 16:27 UTC, wbrana
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wbrana 2008-06-07 16:24:23 UTC
While building glibc "-march=nocona" is stripped from my CFLAGS, which results in AMD optimization, which is default for gcc.

Portage 2.1.5.4 (default-linux/amd64/2007.0, gcc-4.2.4, glibc-2.7-r2, 2.6.25.4-2 x86_64)
=================================================================
System uname: 2.6.25.4-2 x86_64 Intel(R) Core(TM)2 Duo CPU E6750 @ 2.66GHz
Timestamp of tree: Sat, 07 Jun 2008 01:46:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r4
dev-python/pycrypto: 2.0.1-r5
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.62
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-r1
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.25-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/mnt/distfiles"
FEATURES="ccache distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv webrsync-gpg"
LDFLAGS="-Wl,-O1 -s -Wl,--hash-style=both"
LINGUAS="en"
MAKEOPTS="-j 2"
PKGDIR="/cache/packages"
PORTAGE_RSYNC_EXTRA_OPTS="-z"
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="/cache"
PORTDIR="/dev/shm/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="386 7zip X a52 aac accessibility acl adns aiglx alsa amd64 ao apm asf avi bash-completion berkdb bitmap-fonts bzip2 cairo cli cracklib crypt css customlog dbus dri dts dv dvb dvd dvdr dvdread emboss fftw ftp gdbm gif glibc-omitfp glitz glx gpm graphviz gs gtk gtk2 hddtemp iconv ipv6 ithreads java5 jpeg jpeg2k kde kdeenablefinal kqemu lame lcms libg++ libwww live lm_sensors logrotate lzo mad matroska md5sum midi mikmod mmx mmxext moznocompose moznoirc moznomail mp3 mp4 mpeg mplayer mudflap ncurses network nodrm nptl nptlonly nsplugin ogg oggvorbis openal opengl openmp pam pch pcre pdf pdflib png pppd qt qt3 qt3support qt4 quicktime readline reflection rtc sdl session slang sndfile spl sql sqlite3 sse sse2 ssl ssse3 stream svg symlink theora threads threadsafe tiff truetype unicode v4l v4l2 vorbis x264 xcb xcomposite xft xml2 xorg xrandr xv xvid zlib" ALSA_CARDS="ca0106 usb-audio" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 wbrana 2008-06-07 16:27:13 UTC
Created attachment 155841 [details]
emerge log
Comment 2 Nikos Chantziaras 2008-06-24 23:02:10 UTC
Similar problem here. My "-march=core2" (for Intel Core 2; it's GCC 4.3.1) is replaced with "-march=i686".  I'm on amd64.
Comment 3 ziakjan79 2008-10-27 17:19:21 UTC
(In reply to comment #2)
> Similar problem here. My "-march=core2" (for Intel Core 2; it's GCC 4.3.1) is
> replaced with "-march=i686".  I'm on amd64.
> 

This is an unfortunate side-effect of an inappropriate solution to http://bugs.gentoo.org/show_bug.cgi?id=185404

The code causing this is in file 'common.blit' (it is one of the ebuild files associated with sys-libs/glibc). Search for "#185404" in that file.
Comment 4 SpanKY gentoo-dev 2008-12-10 18:51:46 UTC

*** This bug has been marked as a duplicate of bug 199334 ***