Hi Gianfrancom On Sunday 16 August 2015 22:18:02 Gianfranco Costamagna wrote: > the latest vbox 5.0.2 failed to build on Debian unstable i386. > > Build failure is located at [1] and I'm putting a snip log just below > > tstDeviceStructSize: error! VGASTATE::GCPhysVRAM offset=0x12d64 (77156) > expected alignment 0x8, meaning 0x4 (4) off tstDeviceStructSize: error! > VGASTATE::Dev offset=0x12dec (77292) expected alignment 0x8, meaning 0x4 > (4) off tstDeviceStructSize: error! VGASTATE::CritSect offset=0x12d6c > (77164) expected alignment 0x8, meaning 0x4 (4) off tstDeviceStructSize: > error! VGASTATE::StatRZMemoryRead offset=0x13044 (77892) expected alignment > 0x8, meaning 0x4 (4) off [snip] > tstDeviceStructSize: FAILURE - 4 errors > kmk: *** [/«PKGBUILDDIR»/out/obj/Devices/testcase/tstDeviceStructSize.run] > Error 4 kmk: *** Waiting for unfinished jobs.... > kmk: *** Exiting with status 2 > kmk_builtin_append -n "/«PKGBUILDDIR»/out/obj/VMMR0/VMMAll/IEMAll.o.dep" "" > "/«PKGBUILDDIR»/src/VBox/VMM/VMMAll/IEMAll.cpp:" "" make[1]: *** > [override_dh_auto_build] Error 2 > debian/rules:57: recipe for target 'override_dh_auto_build' failed > make[1]: Leaving directory '/«PKGBUILDDIR > > > this seems to be a padding error, caused between 5.0.0 and 5.0.2, and only > when arch is 32 bit. > > So I did a patch (released under MIT or your best license), to fix the > offset by 4, at least on Debian with our configure/build flags > > > I'm not sure this is the best patch (I guess this isn't the best one, I'm > just reporting it there for your best usage), but at least now virtualbox > builds fine on both amd64 and i386 architectures.
could you post the AutoConfig.kmk file which is generated during the build? And do you have a LocalConfig.kmk file as well? I would like to see both because I assume that you are using settings different from our build boxes. Thanks, Frank -- Dr.-Ing. Frank Mehnert | Software Development Director, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany ORACLE Deutschland B.V. & Co. KG Hauptverwaltung: Riesstraße 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
