From owner-freebsd-emulation@FreeBSD.ORG Tue Nov 19 12:15:42 2013 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 30E48842 for ; Tue, 19 Nov 2013 12:15:42 +0000 (UTC) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED9F52BD7 for ; Tue, 19 Nov 2013 12:15:40 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.76) (envelope-from ) id 1VikDN-0002P8-6A for freebsd-emulation@freebsd.org; Tue, 19 Nov 2013 13:15:33 +0100 Date: Tue, 19 Nov 2013 13:15:33 +0100 From: Matthias Apitz To: freebsd-emulation@freebsd.org Subject: Fwd: Re: [vbox-dev] VirtualBox 4.3.0: yasm cannot reference symbol `X86TSS64_size' in preprocessor Message-ID: <20131119121533.GA8856@sh4-5.1blu.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Matthias Apitz List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Nov 2013 12:15:42 -0000 fyi; any comments? thx matthias ----- Forwarded message from "Knut St. Osmundsen" ----- Date: Tue, 19 Nov 2013 12:24:05 +0100 From: "Knut St. Osmundsen" To: vbox-dev@virtualbox.org Subject: Re: [vbox-dev] VirtualBox 4.3.0: yasm cannot reference symbol `X86TSS64_size' in preprocessor On 11/15/2013 8:53 AM, Matthias Apitz wrote: > Hello, > > This is with FreeBSD 10-CURRENT, SVN revision r255948 with ports as r328930 > (all around 1st of October) on i386 architecture; > > making emulators/virtualbox-ose gives: > > # make install clean BATCH=yes USE_GCC=any > ... > kBuild: Pass - Build Programs > kBuild: Pass - Libraries > kBuild: Pass - DLLs > kBuild: Compiling VBoxVMM - > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/src/VBox/VMM/VMMR3/PATMA.asm > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86extra.mac:143: > error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS16_size' in preprocessor > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86extra.mac:143: > warning: (AssertCompileSizeML:5) X86TSS16 is 1 bytes instead of 44 > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/include/iprt/x86extra.mac:206: > error: (AssertCompileSizeML:2) cannot reference symbol `X86TSS64_size' in preprocessor > /usr/ports/emulators/virtualbox-ose/work/VirtualBox-4.3.0/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.0/out/freebsd.x86/release/obj/VBoxVMM/VMMR3/PATMA.o] This isn't a yasm issue nor a VBox one. It's just that your kBuild isn't up to date. In particular, the kBuild/tools/YASM.kmk file is missing a define for indicating the pass for generating make file dependencies (KBUILD_GENERATING_MAKEFILE_DEPENDENCIES). In this pass the AssertCompileSize* macros needs to be disabled to prevent the above errors. Kind Regards, Knut. _______________________________________________ vbox-dev mailing list vbox-dev@virtualbox.org https://www.virtualbox.org/mailman/listinfo/vbox-dev ----- End forwarded message ----- -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards