Trying to emerge libgdiplus-1.1.7, anbd I get this error message: make[1]: Entering directory `/var/tmp/portage/libgdiplus-1.1.7/work/libgdiplus-1.1.7' Making all in src make[2]: Entering directory `/var/tmp/portage/libgdiplus-1.1.7/work/libgdiplus-1.1.7/src' if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe -pthread -MT adjustablearrowcap.lo -MD -MP -MF ".deps/adjustablearrowcap.Tpo" -c -o adjustablearrowcap.lo adjustablearrowcap.c; \ then mv -f ".deps/adjustablearrowcap.Tpo" ".deps/adjustablearrowcap.Plo"; else rm -f ".deps/adjustablearrowcap.Tpo"; exit 1; fi mkdir .libs i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/freetype2 -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -Wall -Werror -Wno-unused -Wno-format -march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe -pthread -MT adjustablearrowcap.lo -MD -MP -MF .deps/adjustablearrowcap.Tpo -c adjustablearrowcap.c -fPIC -DPIC -o .libs/adjustablearrowcap.o adjustablearrowcap.c: In function `gdip_adjust_arrowcap_setup': adjustablearrowcap.c:96: warning: unused variable `pattern' make[2]: *** [adjustablearrowcap.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.7/work/libgdiplus-1.1.7/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libgdiplus-1.1.7/work/libgdiplus-1.1.7' make: *** [all] Error 2 !!! ERROR: dev-dotnet/libgdiplus-1.1.7 failed. !!! Function src_compile, Line 53, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. And here's my emerge --info: Portage 2.0.51.21-r1 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r8 i686) ================================================================= System uname: 2.6.11-gentoo-r8 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.8 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -mno-align-stringops -minline-all-stringops -fno-crossjumping -fmove-all-movables -mno-push-args -fno-delayed-branch -fno-thread-jumps -fno-defer-pop -Wall -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LANG="en_US.utf8" LC_ALL="en_US.utf8" 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="x86 X aac acpi acpi4linux alsa artworkextra avi bash-completion berkdb bindist bitmap-fonts bmp bonobo cddb cdr cjk crypt cups curl dga divx4linux dvb dvd eds emboss encode evo fam fb fbcon fbdev flac foomaticdb fortran ftp gcj gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml hal howl imagemagick imap imlib imlib2 ipv6 ithreads java javamail jpeg ldap libg++ libwww live mad md5sum mikmod mime mmx mng mono motif mozcalendar moznocompose moznoirc moznomail mozsvg mp3 mpeg mpeg4 mplayer ncurses network nls nntp no-old-linux nomultilib nptl objc offensive ogg oggvorbis opengl pam pcmcia pda pdflib perl png pnp posix ppds python quicktime readline rtc samba sdl slp sndfile spell sse ssl svg svga symlink tcpd theora threads tiff truetype truetype-fonts type1 type1-fonts unicode usb visualization vorbis wmf xml2 xmms xprint xscreensaver xv xvid zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS Reproducible: Always Steps to Reproduce:
Hmm. Reopen if you are able to reproduce this with C[XX]FLAGS="-march=pentium3 -O2 -pipe"
This appears to work with -O2 -pipe. However, I generated these CFLAGS using acovea, and even though they may seem crazy, they actually put my system somewhere between -O1 and -O2. Most of the CFLAGS turn off optimizations that _o2 implies that don't exist in -O1.