From nobody Mon Apr 24 19:06:19 2023 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 4Q4vk41sbnz47D9v; Mon, 24 Apr 2023 19:06:20 +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 4Q4vk41NwSz3JCc; Mon, 24 Apr 2023 19:06:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682363180; 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=pddsM9xiMqfQQejj7Y3fgVskryNpC82QCU+e86dz7yQ=; b=WE99UvCricoACyoI5DEM5jjrbyLUQMccKWBFR1nf3R9VRKUaDlKU/EZMjoB46mEHlpq2Va 4TbAGDH57AmYQFf3uD7l2tQsPRxq/zfsbKFVQBxldYPt8oqM3LVkFji8/Zm0MLspBnJ3K4 hTsL6ZjIqERqO/Vqv28egWXfUVqLA+YzeO8Ic52Bz4sFb/5oNC7vnvUQBcJkTV21FIB28Y haGP3IzzNgiCWFwoPt5HlZBP6Wz/BqxaeJjJ0APLYbWt4iOrCG3qSQUDOEOijDF57luspq 7g8EKDz0G9v0YFOPyWhEOjYmrqj2Hj9N2vGWzbT5qzMDkKCG1jVAXUpQdMlr8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682363180; 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=pddsM9xiMqfQQejj7Y3fgVskryNpC82QCU+e86dz7yQ=; b=VGBdfZGWzsBYTaOFai0qyS7OOY+sPb8wCTSaMrr6E9HPvPcUIKAh9M0YXZ9/kszCregK4z JwQ3tDRz5LN6rgy6mMeXRsvHU3EnYhPjbyR7jFzLIaB5goYfI2BuHPxDDk9G86X66J1Icw 0hTR3qUrAxg+aIwJs9CfkZpFLB3z93UW7OGs7gWBrLTlzly1I3TAHJDhur6XfKB9LBMqOi 8cdwS67NjUksh7KjWn3QrkxK+6JXg8cl9cRpG8UGrbIde+zW3pIFOhiP04wG6adIbmsZKk uwWzm/hVM97/6ebQizwv9Q4R8YBr78x7j0rxDufja/M6qFaz9Q6nRX0VJ5bJ/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682363180; a=rsa-sha256; cv=none; b=AXFxtCaL0XxDpv5lFDl67d89L9By8YaVjEaxRHOL2d4fILURA190WyWn94A75BCkzk7ded N+rDHtduKzUwrWn5z2oaJvgtvlfQjWiOmtn6EUZuk1G1IdNzzpfKg8S9jF7z/lL8AwSMo/ A3hN2fYj0PMeHdQhj1H0eTVGiTOQhCoUkOEklRWuKvSpqMPwcVw8ChalnuZykCZu24Wizq I7fx8r9tQ6hqMCD85qzyc/vMCa/JqR7kuflSYv5Yoi7SbrXIoAbjWHE/dUCmC3c7NpDeGV n8/xtz0zf3nIeGUA1BoYLKn2GavVFiTtqW3qX+dhy465KGuZ39b9Y0BdFPIyNw== 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 4Q4vk40Pxjzcpg; Mon, 24 Apr 2023 19:06:20 +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 33OJ6Jbo014856; Mon, 24 Apr 2023 19:06:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33OJ6JRB014855; Mon, 24 Apr 2023 19:06:19 GMT (envelope-from git) Date: Mon, 24 Apr 2023 19:06:19 GMT Message-Id: <202304241906.33OJ6JRB014855@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ed Maste Subject: git: e6b5fb28a560 - main - math/trlan: fix build for base system WITH_LLVM_BINUTILS 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: emaste X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e6b5fb28a560cda9f101a2c2fc55ef70f00a2179 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/ports/commit/?id=e6b5fb28a560cda9f101a2c2fc55ef70f00a2179 commit e6b5fb28a560cda9f101a2c2fc55ef70f00a2179 Author: Ed Maste AuthorDate: 2023-04-21 20:21:16 +0000 Commit: Ed Maste CommitDate: 2023-04-24 19:05:08 +0000 math/trlan: fix build for base system WITH_LLVM_BINUTILS Use strip --strip-unneeded instead of strip -x. strip -x strips all non-global symbols, but there are some non-global symbols referenced by relocations. ELF Tool Chain strip and GNU strip silently retain those symbols, but LLVM strip is more strict and reports an error. PR: 270958 Reviewed by: jrm Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39754 --- math/trlan/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/trlan/Makefile b/math/trlan/Makefile index 95896d36e1dc..50f208c37445 100644 --- a/math/trlan/Makefile +++ b/math/trlan/Makefile @@ -48,7 +48,7 @@ do-build: @${ECHO_CMD} "Building static archive ..." @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ ${ALL_TARGET} - @${STRIP_CMD} -x -o ${WRKDIR}/libtrlan.a ${WRKSRC}/libtrlan.a + @${STRIP_CMD} --strip-unneeded -o ${WRKDIR}/libtrlan.a ${WRKSRC}/libtrlan.a @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} ${MAKE_ARGS} \ clean @${ECHO_CMD} "Building shared library ..."