From nobody Thu Sep 14 23:44:10 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 4Rmv6f5nBWz4t3Sl; Thu, 14 Sep 2023 23:44:10 +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 4Rmv6f5LGXz3ZXm; Thu, 14 Sep 2023 23:44:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694735050; 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=xIleucrgLh6lwwIcDxHvxz7EXGOg+Ubi6nudisiih0A=; b=PDHIUyVnEfzAknxO4WOl20xIn1XulbUbaNPZhWBiHRov3ExjUf5adsXmBcfRaeuHGX01MJ xnQDMH+psANMPSosbc0Ke2kCFruSQPNOae56LHioikUM99RIdbxqphvpPhj0QrvDSP7bZd iGGknBtj8ghvuzTD0bqjevo3qRdUsVhiJEN6msTGtJkv3fwWcGQqonoUZ5cENVu3zel7WV qwCpffrOlhvmL3/u8kBuxG1ClU4mwdIxhO/fTpS2Twsm/rKCYza/7usvOL7h1pfakjnVnZ 8eW/wWkWvIROL27Cw29iATm8h9FPt/+/6urEGGf/Y7R0XD0O6dKqfrzD2uiVpg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694735050; a=rsa-sha256; cv=none; b=iaqXdDpf5372ed5CVUINKMg5hrejY0C2iGeVIMW3pzLeZEaWCev1BRD0b1BITxkcix/pcm tf07FP9/n2NX2fTm5Q5cL6boo/UKNfuoIVqCl7pSrsxBbQhrmzRbPtZXZ9QQqgbSNVawqS xUx4RhJo6Oxe1BTasHYMlQACax1vZkN9HO+OQfL4+GyTPZ6VzmojeyWQClCxNKffXw7+jj UCji7GBYyigAxD9lquucWJlVwMtthF1a1x56OtzW3wpyC4fAr0yAYq72uYmcVwO+Lsh1YC 2Z7UOJEotI4H3h2lYjaW8BNyXTkSxtHUvlPEwkDIngfhjYQ8nFj1rEyjWRhXkQ== 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=1694735050; 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=xIleucrgLh6lwwIcDxHvxz7EXGOg+Ubi6nudisiih0A=; b=v7Yj4b/3JxfV5+iV4ROqEycrhDgQoGN7YaBCESz/Wkve2cmCKmSrcBax0U2SriW9EwIwHp suEZXZpr5+X7SY9UZL+CxB91ea+b5U3cXVK0EPjgDJFfXM+HWKQno4PnX/L5tqJYyKGKhL Nipvt79vXUYh5ZlbJASLRfM444mTPH3IjV+OeHG4Mwv4FRMENQo8TocW13yeoiMJaYqBUt 8bl/skJLn5i2MZPEL9ESKELSJerUkg/Vkk99cDCe/8vy/MQnXHNhMf/8uJ42rfAyRZDWN+ LVaPlP1GzA4W0RSMJIkDEv8hty92K+2aZ7dMTMCdvYPIYVaAA+ai3EANMnkbHw== 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 4Rmv6f4Pjjz1GCv; Thu, 14 Sep 2023 23:44:10 +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 38ENiArO060401; Thu, 14 Sep 2023 23:44:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38ENiAH1060398; Thu, 14 Sep 2023 23:44:10 GMT (envelope-from git) Date: Thu, 14 Sep 2023 23:44:10 GMT Message-Id: <202309142344.38ENiAH1060398@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Cy Schubert Subject: git: 495843badfe7 - main - devel/binutils: fix build with lld 17 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: cy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 495843badfe7d717f01466b9f41763524e670379 Auto-Submitted: auto-generated The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/ports/commit/?id=495843badfe7d717f01466b9f41763524e670379 commit 495843badfe7d717f01466b9f41763524e670379 Author: Dimitry Andric AuthorDate: 2023-09-14 23:41:41 +0000 Commit: Cy Schubert CommitDate: 2023-09-14 23:43:08 +0000 devel/binutils: fix build with lld 17 Some versioned symbols in libctf are undefined when libctf-nobfd.so is linked. Suppress errors with lld >= 17 due to these undefined symbols. PR: 273791 MFH: 2023Q3 --- devel/binutils/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devel/binutils/Makefile b/devel/binutils/Makefile index 76158eca0d44..7114e9a98614 100644 --- a/devel/binutils/Makefile +++ b/devel/binutils/Makefile @@ -40,6 +40,10 @@ CONFIGURE_ARGS+= --disable-werror \ MAKE_ARGS+= LIBDL="" V=1 MAKE_ENV+= ac_cv_func_sbrk=0 +# Some versioned symbols in libctf are undefined when libctf-nobfd.so is linked. +# Suppress errors with lld >= 17 due to these undefined symbols. +LDFLAGS+= -Wl,--undefined-version + # Tests will always fail because --compress-debug-sections is always set to # zlib-gabi regardless of the compression setting by ./configure. # TEST_TARGET= check