From nobody Wed Mar 1 17:46:41 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 4PRhW61D88z3v7vg; Wed, 1 Mar 2023 17:46:42 +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 4PRhW60nhqz42K7; Wed, 1 Mar 2023 17:46:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677692802; 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=IR/Yoj0qJG0MolvvFSMYU0i09XR2JtUVsvBLSBzGrpY=; b=q8mmqoD1T5iSZmwA+jdlzflsEuQIdGEhd/Kj925a0x3BzdfpPndAZJB/M+4+u+m+cqZv/N WitfqBWc5351lwJqPgnzO6Xq9SkIPa81sw2ePfm4ERT/V9hhYcfzzxuEg86xIruT9z9bPn o2cxUS+TXsmIF1LlT0bBhnylviBg3djyjI9lMc9bcTb6c3r35JrqyZMA3DJQZcblJiH7PG d9ykOHHpO+v66/3wFKIJ2AulWRyaKVaPSaRZ2oGA+hSd/KNddD2qffNcN2vaCwJdLV/ohS yukT2ACoLQViYG1o/34JOdgSOvkMwb1+S3NLa6b3AEKUteIJAzfUzBfj0sGdnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677692802; 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=IR/Yoj0qJG0MolvvFSMYU0i09XR2JtUVsvBLSBzGrpY=; b=TVhxIcTcyaCCdb3snZN9ZjG5NrhhteR7TAoQKHFE5X1kw5xKe8uMj8f72IYTDFy2fLX2IX rc3J9npvr4zPfZxCaYk6EVTGC/e7ytT5Kx7pKiDa5RDh7SBVteIdiH1X+9KGF+C5enA9gv D2XVqB+ZCJr/vmOa29Xo/+RmivyOgFvH7n0SZVke/2OqB3rQkSk2S30eNvS4t/4KOuuCc4 3pvG28oTkFl8/o17dz9nYVALxXilojdAdsLUpGU+kEryT24s5qZ90zfIKYExsufP+H0yaI h9k3f+nfN4KTF/f3TI4F7Xbo9snFvwLUwzdL1BSABzWnzmaL8HPxTn8NXcSCLg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677692802; a=rsa-sha256; cv=none; b=cyBsJV93hG3TV0sUr51YKAO+Sm3d1loakMgFtXWYn6/Sm5EBIZ6YfqMW95lgRD0KBEwBqh 0+/f9FeTiPaUYeamsNgqporvo0G4a/VlHzg+hPgZpBcOlsvipIxFZxuWrhFxqdprPWVvlV PQeHZHz+2r71C2pYosLIOa/vkddoAPCdhaO+XwEC7is/m5yV18HIvBj3gbUKrAsOEOXr76 ndY1WYfOuua5cDCyT/FVgJSOymz3q5xX5yeRBAi2c1xoFAyWIGz9N4NIOOPvgzBvkzIBeN C+t+KZOPX94Vf9tUrNeJJaKO45rrO0qWAS6gIas65HFK90Li2pwLDrRQqcstTQ== 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 4PRhW56yXYzk9n; Wed, 1 Mar 2023 17:46:41 +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 321HkfPK017069; Wed, 1 Mar 2023 17:46:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 321HkfF7017068; Wed, 1 Mar 2023 17:46:41 GMT (envelope-from git) Date: Wed, 1 Mar 2023 17:46:41 GMT Message-Id: <202303011746.321HkfF7017068@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Alfonso S. Siciliano" Subject: git: ef0c6dcb3d07 - main - games/trigger-rally: fix build with lld 15 on i386 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: asiciliano X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ef0c6dcb3d0725c090609342ce8239427d39ce3b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by asiciliano: URL: https://cgit.FreeBSD.org/ports/commit/?id=ef0c6dcb3d0725c090609342ce8239427d39ce3b commit ef0c6dcb3d0725c090609342ce8239427d39ce3b Author: Alfonso S. Siciliano AuthorDate: 2023-03-01 17:39:38 +0000 Commit: Alfonso S. Siciliano CommitDate: 2023-03-01 17:46:10 +0000 games/trigger-rally: fix build with lld 15 on i386 ld: error: ../bin/trigger-rally:(.eh_frame+0xa40b): internal linker error: wrote incorrect addend value 0x4A042E4A instead of 0x0 for dynamic relocation R_386_32 at offset 0x429B53 against symbol __gxx_personality_v0 PR: 269812 Reported by: pkg-fallout Approved by: fernape --- games/trigger-rally/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/games/trigger-rally/Makefile b/games/trigger-rally/Makefile index 747b5404bdb5..ff6d08904240 100644 --- a/games/trigger-rally/Makefile +++ b/games/trigger-rally/Makefile @@ -34,6 +34,16 @@ PORTDOCS= README-stereo.txt README.txt DATA_AUTHORS.txt OPTIONS_DEFINE= DOCS +.include + +# The following is actually meant for lld 15.0 and later, but the ports +# framework does not support LINKER_TYPE and LINKER_VERSION yet. +.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 150 +# Turn off checking of dynamic relocations, to avoid lld diagnostics about +# possibly incorrect addend values. +LDFLAGS_i386+= -Wl,--no-check-dynamic-relocations +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Trigger/main.cpp @@ -53,4 +63,4 @@ do-install: ${MV} ${STAGEDIR}${DATADIR}/icon/trigger-rally-icons.svg \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps/trigger-rally-icons.svg -.include +.include