In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20, from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:104, from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from ../gdk/quartz/gdkquartz.h:4, from autotestkeywords.cc:14: /Users/Home/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/xmmintrin.h:35:3: error: #error "SSE instruction set not enabled" /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:254: error: '__m128' does not name a type /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: '__m128i' does not name a type /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:256: error: '__m128d' does not name a type make[2]: *** [autotestkeywords-autotestkeywords.o] Error 1 make[2]: Leaving directory `/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1' make: *** [all] Error 2 * * ERROR: x11-libs/gtk+-2.12.1 failed. * Call stack: * ebuild.sh, line 1598: Called dyn_compile * ebuild.sh, line 936: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * gtk+-2.12.1.ebuild, line 136: Called die * The specific snippet of code: * emake || die "compile failed" * The die message: * compile failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/temp/build.log'. *
Forgot to tell that the machine is a MacBook. Darwin elysium.local 8.10.1 Darwin Kernel Version 8.10.1: Wed May 23 16:33:00 PDT 2007; root:xnu-792.22.5~1/RELEASE_I386 i386 i386 MacBook2,1 Darwin
I bet you don't have -march=prescott in your CFLAGS, have you? Of not, please add it to your CFLAGS in $EPREFIX/etc/make.conf. If you do, reopen this bug.
(In reply to comment #2) > I bet you don't have -march=prescott in your CFLAGS, have you? Of not, please > add it to your CFLAGS in $EPREFIX/etc/make.conf. If you do, reopen this bug. > Here are my CFLAGS: CFLAGS="-O2 -march=nocona -msse3 -pipe -fomit-frame-pointer"
> error: #error "SSE instruction set not enabled" Please post your emerge --info, and the a little piece of the buildlog right before the piece you pasted here. I want to see the compiler invocation.
(In reply to comment #5) > > error: #error "SSE instruction set not enabled" > > Please post your emerge --info, and the a little piece of the buildlog right > before the piece you pasted here. I want to see the compiler invocation. > Home@elysium ~ $ emerge --info Portage 2.2.00.8228-prefix (default-prefix/darwin/macos/10.4/x86, gcc-4.0.1, unavailable, 8.10.1 i386) ================================================================= System uname: 8.10.1 i386 i386 Timestamp of tree: Wed, 24 Oct 2007 07:54:23 +0000 distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.4.4-r04.2, 2.5.1-r02.2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 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 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 ACCEPT_KEYWORDS="x86-macos ~x86-macos" CBUILD="i686-apple-darwin8" CFLAGS="-O2 -march=nocona -msse3 -pipe -fomit-frame-pointer" CHOST="i686-apple-darwin8" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" DISTDIR="/Users/Home/Library/Gentoo/usr/portage/distfiles" EPREFIX="/Users/Home/Library/Gentoo" FEATURES="collision-protect distlocks metadata-transfer nostrip sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/Users/Home/Library/Gentoo/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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/Users/Home/Library/Gentoo/var/tmp" PORTDIR="/Users/Home/Library/Gentoo/usr/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="aqua coreaudio cracklib jpeg midi mmx mmxext mp3 ncurses nls objc objc++ ogg perl prefix python qt3 qt4 readline ruby sse sse2 ssl tiff unicode vorbis x86-macos xml zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" Unset: CTARGET, CXXFLAGS, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY make[2]: Entering directory `/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1/tests' if i686-apple-darwin8-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/Users/Home/Library/Gentoo/usr/include/glib-2.0 -I/Users/Home/Library/Gentoo/usr/lib/glib-2.0/include -I/Users/Home/Library/Gentoo/usr/include/pango-1.0 -I/Users/Home/Library/Gentoo/usr/include/cairo -I/Users/Home/Library/Gentoo/usr/include/libpng12 -I/Users/Home/Library/Gentoo/usr/include/atk-1.0 -O2 -march=nocona -pipe -Wall -MT autotestfilechooser.o -MD -MP -MF ".deps/autotestfilechooser.Tpo" \ -c -o autotestfilechooser.o `test -f 'autotestfilechooser.c' || echo './'`autotestfilechooser.c; \ then mv -f ".deps/autotestfilechooser.Tpo" ".deps/autotestfilechooser.Po"; \ else rm -f ".deps/autotestfilechooser.Tpo"; exit 1; \ fi /bin/sh ../libtool --mode=link i686-apple-darwin8-gcc -O2 -march=nocona -pipe -Wall -framework AppKit -framework Carbon -o autotestfilechooser -framework AppKit -framework Carbon autotestfilechooser.o ../gdk-pixbuf/libgdk_pixbuf-2.0.la ../gdk/libgdk-quartz-2.0.la ../gtk/libgtk-quartz-2.0.la -lintl mkdir .libs i686-apple-darwin8-gcc -O2 -march=nocona -pipe -Wall -framework AppKit -framework Carbon -o .libs/autotestfilechooser -framework AppKit -framework Carbon autotestfilechooser.o ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -L/Users/Home/Library/Gentoo/usr/lib ../gdk/.libs/libgdk-quartz-2.0.dylib ../gtk/.libs/libgtk-quartz-2.0.dylib /Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1/gdk/.libs/libgdk-quartz-2.0.dylib /Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1/gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib /Users/Home/Library/Gentoo/usr/lib/libpangocairo-1.0.dylib /Users/Home/Library/Gentoo/usr/lib/libpango-1.0.dylib /Users/Home/Library/Gentoo/usr/lib/libatk-1.0.dylib /Users/Home/Library/Gentoo/usr/lib/libgobject-2.0.dylib /Users/Home/Library/Gentoo/usr/lib/libgmodule-2.0.dylib /Users/Home/Library/Gentoo/usr/lib/libglib-2.0.dylib /Users/Home/Library/Gentoo/usr/lib/libcairo.dylib /Users/Home/Library/Gentoo/usr/lib/libpng12.dylib -lz -lm /Users/Home/Library/Gentoo/usr/lib/libintl.dylib /Users/Home/Library/Gentoo/usr/lib/libiconv.dylib -lc creating autotestfilechooser if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../gdk -I../gdk -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/Users/Home/Library/Gentoo/usr/include/glib-2.0 -I/Users/Home/Library/Gentoo/usr/lib/glib-2.0/include -I/Users/Home/Library/Gentoo/usr/include/pango-1.0 -I/Users/Home/Library/Gentoo/usr/include/cairo -I/Users/Home/Library/Gentoo/usr/include/libpng12 -I/Users/Home/Library/Gentoo/usr/include/atk-1.0 -I./dummy-headers -DHAVE_OBJC=1 -x objective-c++ -MT autotestkeywords-autotestkeywords.o -MD -MP -MF ".deps/autotestkeywords-autotestkeywords.Tpo" \ -c -o autotestkeywords-autotestkeywords.o `test -f 'autotestkeywords.cc' || echo './'`autotestkeywords.cc; \ then mv -f ".deps/autotestkeywords-autotestkeywords.Tpo" ".deps/autotestkeywords-autotestkeywords.Po"; \ else rm -f ".deps/autotestkeywords-autotestkeywords.Tpo"; exit 1; \ fi In file included from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:29, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/DriverServices.h:32, from /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CarbonCore.h:125, from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:21, from /System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:20, from /System/Library/Frameworks/Foundation.framework/Headers/NSAppleEventDescriptor.h:8, from /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:104, from /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10, from ../gdk/quartz/gdkquartz.h:4, from autotestkeywords.cc:14: /Users/Home/Library/Gentoo/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/xmmintrin.h:35:3: error: #error "SSE instruction set not enabled" /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:254: error: '__m128' does not name a type /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:255: error: '__m128i' does not name a type /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MachineExceptions.h:256: error: '__m128d' does not name a type make[2]: *** [autotestkeywords-autotestkeywords.o] Error 1 make[2]: Leaving directory `/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/Users/Home/Library/Gentoo/var/tmp/portage/x11-libs/gtk+-2.12.1/work/gtk+-2.12.1' make: *** [all] Error 2
Please add CXXFLAGS="${CFLAGS}" to your make.conf and try again.
(In reply to comment #7) > Please add > CXXFLAGS="${CFLAGS}" > to your make.conf and try again. > resolved adding CXXFLAGS="${CFLAGS}"
ok, thanks. I added that to the bootstrap documents.