From nobody Sat Apr 27 14:14:38 2024 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 4VRWnC0trsz5JC6h; Sat, 27 Apr 2024 14:14:39 +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 4VRWnC0Ntyz3xZ9; Sat, 27 Apr 2024 14:14:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714227279; 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=tZjIxIuJH+HfPIQqgI0YLa0++w8qWMnBpob9hUSEAfo=; b=TZkm1kS1t6p39AjLzX9f83xeA/nxdqc8tpGUwQnyQiqbf50QHSZ3qD5xFORxXSqCxiJwSl Z75OCgLDywvOttx7l8D2fWGQNz9B4fJU66kwPbziphsM9jf3vTN/PaB7BhdXMf8fRArzcd cqwnJeiH+nvsT7PnPVNIPMrrgyyBQnmmAm6TRIAD5Hmyc08IPSbzwEJnMMbd4L/b0+TeU9 jo60P1OZOM29qmhZw44T6CtpfHpy7aGq7JIzJT8IA0/iMLEQ968nB0KPOlHNgqMIu1j/Fk Cs/OfFH4C5MJuq2FnyvsFaYKTkTGjqO3xZkYQ7AdopvdYWQ0p+SFP8p45eujlQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714227279; a=rsa-sha256; cv=none; b=Ab+2fykisJ7Ir1zpB9gzqRXdRDeFDqm7Fri2xiUHtLPcOFJ4N7ro5ZdbG6+4yMryJwGLrU CRENE8oseeAAZ1Fc51yfv66rG8shrvDXmMYNDEWl270yf9n7b3Hi4YgZpyajyU2ELQs/i5 bj6f8mgyNO3yLIdcAJRq95UMM0hRuPSc268UGvCSZzNPhEeg6zNoXqYGho8FkLA+VfL2s3 gjn3xHeIliltAe+nhQmJCNUPBXDFF8Mp20HztCUjgsEunRYUkiE2g/ypbGVO1p5p07jUZ4 1YK3jK4La9lxqBandM3fufOu/uu2YAnOEWv5nioSL/bQ8xfqcIzbcqQvCK72DA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714227279; 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=tZjIxIuJH+HfPIQqgI0YLa0++w8qWMnBpob9hUSEAfo=; b=mmB2RamTfavoX/BfgAXzJ06iAij1MTWE45dHD5egFNUvyzd1rVHn5bal/0oUSFSExweeXh 8NcnEEU/ooV4Yu2/n1yIaOSq/VNVVyqF0KXlO4TR3JClWT1Qf+LZOB+CSONZsTE/M3YG+X VSuFiD49MWM4IZqj1MN5dY9+LdlmOVjCLGXsKsFdPK5DrMZut5Sf7TlE2nw0iI4Dw5suzG b9C47A2HZU/oZBo/m7oFQmDQDpALxr0R8zoMUWAudXWQzGCQhCbpRruUScz05fn0yCHpoN /biXHB2AkzceRAvHCbhSSH8FFUu35sjIaxZRzeRv2m4JWaahCTG2O4ZA5bLOBg== 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 4VRWnB75hRzV9v; Sat, 27 Apr 2024 14:14:38 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 43REEcaH064435; Sat, 27 Apr 2024 14:14:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 43REEcoo064432; Sat, 27 Apr 2024 14:14:38 GMT (envelope-from git) Date: Sat, 27 Apr 2024 14:14:38 GMT Message-Id: <202404271414.43REEcoo064432@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 033129624c01 - main - lang/rust: drop bfd on powerpc 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 033129624c01f22cc86bf839d110cc239b682c79 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=033129624c01f22cc86bf839d110cc239b682c79 commit 033129624c01f22cc86bf839d110cc239b682c79 Author: Piotr Kubaj AuthorDate: 2024-04-26 17:21:35 +0000 Commit: Piotr Kubaj CommitDate: 2024-04-27 14:14:34 +0000 lang/rust: drop bfd on powerpc --- lang/rust/Makefile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lang/rust/Makefile b/lang/rust/Makefile index 568ec5e938a1..819cab84eddf 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -201,12 +201,10 @@ do-configure: # Rust doesn't call the system compiler with the full version of the target. # This makes powerpc miscompile due to the secure-plt ABI change. # Additionally, force using ld.bfd to work around a linking problem in rustc_mir - @${PRINTF} '#!/bin/sh\nexec ${CC} "$$@" --target=powerpc-unknown-freebsd13.0' > ${WRKDIR}/cc-wrapper + @${PRINTF} '#!/bin/sh\nexec ${CC} "$$@" --target=powerpc-unknown-freebsd13.2' > ${WRKDIR}/cc-wrapper @${CHMOD} +x ${WRKDIR}/cc-wrapper - @${PRINTF} '#!/bin/sh\nexec ${CXX} "$$@" --target=powerpc-unknown-freebsd13.0' > ${WRKDIR}/cxx-wrapper + @${PRINTF} '#!/bin/sh\nexec ${CXX} "$$@" --target=powerpc-unknown-freebsd13.2' > ${WRKDIR}/cxx-wrapper @${CHMOD} +x ${WRKDIR}/cxx-wrapper - @${PRINTF} '#!/bin/sh\nexec ${CC} -fuse-ld=bfd "$$@" --target=powerpc-unknown-freebsd13.0' > ${WRKDIR}/ld-wrapper - @${CHMOD} +x ${WRKDIR}/ld-wrapper .endif .for _target in ${_RUST_TARGETS} @${ECHO_CMD} '[target.${_target}]' >> ${WRKSRC}/config.toml @@ -218,11 +216,7 @@ do-configure: @${ECHO_CMD} 'cc="${CC}"' >> ${WRKSRC}/config.toml @${ECHO_CMD} 'cxx="${CXX}"' >> ${WRKSRC}/config.toml .endif -.if ${ARCH} == powerpc - @${ECHO_CMD} 'linker="${WRKDIR}/ld-wrapper"' >> ${WRKSRC}/config.toml -.else @${ECHO_CMD} 'linker="${CC}"' >> ${WRKSRC}/config.toml -.endif .if ${PORT_OPTIONS:MPORT_LLVM} @${ECHO_CMD} 'llvm-config="${LOCALBASE}/bin/${LLVM_CONFIG}"' >> ${WRKSRC}/config.toml .endif