While following the Gentoo/Alt Prefix bootstrapping guide, during "emerge -e system" I get this error: [...] gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG -DBINDIR="\"/gentoo/usr/i686-apple-darwin8/binutils-bin/20070629\"" -DLD64PROG="\"ld64\"" -I/gentoo/usr/include -I. -I. -I../include -I../include -march=prescott -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o debugcompunit.o debugcompunit.c gcc -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG -DBINDIR="\"/gentoo/usr/i686-apple-darwin8/binutils-bin/20070629\"" -DLD64PROG="\"ld64\"" -I/gentoo/usr/include -I. -I. -I../include -I../include -march=prescott -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -mdynamic-no-pic -c -o debugline.o debugline.c gcc -o ld ld.o pass1.o objects.o sections.o cstring_literals.o symbols.o fvmlibs.o layout.o specs.o pass2.o generic_reloc.o rld.o sets.o 4byte_literals.o 8byte_literals.o literal_pointers.o dylibs.o indirect_sections.o mod_sections.o i860_reloc.o ppc_reloc.o m88k_reloc.o hppa_reloc.o sparc_reloc.o coalesced_sections.o uuid.o debugcompunit.o debugline.o -multiply_defined suppress -L../libstuff -lstuff make[1]: Leaving directory `/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld' cd ld64 && make make[1]: Entering directory `/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64' g++ -Wall -Wno-long-double -Wno-import -DHAVE_CONFIG_H -DDEBUG -I/gentoo/usr/include -I. -I. -I./src -I../include -I../include -march=prescott -fno-builtin-round -fno-builtin-trunc -no-cpp-precomp -g -O2 -mdynamic-no-pic -c -o ld.o ./src/ld.cpp ./src/MachOWriterExecutable.hpp: In member function 'uint64_t mach_o::executable::ThreadsLoadCommandsAtom<A>::getSize() const [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4644: error: 'x86_THREAD_STATE64_COUNT' was not declared in this scope ./src/MachOWriterExecutable.hpp: In member function 'void mach_o::executable::ThreadsLoadCommandsAtom<A>::copyRawContent(uint8_t*) const [with A = x86_64]': ./src/MachOWriterExecutable.hpp:4706: error: 'x86_THREAD_STATE64' was not declared in this scope ./src/MachOWriterExecutable.hpp:4707: error: 'x86_THREAD_STATE64_COUNT' was not declared in this scope make[1]: *** [ld.o] Error 1 make[1]: Leaving directory `/gentoo/var/tmp/portage/sys-devel/odcctools-20070629/work/odcctools-20070629/ld64' make: *** [ld64] Error 2 * * ERROR: sys-devel/odcctools-20070629 failed. * Call stack: * ebuild.sh, line 1586: Called dyn_compile * ebuild.sh, line 926: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * odcctools-20070629.ebuild, line 40: Called die [...] make.conf: ACCEPT_KEYWORDS="~x86-macos x86-macos" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" emerge --info: Portage 2.2.00.7307-prefix (default-prefix/darwin/macos/10.4/x86, gcc-4.0.1, unavailable, 8.10.1 i386) ================================================================= System uname: 8.10.1 i386 i386 Gentoo Prefix Base System version 1.12.5 Timestamp of tree: Unknown distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4-r04.2 dev-python/pycrypto: 2.0.1-r5 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" AUTOCLEAN="yes" CBUILD="i686-apple-darwin8" CFLAGS="-march=prescott" CHOST="i686-apple-darwin8" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" DISTDIR="/gentoo/usr/portage/distfiles" EPREFIX="/gentoo" FEATURES="collision-protect distlocks metadata-transfer nostrip sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/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="/gentoo/var/tmp" PORTDIR="/gentoo/usr/portage" SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay" USE="aqua coreaudio cracklib midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl x86-macos zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="Darwin" 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
do you have the latest Xcode installed?
(In reply to comment #1) > do you have the latest Xcode installed? > nope, that fixed it, thanks bug status NEW -> INVALID