From nobody Sun Dec 11 19:16:28 2022 X-Original-To: dev-commits-ports-all@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 4NVZHc5xfYz4kDfy; Sun, 11 Dec 2022 19:16:28 +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 4NVZHc5X0Bz3qVm; Sun, 11 Dec 2022 19:16:28 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670786188; 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=mzuIArWwFqjodtvmdQXiz5jaY15Ja+okgf7iGsnWgwk=; b=VaRxLJeUINcItEN1EZTuUgbiLS26lmzvuxQ/rbQlKRHKlezI5o2RGODHRzshRNt3AmPt1+ yOizYSAeohkvkkmrYkRlIFOypFKGQq/XGI88T7NahNEh48PUStpSBhs6X/M8Xc65FgiEPJ gMYE5nwqYC79DXzekx8BUnHHk9JxPnb0n0XK9DAyZfH76tTlmalGI0Q1lFBaK91PpNDfO9 G6ItdQfy+YNrt2lmZ94/wolFgULlcYwceRSgJqtO+INMLl/V0aA0RDXhnafX4d3lgIFeWs N/lXiLZDLvoi9r3ZBJ0KOKWZ2oxIfR0IN0kxRdio2bA1P/pnz/h/55NHC8Fy1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670786188; 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=mzuIArWwFqjodtvmdQXiz5jaY15Ja+okgf7iGsnWgwk=; b=b1NeFLSKJCQFCU/d/2tBMNZZz/o5/Gexx5THnCNRMHfVYQVLYF7Uh7g7Sk6SzwxTnG8x0N SpEYpX594NLyfImbv+s6OAZfJEWhV9NqaRj5oWt5KWokCfdW6gcPxroSEL4NGrc9BonPOD AMbBSVWIsyrPcc7Ys7X/Wbk3kU7cYo4KC8IwG8Ja/rJUFp68YRGhMEvqYyQH04lMLsz7mo w/EunhstX0efVhP5XkG4b35HSFOxN9XIYwJLxoF2IataJxB+fBCyrc4fq9H6gNzucduQl0 JA35neK0b9Nxq/tpee3SHiFc9Lnyo5Q/cVW5KqQSaeJUGRgfuN83NaMIqq8gkg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670786188; a=rsa-sha256; cv=none; b=dNtwi062notSQJowgpI3mPys416B2rfGm/8jIswa1b6oOvXjWXA465g5yJF5W8PtTHmYkH LKjfKmy3eXdabv6k0cizRu0ucwfzFCrrWpxS38m+lAp5vFZWQIKz2V9xmUFLn62Hl79xTi /IORoR1Vc2M15jJqD3wMpmq5//hVU878bulRunTwwNGUbYvqDZf4Gq01SNz3f7KEyMpDAR rId7Xyu+X/vqGF2onLsgP/ECMvaaVVgiv8muluKjDAGlpC77vFBRHwSBinzRHqFN6m/ZDN etYg6spBwIdD/yn8vq/4UVCWAvqr272j3GrwbRbrMp2bbvu+K+U6XFFrnd9sSQ== 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 4NVZHc4VVYz15w6; Sun, 11 Dec 2022 19:16:28 +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 2BBJGS5K012187; Sun, 11 Dec 2022 19:16:28 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BBJGSNg012186; Sun, 11 Dec 2022 19:16:28 GMT (envelope-from git) Date: Sun, 11 Dec 2022 19:16:28 GMT Message-Id: <202212111916.2BBJGSNg012186@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 02542ea91df1 - main - cad/nvc: Disable LTO on i386 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02542ea91df19ec0d3637301c3c5cbc997f6d606 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=02542ea91df19ec0d3637301c3c5cbc997f6d606 commit 02542ea91df19ec0d3637301c3c5cbc997f6d606 Author: Yuri Victorovich AuthorDate: 2022-12-11 19:15:21 +0000 Commit: Yuri Victorovich CommitDate: 2022-12-11 19:16:26 +0000 cad/nvc: Disable LTO on i386 Otherwise LTO fails, see bug#268319 --- cad/nvc/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cad/nvc/Makefile b/cad/nvc/Makefile index 34dd21b2b938..4b8e9d10d601 100644 --- a/cad/nvc/Makefile +++ b/cad/nvc/Makefile @@ -12,7 +12,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= compilation fails: no member named '_gregs' in 'mcontext_t'; did you mean '__gregs', see https://github.com/nickg/nvc/issues/534 BROKEN_armv7= compilation fails: no member named '_gregs' in 'mcontext_t'; did you mean '__gregs', see https://github.com/nickg/nvc/issues/534 -BROKEN_i386= link fails: error: undefined symbol: _GLOBAL_OFFSET_TABLE_, see error: undefined symbol: _GLOBAL_OFFSET_TABLE_ BROKEN_FreeBSD_14_i386= clang creashes, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265826 BUILD_DEPENDS= llvm-config${LLVM_VERSION}:devel/llvm${LLVM_VERSION} @@ -35,6 +34,9 @@ GNU_CONFIGURE= yes LDFLAGS+= -lexecinfo CONFIGURE_ARGS= --with-llvm=${LOCALBASE}/bin/llvm-config${LLVM_VERSION} +.if ${ARCH} == "i386" # see the bug#268319 for the LTO failure on i386 +CONFIGURE_ARGS+= --disable-lto # workaround for https://github.com/nickg/nvc/issues/579 (undefined symbol: _GLOBAL_OFFSET_TABLE_, see error: undefined symbol: _GLOBAL_OFFSET_TABLE_) +.endif TEST_TARGET= check # several tests fail, see https://github.com/nickg/nvc/issues/530 TEST_WRKSRC= ${WRKSRC}/.build