/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/include/iprt/log.h:795:45: warning: anonymous variadic macros were introduced in C99 /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/tls-posix.cpp: In function `int RTTlsAlloc()': /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/tls-posix.cpp:50: warning: converting of negative value `-0x00000000000000001' to `pthread_key_t' /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/tls-posix.cpp: In function `int RTTlsAllocEx(RTTLS*, void (*)(void*))': /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/tls-posix.cpp:63: warning: converting of negative value `-0x00000000000000001' to `pthread_key_t' kBuild: Compiling RuntimeR3 - /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/utf8-posix.cpp kBuild: Compiling RuntimeR3 - /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/linux/semevent-linux.cpp kBuild: Compiling RuntimeR3 - /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/linux/semeventmulti-linux.cpp kBuild: Compiling RuntimeR3 - /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/r3/posix/semmutex-posix.cpp kBuild: Compiling RuntimeR0 - /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/common/log/logcom.cpp /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/common/log/logcom.cpp:1: sorry, unimplemented: code model kernel not supported in PIC mode /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/common/log/logcom.cpp:1: error: code model `kernel' not supported in the 64 bit mode kmk[3]: *** [/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/out/linux.amd64/release/obj/src/VBox/Runtime/RuntimeR0/common/log/logcom.o] Error 1 The failing command: @g++ -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs -pipe -fno-rtti -fno-exceptions -O2 -fno-omit-frame-pointer -fno-strict-aliasing -fno-stack-protector -m64 -mno-red-zone -mcmodel=kernel -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-asynchronous-unwind-tables -I/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/include -I/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/include -I/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/out/linux.amd64/release -DVBOX -DVBOX_OSE -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DIN_RING0 -DHC_ARCH_BITS=64 -DGC_ARCH_BITS=32 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/out/linux.amd64/release/obj/src/VBox/Runtime/RuntimeR0/common/log/logcom.o.dep -Wp,-MT,/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/out/linux.amd64/release/obj/src/VBox/Runtime/RuntimeR0/common/log/logcom.o -Wp,-MP -o /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/out/linux.amd64/release/obj/src/VBox/Runtime/RuntimeR0/common/log/logcom.o /var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime/common/log/logcom.cpp kmk[3]: *** Waiting for unfinished jobs.... kmk[3]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox/Runtime' kmk[2]: *** [pass_libraries_before] Error 2 kmk[2]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src/VBox' kmk[1]: *** [pass_libraries_before] Error 2 kmk[1]: Leaving directory `/var/tmp/portage/app-emulation/virtualbox-1.6.2/work/VirtualBox-1.6.2/src' kmk: *** [pass_libraries_before] Error 2 * ERROR: app-emulation/virtualbox-1.6.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2809: Called die * The specific snippet of code: * MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed" * The die message: * kmk failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/environment'. * Messages for package app-emulation/virtualbox-1.6.2: * ERROR: app-emulation/virtualbox-1.6.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2809: Called die * The specific snippet of code: * MAKE="kmk" emake TOOL_GCC3_CC="$(tc-getCC)" TOOL_GCC3_CXX="$(tc-getCXX)" TOOL_GCC3_AS="$(tc-getCC)" TOOL_GCC3_AR="$(tc-getAR)" TOOL_GCC3_LD="$(tc-getCXX)" TOOL_GCC3_LD_SYSMOD="$(tc-getLD)" TOOL_GCC3_CFLAGS="${CFLAGS}" TOOL_GCC3_CXXFLAGS="${CXXFLAGS}" all || die "kmk failed" * The die message: * kmk failed * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-1.6.2/temp/environment'.