VirtualBox

Ticket #1079 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Reported by: till Assigned to:
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

(follow-up: ↓ 2 ) 2008-01-13 18:12:40 changed 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.

(in reply to: ↑ 1 ) 2008-01-14 18:40:10 changed 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?

2008-01-31 17:56:19 changed by till

ping?

2008-01-31 20:27:07 changed 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).

2008-02-01 22:08:36 changed by till

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

2008-02-02 18:42:36 changed by till

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

2008-05-08 10:30:23 changed 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.

© 2009 Sun Microsystems, Inc.
ContactPrivacy policy