VirtualBox

Ticket #1079 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

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

Reported by: till Owned by:
Priority: major 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

comment:1 follow-up: ↓ 2 Changed 6 years ago by frank

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.

comment:2 in reply to: ↑ 1 Changed 6 years ago by till

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 Changed 6 years ago by till

ping?

comment:4 Changed 6 years ago by bird

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 Changed 6 years ago by till

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

comment:6 Changed 6 years ago by till

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

comment:7 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

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.

www.oracle.com
ContactPrivacy policyTerms of Use