[vbox-dev] need help building debug version from OSE 2.1.4 tarball

Eric van Tassell evt at texelsoft.com
Tue Feb 17 11:10:18 PST 2009


I downloaded the source from 
http://download.virtualbox.org/virtualbox/2.1.4/VirtualBox-2.1.4-OSE.tar.bz2 
and tried to build debug bits as shown below. Can someone point out what 
I may have done wrong? I'm building on Fedora 11. Thanks.

$ ./configure --disable-hardening --disable-pulse

$ kmk all --pretty-command-printing BUILD_TYPE=debug
<snip>
kBuild: Compiling tstInlineAsmPIC - 
/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/src/VBox/Runtime/testcase/tstInlineAsm.cpp 
=> 
/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug/obj/tstInlineAsmPIC/tstInlineAsm.o
 > 'g++' \
'-c' \
'-g' \
'-g' \
'-pipe' \
'-pedantic' \
'-Wall' \
'-Wextra' \
'-Wno-missing-field-initializers' \
'-Wno-unused' \
'-Wno-trigraphs' \
'-Wno-long-long' \
'-Wno-variadic-macros' \
'-march=i586' \
'-O0' \
'-fno-omit-frame-pointer' \
'-fno-strict-aliasing' \
'-fvisibility-inlines-hidden' \
'-fvisibility=hidden' \
'-DVBOX_HAVE_VISIBILITY_HIDDEN' \
'-DRT_USE_VISIBILITY_DEFAULT' \
'-fPIC' \
'-m32' \
'-I/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/include' \
'-I/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug' \
'-DVBOX' \
'-DVBOX_OSE' \
'-DVBOX_WITH_64_BITS_GUESTS' \
'-DDEBUG' \
'-DDEBUG_evt' \
'-DDEBUG_USERNAME=evt' \
'-DRT_OS_LINUX' \
'-D_FILE_OFFSET_BITS=64' \
'-DRT_ARCH_X86' \
'-D__X86__' \
'-DIN_RING3' \
'-DHC_ARCH_BITS=32' \
'-DGC_ARCH_BITS=64' \
'-DPIC' \
'-Wp,-MD,/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug/obj/tstInlineAsmPIC/tstInlineAsm.o.dep' 
\
'-Wp,-MT,/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug/obj/tstInlineAsmPIC/tstInlineAsm.o' 
\
'-Wp,-MP' \
'-o' \
'/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug/obj/tstInlineAsmPIC/tstInlineAsm.o' 
\
'/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/src/VBox/Runtime/testcase/tstInlineAsm.cpp'
/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/include/iprt/asm.h: In function 
‘bool ASMAtomicCmpXchgU64(volatile uint64_t*, uint64_t, uint64_t)’:
/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/include/iprt/asm.h:2899: error: 
can't find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/include/iprt/asm.h:2899: error: 
‘asm’ operand has impossible constraints
kmk[2]: *** 
[/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE/out/linux.x86/debug/obj/tstInlineAsmPIC/tstInlineAsm.o] 
Error 1
kmk[2]: *** Waiting for unfinished jobs....
kmk[2]: Leaving directory `/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE'
kmk[2]: Entering directory `/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE'
kmk[2]: *** Exiting with status 2
kmk[1]: *** [pass_binaries_this] Error 2
kmk: *** [pass_binaries_order] Error 2
kmk[1]: Leaving directory `/home/evt/wrk/vbx/VirtualBox-2.1.4_OSE'
bash-3.2$

-- 
- evt

Eric van Tassell
evt at texelsoft.com





More information about the vbox-dev mailing list