VirtualBox

Opened 16 years ago

Closed 16 years ago

#1079 closed defect (fixed)

VirtualBox OSE 1.5.4 does not compile with yasm 0.6.2.1985 (Fedora 8)

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

Description

When I try to compile VirtualBox OSE 1.5.4 with yasm from Fedora 8 (0.6.2.1985 resp. yasm-0.6.2-1.fc8) the build fails with the following output:

kmk[3]: Leaving directory `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/HostDrivers'
kmk[3]: Entering directory `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/VMM'
kBuild: Compiling tstVMStructGC - /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/VMM/testcase/tstVMStructGC.cpp
kBuild: Linking tstVMStructGC
kBuild: Installing tstVMStructGC => /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/bin/tstVMStructGC
kBuild: Generating tstVMStructSize - /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstVMStructGC.h
kBuild: Compiling tstVMStructSize - /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/VMM/testcase/tstVMStructSize.cpp
kBuild: Linking tstVMStructSize
kBuild: Installing tstVMStructSize => /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/bin/testcase/tstVMStructSize
kBuild: Generating tstVMStructSize - /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstAsmStructsAsm.mac
/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/kBuild/bin/linux.x86/kmk_sed -f /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/VMM/testcase/tstAsmStructsAsm-lst.sed /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstAsmStructsAsm.mac.lst > /home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstAsmStructsAsm.mac
kmk[3]: *** [/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstAsmStructsAsm.mac] Error 1
kmk[3]: *** Deleting file `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/out/linux.x86/release/obj/src/VBox/VMM/tstAsmStructsAsm.mac'
kmk[3]: Leaving directory `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox/VMM'
kmk[2]: *** [pass_binaries_before] Error 2
kmk[2]: Leaving directory `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src/VBox'
kmk[1]: *** [pass_binaries_before] Error 2
kmk[1]: Leaving directory `/home/rpmbuilder/BUILD/VirtualBox-1.5.4_OSE/src'
kmk: *** [pass_binaries_before] Error 2

Change History (7)

comment:1 by Frank Mehnert, 16 years ago

Please post the output of

kmk KBUILD_VERBOSE=2

And please use the yasm binary from the OSE SVN repository as it contains some fixes.

in reply to:  1 comment:2 by till, 16 years ago

Replying to frank:

Please post the output of

kmk KBUILD_VERBOSE=2

I can do this, but

And please use the yasm binary from the OSE SVN repository as it contains some fixes.

I want to use yasm 0.6.2. Compiling with yasm 0.6.0 from Fedora 7 works and the yasm binary from the OSE SVN repository identifies itself as 0.6.0, too. Do you need the verbose output of the kmk build with yasm 0.6.2 or do you want to only support compiling with the prebuilt binary? Can you maybe also include the patches to yasm in the VirtualBox OSE svn?

comment:3 by till, 16 years ago

ping?

comment:4 by bird, 16 years ago

Two options, either use the tstASMStructsAsm-lst.sed script from the trunk (the trunk is using yasm 0.6.2 now), or use the yasm we ship (it should be included in the tarball - tools/bin/linux.amd64/yasm).

comment:5 by till, 16 years ago

Thanks, I will try it with the the sed script from trunk.

comment:6 by till, 16 years ago

With the sed script it compiles without any problems with yasm 0.6.2 and 0.6.0 from Fedora.

comment:7 by Frank Mehnert, 16 years ago

Resolution: fixed
Status: newclosed

I will close this bug. I was reported that newer versions of yasm work out of the box with 1.6.0.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use