Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229807 - gnome-desktop sets -mieee on x86
Summary: gnome-desktop sets -mieee on x86
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-27 19:40 UTC by Alex Karantza
Modified: 2008-06-30 12:18 UTC (History)
1 user (show)

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


Attachments
Build log from gnome-desktop (build.log,46.09 KB, text/plain)
2008-06-29 23:53 UTC, Alex Karantza
Details
And, the config.log (config.log,54.72 KB, text/plain)
2008-06-29 23:57 UTC, Alex Karantza
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Karantza 2008-06-27 19:40:19 UTC
Building gnome-desktop-2.20.3 on two different x86 machines (sync'd on July 27th, 2008) has failed due to the -mieee gcc flag being set, which is invalid on x86. mieee is not found in my make.conf, and no other packages attempt to compile with this flag. The relevant compile command and error is as follows:

i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare   -DORBIT2=1 -pthread -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/gail-1.0    -DGNOMELOCALEDIR=\""/usr/share/locale\"" -DGNOME_ICONDIR=\""/usr/share/pixmaps\"" -DDATADIR=\"/usr/share/gnome-about\"    -O3 -march=i686 -pipe -mieee -MT gnome-about.o -MD -MP -MF .deps/gnome-about.Tpo -c -o gnome-about.o gnome-about.c

cc1: error: unrecognized command line option "-mieee"
Comment 1 Alex Karantza 2008-06-27 19:42:26 UTC
Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Fri, 27 Jun 2008 01:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 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="-O3 -march=i686 -pipe"
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo htto://lug.mtu.edu/gentoo/"
LANG="C"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi aim alpha alsa bash-completion berkdb bzip2 cairo cddb cdr cegui cg cips cli cracklib crypt cscope css ctrlmenu cups cxx dbus devil dri dv dvd dvdr dvdread encode examples ffmpeg fglrx fontconfig fortran ftp gcrypt gdbm glut gpm graphviz gtk gtk2 hal hardened iconv icq imagemagick ip1800 ipv6 isdnlog jabber jack java javascript jpeg latex ldap lm_sensors lua mad mbrola midi mozdevelop mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pda pdf perl png pppd prediction python qt-static quicktime raw rdesktop readline reflection rss samba sdl servicetools session sockets spell spl ssl startup-notification subversion svg symlink synaptics syslog tcpd theora threads tiff timidity trayicon truetype tryetype unicode usb v4l v4l2 vim-syntax vnc vorbis wacom wifi win32vodecs x86 xcomposite xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2008-06-29 22:03:53 UTC
(In reply to comment #1)
> CFLAGS="-O3 -march=i686 -pipe"

Neither upstream Gnome devs nor us support -O3. Please try again with -O2.

Thanks
Comment 3 Alex Karantza 2008-06-29 22:12:58 UTC
The exact same problem occurs on my desktop, which is using -02. Here's the emerge --info from my desktop (without the USE flags, since they're not really affecting anything)

Portage 2.1.4.4 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r8 i686)
=================================================================
System uname: 2.6.24-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Timestamp of tree: Wed, 25 Jun 2008 20:22:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 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="-O2 -march=i686 -pipe"
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/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://prometheus.cs.wmich.edu/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://lug.mtu.edu/gentoo/ "
LANG="C"
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/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-06-29 22:53:11 UTC
I can't reproduce on a ~x86 system. Could either of you attach a full build.log as requested by portage? Thanks

@Toolchain, have you guys seen stuff like this before? Thanks
Comment 5 Alex Karantza 2008-06-29 23:23:06 UTC
My build.log can be found at http://www.notsorandom.com/~subquantum/build.log
Comment 6 SpanKY gentoo-dev 2008-06-29 23:47:38 UTC
post files attachments ... dont post external urls

also post the config.log from the build directory as an attachment
Comment 7 Alex Karantza 2008-06-29 23:53:44 UTC
Created attachment 158903 [details]
Build log from gnome-desktop
Comment 8 Alex Karantza 2008-06-29 23:57:05 UTC
Created attachment 158905 [details]
And, the config.log
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2008-06-30 01:42:25 UTC
src_unpack() {
    gnome2_src_unpack

    # Fix bug 16853 by building gnome-about with IEEE to prevent
    # floating point exceptions on alpha
    if use alpha; then
        sed -i '/^CFLAGS/s/$/ -mieee/' "${S}"/gnome-about/Makefile.in \
        || die "sed failed (2)"
    fi
}
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2008-06-30 01:46:05 UTC
and you have "alpha" in your USE flags.
Comment 11 Alex Karantza 2008-06-30 12:18:49 UTC
Huh... I have no idea why that's in there... Thanks