[vbox-dev] Patches to "build fix for newer yasm" are wrong

Mario Lobo mlobo at digiart.art.br
Sun Nov 3 00:18:36 GMT 2013


On Sat, 02 Nov 2013 12:23:44 +0000
Sérgio Basto <sergio at serjux.com> wrote:

> On Qui, 2013-10-31 at 13:03 +0100, Knut St. Osmundsen wrote: 
> > Hi Sérgio,
> > 
> > Yasm git builds requires the change. As you found out though, yasm 
> > v1.2.0.0 doesn't actually need it as the change was first made some 
> > months later.  I've adjusted the %if on trunk, will show up in a
> > short while on the public subversion repository.
> 
> Thanks, I check and it fixed , at least for yasm 1.2.0 
> 
> 

Hi;

I'm trying to compile 4.3.2 (tried 4.3.0 also) and I get this exact
errors on both attempts:


kBuild: Compiling VBoxVMM
- /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/src/VBox/VMM/VMMR3/PATMA.asm 

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/include/iprt/x86extra.mac:143:
error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS16_size'
in preprocessor 

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/include/iprt/x86extra.mac:143:
warning: (AssertCompileSizeML:5) X86TSS16 is 1 bytes instead of
44 

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/include/iprt/x86extra.mac:206:
error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS64_size'
in preprocessor 

/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/include/iprt/x86extra.mac:206:
warning: (AssertCompileSizeML:5) X86TSS64 is 1 bytes instead of 136

kmk: ***
[/usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.2/out/freebsd.amd64/release/obj/VBoxVMM/VMMR3/PATMA.o]
Error 1

using yasm 1.2.0.

System: FreeBSD Papi 8.3-STABLE FreeBSD 8.3-STABLE #0 r243751M: Fri Jan
11 19:30:42 BRT 2013     root at Papi:/usr/obj/usr/src/sys/LOBO  amd64


VBox 4.2.18 compiles and runs fine!

Do any of could give me some hints on how to fix this?

Thanks!

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE)




More information about the vbox-dev mailing list