VirtualBox

Opened 17 years ago

Closed 17 years ago

#1203 closed defect (fixed)

doesn't compile on Linux

Reported by: wbrana Owned by:
Component: other Version: VirtualBox 1.5.4
Keywords: Cc:
Guest type: other Host type: other

Description

VB doesn't compile on Linux.

{standard input}: Assembler messages:
{standard input}:573: Error: bad register name `%dil'
kmk[3]: *** [/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/out/linux.amd64/release/obj/src/VBox/VMM/VMMGC/VMMAll/TMAllVirtual.o] Error 1
The failing command:
        @g++ -m32 -c -O2 -g -Wall -pedantic -Wno-long-long -Wno-trigraphs  -pipe -fno-exceptions -fno-rtti -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-stack-protector   -I/cache/portage/
app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox/VMM -I/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox/VMM/VMMGC -I/cache/portage/app-emulation/virtualbox-
1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox/VMM/PATM -I/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/include -I/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_
OSE/out/linux.amd64/release -DVBOX -DVBOX_WITHOUT_IDT_PATCHING -DVBOX_OSE -DVBOX_WITH_INTERNAL_NETWORKING -DRT_OS_LINUX -D__LINUX__ -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -DIN_GC -DHC_ARCH_BITS=64 -DGC_A
RCH_BITS=32 -DIN_VMM_GC -DIN_PDM_GC -DIN_CFGM_GC -DIN_IOM_GC -DIN_MM_GC -DIN_RT_GC -DIN_TRPM_GC -DIN_SELM_GC -DIN_VM_GC -DIN_IOM_GC -DIN_DIS_GC -DDIS_CORE_ONLY -DIN_PGM_GC -DIN_CPUM_GC -DIN_EM_GC -DIN_TM_GC -DIN
_PATM_GC -DIN_CSAM_GC -DIN_REM_GC -DIN_DBGF_GC -Wp,-MD,/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/out/linux.amd64/release/obj/src/VBox/VMM/VMMGC/VMMAll/TMAllVirtual.o.dep -Wp,-MT,
/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/out/linux.amd64/release/obj/src/VBox/VMM/VMMGC/VMMAll/TMAllVirtual.o -Wp,-MP -o /cache/portage/app-emulation/virtualbox-1.5.4-r1/work/Vi
rtualBox-1.5.4_OSE/out/linux.amd64/release/obj/src/VBox/VMM/VMMGC/VMMAll/TMAllVirtual.o /cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox/VMM/VMMAll/TMAllVirtual.cpp
kmk[3]: *** Waiting for unfinished jobs....
kmk[3]: Leaving directory `/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox/VMM'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/cache/portage/app-emulation/virtualbox-1.5.4-r1/work/VirtualBox-1.5.4_OSE/src'
kmk: *** [pass_binaries_before] Error 2

Attachments (1)

20080216-170819.log (388.7 KB ) - added by wbrana 17 years ago.
full build log

Download all attachments as: .zip

Change History (6)

by wbrana, 17 years ago

Attachment: 20080216-170819.log added

full build log

comment:1 by Frank Mehnert, 17 years ago

Which Linux distribution are we talking about, Debian/unstable? Is this gcc-4.2?

comment:2 by wbrana, 17 years ago

Gentoo, gcc 3.4.6. Versions of some SW are in build log.

comment:3 by wbrana, 17 years ago

I built it successfully with different gcc, which doesn't have my patches.

comment:4 by Frank Mehnert, 17 years ago

Which patches are you talking about?

comment:5 by Sander van Leeuwen, 17 years ago

Resolution: fixed
Status: newclosed

No reply for a month. Closing. Discuss such things on the developer's mailinglist in the future.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette