From nobody Tue Jun 06 10:04:04 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qb5fX5Pt3z4ZrNr; Tue, 6 Jun 2023 10:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qb5fX4lVqz4Hq2; Tue, 6 Jun 2023 10:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686045844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4CZAS+Q0Pmu7uPvRmGzfI4UrFQhwOm0uXoKulzlp7Ms=; b=gEfvPfo2VXg/oUqaaEGRmHGi5PXW4PnaAlSVlDFayu3D7pD33CplmsBS9wDOKdX5sm2jrh g/cCFGkRbTCOJiVyn+ern9Forcet7hFukl9Sxgo0wOTZI6RLtVLyP/cm1jnhjNOkqNmS1Z bZ8nkv6tQ4u7YhMyoCOmEQxf1eNcm6xMsI5KAT2AaqfmIU2N2u8+ymywPxip5hoS4G70Vg epYyKjXBW9UqdCOm9uJCniOADID1j1zeWW7z72euIAPr7sDQ9cZVRdmkwZwBBMcBI9x6p/ Sr7Pximypj0rFIpkhv/fncdiQhgMS6HXzi2vRS25OpIGGKB0DhBFLE6eI9lCnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686045844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4CZAS+Q0Pmu7uPvRmGzfI4UrFQhwOm0uXoKulzlp7Ms=; b=nbWEy/W18k17zPN+at/9qUBzmcxpSox2iysJ0UnU+QI0/LV/G3YzOFp0kbYIo37EkPVed2 c0l9k7SzdQGd5P7OY3ZT8RI6pSi7P9fq4lweJQ14Q9ytGpADj40Nca2GyVaAw85K7Cs47Y rYzMrjiZn+M/78wydS3IiFDbt9MDgm5JUQonm7hzYflzlsm+mRwoquEAu0tZ4VXnzH9zeM Czb1W0w3FqUwPSC9PCL8Kk+giIe59KO/iF0Qwcyrn1erNZhHUYgqjeXamNYIP7KsB7Hf85 jMTpEzDSI02jTnSmfsDrmzgXwkmY/nGZWvy+LJqQh5t9YYLkISm5e23WWOH9Rw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686045844; a=rsa-sha256; cv=none; b=HDETOY1eR+boA/3J3BP9sAFC0idwZ2FUrF4E3Q48ytP5TeIl9+9yx1h0YXrpawy99gX7kS NB1HkhQdkpsSSUSwK638tKOSgIVcEEtgi1j2JEasAjjWL2bvsa1b3p2LNQKzzhVY8vp2b3 uSWBKQpM4YlyxwFjF64MySNWHF95VWNHiZv2dsMjp0ut6U4su/KSlR6PxkbrHanyVOOMsu +cCkCk0YAD1kWmXsJCr46ahJMwqp3DhuUF0WyrnXWyazXfNV6+6UXtTyKt4+hyNBPrAiJs WkHP3XmOteVz9urN59Eyme+WFO40c+/v0T8pFD11cxOnh0kyYwqYr6+sKayYAQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Qb5fX3qgbzQSY; Tue, 6 Jun 2023 10:04:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 356A447v071399; Tue, 6 Jun 2023 10:04:04 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 356A44un071398; Tue, 6 Jun 2023 10:04:04 GMT (envelope-from git) Date: Tue, 6 Jun 2023 10:04:04 GMT Message-Id: <202306061004.356A44un071398@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Vladimir Druzenko Subject: git: 8febe8bdd560 - main - emulators/virtualbox-ose-legacy: build fails on FreeBSD 12.4, 13.1 and 13.2 (all supported releases) List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: vvd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8febe8bdd5601e924af96ccef69b1f367269ff8a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=8febe8bdd5601e924af96ccef69b1f367269ff8a commit 8febe8bdd5601e924af96ccef69b1f367269ff8a Author: Vladimir Druzenko AuthorDate: 2023-06-06 09:57:47 +0000 Commit: Vladimir Druzenko CommitDate: 2023-06-06 10:03:52 +0000 emulators/virtualbox-ose-legacy: build fails on FreeBSD 12.4, 13.1 and 13.2 (all supported releases) llvm 13 and 14 included in FreeBSD fails to compile, force llvm 15 on all versions of the FreeBSD except lastest 13 and 14 where the llvm 15 is included. Keep possibility to define different llvm via VBOX_LLVM_VER in make.conf. PR: 265539 Reported by: freebsd@charles.lecklider.org Tested by: grahamperrin Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D40408 --- emulators/virtualbox-ose-legacy/Makefile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/emulators/virtualbox-ose-legacy/Makefile b/emulators/virtualbox-ose-legacy/Makefile index ef5aa96c2056..be9897e5f61a 100644 --- a/emulators/virtualbox-ose-legacy/Makefile +++ b/emulators/virtualbox-ose-legacy/Makefile @@ -206,22 +206,16 @@ KMK_FLAGS+= -j${MAKE_JOBS_NUMBER} .include -.if ${OPSYS} == FreeBSD -.if ${OSVERSION} >= 1400059 -BROKEN= Fails to compile with libc++ 14.0.3 -.elif ${OSVERSION} >= 1301000 && ${OSVERSION} < 1400000 -BROKEN= Fails to compile: error: ran out of registers during register allocation -.endif -.endif - -.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && ${OSVERSION} > 1400022 -# clang > 11 included in FreeBSD 14 fails to compile this legacy version -# of virtualbox-ose, force clang 11 on FreeBSD 14 where a newer clang is -# included. +.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD && \ + (${OSVERSION} < 1302505 || (${OSVERSION} >= 1400000 && ${OSVERSION} < 1400079)) +# llvm 13 and 14 included in FreeBSD fails to compile this legacy version of +# virtualbox-ose, force llvm 15 on all versions of the FreeBSD except lastest 13 +# and 14 where the llvm 15 is included: PR#265539. +# Keep possibility to define different llvm via VBOX_LLVM_VER in make.conf. BUILD_DEPENDS+= clang${VBOX_LLVM_VER}:devel/llvm${VBOX_LLVM_VER} CC= clang${VBOX_LLVM_VER} CXX= clang++${VBOX_LLVM_VER} -VBOX_LLVM_VER?= 11 +VBOX_LLVM_VER?= 15 .endif .if ${PYTHON_MAJOR_VER} >= 3