From owner-freebsd-ports@freebsd.org Sun Jul 15 16:26:50 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71C8810457FA for ; Sun, 15 Jul 2018 16:26:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-21.consmr.mail.bf2.yahoo.com (sonic312-21.consmr.mail.bf2.yahoo.com [74.6.128.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0A5D28DA35 for ; Sun, 15 Jul 2018 16:26:50 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: exeg_OkVM1m0d7X4XourVLGn56JJBxpRTDCx_1taecAlawhW0OsOAa7csO1jSH3 M_E4Or1v3YKs_S9UYq5UhsQ7BMqamjYPCbTHtMCUwTQm4W4hKuxVwgrYxAVZTcdFl19sbBYfULX1 IdkR0alRvtdLaR4LswC9F1jZYFZexREfdN1LbQQ0VDrYm2OUu3MmDMGd8irNf_QsH9NLANXY2WTe PI1LLAbEGJfRKID6FkrNxvTrWmzOQw14NCsvHR.WCRChEoxA398Ks0zD6AdCPNmq1VxOZXWAYsuy ZBdVZUWvkoFdQyAStOmUuZt7QfpJaM02bKIt3dBVHLe_fLHKgXrkpKUDiixgIakVr.iQFk952VFo 3hJplt9psQIX47_OFMHjk_Q2Hpc.LRT.sokO4f7NVqacgem.WeF9I3fKTZ5V2NSxdMkbaaapQHCd RwEOSZBIDBxCdekWPF0fC1zjxFm7h7T5pw990ksvqQCZKBqQoNLRzWE.0hy1raM70k9jaM5erytL 6jHDBcjgIBXsxNEHEcIiilql6bxWEr0lbVfJJSg_h9.ituos6DozHbr0rm6AvbjLaUbapE6Uzp_C PCqUoCV3MuXsWqbks9mkt.qrrrnlNPOz7i1YDbkW6A9h4cdiPqldoaxC_22XxfTsaQrp7IALP.HQ hK4XzkHkaCKAbQFIwRT71fgL3b2h2ivyFrKtEZdd9C.inzM4iSbwFwlHs1llr1sx7G8SQkbJuysO SOrHbLUZdhE0wNJ4fO5of8FgretsjtMDI0MgznAyi.Jx8BQuztpbH4bRjeqzltnk_Mh7mCHy.vUr bhiu8R2IrXUX.4EIBp3UuTQ76Toj1ksr58OjeAuqeuAlgk0G_l_1D3hBRJB_tST.bcGq7978Qup9 EhJYboEtsS2ujOI9pZlYrzkMogQXvqxq.pIiMPD6j4K7pu.5xNiChHaljbnzBoef3pUjJJGAIzDt egga67kxFKQdzZMWWQKTQBh_XtseBCP2u7WcIzKBTOUOQrJ_EkN48UJ93OfvUI8A- Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.bf2.yahoo.com with HTTP; Sun, 15 Jul 2018 16:26:43 +0000 Received: from ip70-189-131-151.lv.lv.cox.net (EHLO [192.168.0.105]) ([70.189.131.151]) by smtp431.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 083c9ef6050fad2f377dee34875f1311; Sun, 15 Jul 2018 16:26:41 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: emulators/virtualbox-ose-additions-nox11 fails to build in poudriere-devel for amd64 context: fails CTASSERT(sizeof(struct pcpu) == UMA_PCPU_ALLOC_SIZE) Date: Sun, 15 Jul 2018 09:26:39 -0700 References: To: jkim@FreeBSD.org, FreeBSD Current , FreeBSD Ports In-Reply-To: Message-Id: <73DCC023-F5DF-47C2-A1F9-2893924DCC7D@yahoo.com> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2018 16:26:50 -0000 [The build got to emulators/virtualbox-ose-additions and it also failed this way. The PAGE_SIZE warning did not occur. More notes added after the quoted history.] On 2018-Jul-15, at 7:49 AM, Mark Millard wrote: > The failure: >=20 > kBuild: Compiling VBoxGuestR0Lib - = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibPhysHeap.cp= p > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/src/VBox/GuestHost/HGSMI/HGSMIMemAlloc.cpp:55: > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/VBox/Graphics/HGSMIMemAlloc.h:31: > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/VBox/Graphics/HGSMIDefs.h:35: > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/VBox/Graphics/VBoxVideoIPRT.h:32: > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/iprt/string.h:45: > In file included from /usr/src/sys/sys/libkern.h:41: > In file included from /usr/src/sys/sys/systm.h:112: > /usr/src/sys/sys/pcpu.h:207:1: error: static_assert failed = "compile-time assertion failed" > CTASSERT(sizeof(struct pcpu) =3D=3D UMA_PCPU_ALLOC_SIZE); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/sys/sys/systm.h:107:21: note: expanded from macro 'CTASSERT' > #define CTASSERT(x) _Static_assert(x, "compile-time assertion = failed") > ^ ~ >=20 > (There are other example places that fail the same assert condition.) >=20 > There is also a warning for PAGE_SIZE being redefined: >=20 > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/src/VBox/Additions/common/VBoxGuest/lib/VBoxGuestR0LibInit.cpp:33= : > In file included from = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/iprt/string.h:45: > In file included from /usr/src/sys/sys/libkern.h:41: > In file included from /usr/src/sys/sys/systm.h:111: > In file included from /usr/src/sys/sys/param.h:141: > /usr/include/machine/param.h:101:9: warning: 'PAGE_SIZE' macro = redefined [-Wmacro-redefined] > #define PAGE_SIZE (1< ^ > = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-nox11/work/VirtualBo= x-5.2.14/include/iprt/param.h:52:10: note: previous definition is here > # define PAGE_SIZE 4096 > ^ >=20 >=20 > Context: >=20 >=20 > # uname -apKU > FreeBSD FBSDUSSD 12.0-CURRENT FreeBSD 12.0-CURRENT r336301M amd64 = amd64 1200072 1200072 >=20 >=20 >=20 > # svnlite info /usr/ports | grep "Re[plv]" > Relative URL: ^/head > Repository Root: svn://svn.freebsd.org/ports > Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 > Revision: 474654 > Last Changed Rev: 474654 >=20 >=20 >=20 > The "M" in r336301M is mostly for use with powerpc* family experiments = based > on modern C/C++ compilers: >=20 > # svnlite status /usr/src/ | sort > ? /usr/src/sys/amd64/conf/GENERIC-DBG > ? /usr/src/sys/amd64/conf/GENERIC-NODBG > ? /usr/src/sys/arm/conf/GENERIC-DBG > ? /usr/src/sys/arm/conf/GENERIC-NODBG > ? /usr/src/sys/arm64/conf/GENERIC-DBG > ? /usr/src/sys/arm64/conf/GENERIC-NODBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG > M /usr/src/Makefile.libcompat > M /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp > M /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp > M /usr/src/crypto/openssl/crypto/armcap.c > M /usr/src/lib/libkvm/kvm_powerpc.c > M /usr/src/lib/libkvm/kvm_private.c > M /usr/src/release/Makefile.vm > M /usr/src/release/scripts/mk-vmimage.sh > M /usr/src/release/tools/vmimage.subr > M /usr/src/secure/lib/libcrypto/Makefile > M /usr/src/stand/defs.mk > M /usr/src/stand/powerpc/boot1.chrp/Makefile > M /usr/src/stand/powerpc/kboot/Makefile > M /usr/src/sys/arm64/arm64/identcpu.c > M /usr/src/sys/conf/kmod.mk > M /usr/src/sys/conf/ldscript.powerpc > M /usr/src/sys/powerpc/aim/mmu_oea64.c > M /usr/src/sys/powerpc/ofw/ofw_machdep.c emulators/virtualbox-ose-additions also got the error. But it did not get the PAGE_SIZE warning. There was also in both variants the likes of (3 times for each): = /wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.= 14/src/VBox/Runtime/common/asm/ASMSerializeInstruction-iret.asm:46: = warning: `ss' segment register ignored in 64-bit mode And there were lots of notices for: warning: flexible array members are a C99 feature [-Wc99-extensions] warning: 'register' storage class specifier is deprecated and = incompatible with C++17 [-Wdeprecated-register] =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)