[vbox-dev] Something wrong with testcases on x86-64

Frank Mehnert frank.mehnert at oracle.com
Wed Sep 1 06:02:53 PDT 2010


Let's continue the discussion on vbox-dev.

On Wednesday 01 September 2010, you wrote:
> On 09/01/2010 02:26 PM, Frank Mehnert wrote:
> > Hmm. What happens if you try to execute the tstVMStructRC binary which
> > you just sent me?
>
> i've got an error:
> bash: ./tstVMStructRC: cannot execute binary file
> I know the execution problem at the beginning - so that's why i pasted
> info about two 32bit ELFs in my directory.
> Besides this test and building problem the virtualbox is working just
> fine. Does it need to VMStructRC be build as 32bit, why not 64, like the
> rest? Is this test 32-bit specific? If so - maybe kmk can omit this test
> if it is unable to run it.
>
> > The 64-bit kernel is normally able to execute 32-bit binaries unless
> > you explicitly disabled that in the kernel configuration.
>
> If you mean CONFIG_IA32_EMULATION - than you're right i have it disabled.
> My point was - why have I to enable it while i am installing 64bit
> system and i am going to use 64bit programs only.

Because VirtualBox can execute both 32-bit guests and 64-bit guests.
The tests are required to check the integrity of the data structures
in a 32-bit context, therefore we need to execute these tests as 32-bit
binaries.

Right now I don't know if it is sufficient to omit these tests from building
but we will not do that by default as 64-bit-only systems are very rare. If
you really want to build a 64-bit only VBox then add

  VBOX_WITH_RAW_MODE=

to your LocalConfig.kmk in the VBox root directory.

Kind regards,

Frank
-- 
ORACLE Deutschland B.V. & Co. KG   Dr.-Ing. Frank Mehnert
Werkstrasse 24                     Staff Engineer, VirtualBox
71384 Weinstadt, Germany           mailto:frank.mehnert at oracle.com

Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Rijnzathe 6, 3454PV De Meern, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://www.virtualbox.org/pipermail/vbox-dev/attachments/20100901/b66f13fb/attachment-0001.bin 


More information about the vbox-dev mailing list