Bug 188982 - /usr/ports/emulators/virtualbox-ose error making v. 4.3.10
Summary: /usr/ports/emulators/virtualbox-ose error making v. 4.3.10
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on: 200764
Blocks:
  Show dependency treegraph
 
Reported: 2014-04-25 08:00 UTC by Sergey Balyukov
Modified: 2018-02-26 19:54 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Balyukov 2014-04-25 08:00:00 UTC
===>  Building for virtualbox-ose-4.3.10
cd /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10 && /bin/sh env.sh &&  VBOX_LIBPATH_X11=/usr/local VBOX_FREEBSD_SRC=/usr/src/sys /usr/local/bin/kmk -j4
kBuild: Pass - Build Programs
kBuild: Pass - Libraries
kBuild: Pass - DLLs
kBuild: Installing VBoxDD => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/VBoxDD.so
kBuild: Pass - Programs
kBuild: Installing vboxwebsrv => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/vboxwebsrv
kBuild: Installing webtest => /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/webtest
kBuild: Pass - Other Stuff
/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/testcase/tstDeviceStructSize
kBuild: Pass - Staging
kBuild: Installing /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/dtrace/lib/x86/vm.d
kBuild: Installing /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/dtrace/lib/x86/cpumctx.d
kBuild: Installing /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/dtrace/lib/x86/CPUMInternal.d
kBuild: Installing /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/out/freebsd.x86/release/bin/dtrace/lib/x86/x86.d
tstDeviceStructSize: TESTING
tstDeviceStructSize: info: sizeof(uint128_t): 0x10 (16)
tstDeviceStructSize: info: sizeof(int128_t): 0x10 (16)
tstDeviceStructSize: info: sizeof(uint64_t): 0x8 (8)
tstDeviceStructSize: info: sizeof(int64_t): 0x8 (8)
tstDeviceStructSize: info: sizeof(uint32_t): 0x4 (4)
tstDeviceStructSize: info: sizeof(int32_t): 0x4 (4)
tstDeviceStructSize: info: sizeof(uint16_t): 0x2 (2)
tstDeviceStructSize: info: sizeof(int16_t): 0x2 (2)
tstDeviceStructSize: info: sizeof(uint8_t): 0x1 (1)
tstDeviceStructSize: info: sizeof(int8_t): 0x1 (1)
tstDeviceStructSize: error! VGASTATE::svga.u64HostWindowId offset=0x10d1c (68892) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::GCPhysVRAM offset=0x131bc (78268) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::Dev offset=0x13244 (78404) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::CritSect offset=0x131c4 (78276) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: error! VGASTATE::StatRZMemoryRead offset=0x1349c (79004) expected alignment 0x8, meaning 0x4 (4) off
tstDeviceStructSize: Comparing HC and RC...
tstDeviceStructSize: info: sizeof(PDMDEVINS): 0xc8 (200)
tstDeviceStructSize: info: sizeof(PCIDEVICE): 0x258 (600)
tstDeviceStructSize: info: sizeof(PCIDEVICEINT): 0xe4 (228)
tstDeviceStructSize: info: sizeof(PCIIOREGION): 0x18 (24)
tstDeviceStructSize: info: sizeof(PIIX3State): 0x258 (600)
tstDeviceStructSize: info: sizeof(PCIBUS): 0x684 (1668)
tstDeviceStructSize: info: sizeof(PCIGLOBALS): 0x930 (2352)
tstDeviceStructSize: info: sizeof(ICH9PCIBUS): 0x67c (1660)
tstDeviceStructSize: info: sizeof(ICH9PCIGLOBALS): 0x6c8 (1736)
tstDeviceStructSize: info: sizeof(VGASTATE): 0x139f0 (80368)
tstDeviceStructSize: info: sizeof(MouseCmdQueue): 0x14 (20)
tstDeviceStructSize: info: sizeof(MouseEventQueue): 0x10c (268)
tstDeviceStructSize: info: sizeof(KBDState): 0x378 (888)
tstDeviceStructSize: info: sizeof(KbdKeyQ): 0x50 (80)
tstDeviceStructSize: info: sizeof(KbdCmdQ): 0x14 (20)
tstDeviceStructSize: info: sizeof(PS2K): 0x1a0 (416)
tstDeviceStructSize: info: sizeof(PCNETSTATE): 0x2588 (9608)
tstDeviceStructSize: info: sizeof(ACPIState): 0x1430 (5168)
tstDeviceStructSize: info: sizeof(PICSTATE): 0x40 (64)
tstDeviceStructSize: info: sizeof(DEVPIC): 0xa0 (160)
tstDeviceStructSize: info: sizeof(PITCHANNEL): 0x50 (80)
tstDeviceStructSize: info: sizeof(PITSTATE): 0x1b8 (440)
tstDeviceStructSize: info: sizeof(RTCSTATE): 0x198 (408)
tstDeviceStructSize: info: sizeof(APICState): 0x4dc (1244)
tstDeviceStructSize: info: sizeof(APICDeviceInfo): 0x40 (64)
tstDeviceStructSize: info: sizeof(IOAPIC): 0x140 (320)
tstDeviceStructSize: info: sizeof(BMDMAState): 0x8 (8)
tstDeviceStructSize: info: sizeof(BMDMADesc): 0x8 (8)
tstDeviceStructSize: info: sizeof(ATADevState): 0x238 (568)
tstDeviceStructSize: info: sizeof(ATATransferRequest): 0xc (12)
tstDeviceStructSize: info: sizeof(ATAAbortRequest): 0x2 (2)
tstDeviceStructSize: info: sizeof(ATARequest): 0x10 (16)
tstDeviceStructSize: info: sizeof(ATACONTROLLER): 0x5f0 (1520)
tstDeviceStructSize: info: sizeof(PCIATAState): 0xe50 (3664)
tstDeviceStructSize: info: sizeof(OHCIHUBPORT): 0x8 (8)
tstDeviceStructSize: info: sizeof(OHCIROOTHUB): 0x98 (152)
tstDeviceStructSize: info: sizeof(OHCI): 0x10e0 (4320)
tstDeviceStructSize: info: sizeof(PARALLELPORT): 0x38 (56)
tstDeviceStructSize: info: sizeof(SerialState): 0x134 (308)
tstDeviceStructSize: info: sizeof(AHCIPort): 0x248 (584)
tstDeviceStructSize: info: sizeof(AHCI): 0x47e0 (18400)
tstDeviceStructSize: info: sizeof(EEPROM93C46): 0x94 (148)
tstDeviceStructSize: info: sizeof(E1KSTATE): 0x5158 (20824)
tstDeviceStructSize: info: sizeof(VBOXSCSI): 0x2c (44)
tstDeviceStructSize: info: sizeof(VMMDEV): 0x2cd8 (11480)
tstDeviceStructSize: info: sizeof(BUSLOGICDEVICE): 0x40 (64)
tstDeviceStructSize: info: sizeof(BUSLOGIC): 0x8fc (2300)
tstDeviceStructSize: info: sizeof(LSILOGICSCSI): 0x560 (1376)
tstDeviceStructSize: info: sizeof(HPET): 0x1c8 (456)
tstDeviceStructSize: info: sizeof(HPETTIMER): 0x40 (64)
tstDeviceStructSize: info: sizeof(HDASTATE): 0x7e0 (2016)
tstDeviceStructSize: FAILURE - 5 errors
*** Error code 2

Stop in /usr/ports/emulators/virtualbox-ose.
*** Error code 1

Stop in /usr/ports/emulators/virtualbox-ose.

Fix: 

may be comment

   CHECK_MEMBER_ALIGNMENT(VGASTATE, GCPhysVRAM, 8);
    CHECK_MEMBER_ALIGNMENT(VGASTATE, Dev, 8);
    CHECK_MEMBER_ALIGNMENT(VGASTATE, CritSect, 8);
    CHECK_MEMBER_ALIGNMENT(VGASTATE, StatRZMemoryRead, 8);
    CHECK_MEMBER_ALIGNMENT(VMMDevState, CritSect, 8);

in /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.10/src/VBox/Devices/testcase/tstDeviceStructSize.cpp

but i am not sure!!!
How-To-Repeat: cd /usr/ports/emulators/virtualbox-ose
make
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-04-25 08:00:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->vbox

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Walter Schwarzenfeld 2018-01-12 07:39:27 UTC
We have version 5.2.4. Could be closed.