From nobody Sat Jan 6 08:31:58 2024 X-Original-To: x11@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 4T6YTW0XwZz55vLs for ; Sat, 6 Jan 2024 08:31:59 +0000 (UTC) (envelope-from bugzilla-noreply@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 4T6YTV43BTz4kSx for ; Sat, 6 Jan 2024 08:31:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704529918; 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: in-reply-to:in-reply-to:references:references; bh=b89Tny9aPcwOPyWjSDLRLppogmV7bbPsx7UQZAjgkD4=; b=TxeLVNqof1Z7YRjl/ugkTi7ObCXWLtl7xOx702dLBjD2u+7HLPf6zezhTS5wUwtWD0PGs5 GEDFy3oryomfjXI5e3so6aNCgcBo4/xs9JTu326AP5WPTSBH6xbL6gXokppdblhBNyzpem C3x3+qhp9Vf8op2QS13dYUhX1OIdoUbzCQGAlPx1A0CP0/G5f9MuI8JXwnV/vdy49LrY9r L37h5lKt6ZxetCPjmHoLxugS1giSWRTTROamvGxHACWkwbL+ribQpt/h7S+OrgLZa1LDwV 0l84ef63W/9Q2sXZdA2UYK7PqC+zYiOwIeUtOLl+Tx674e+fS6VKt63GiGedag== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704529918; a=rsa-sha256; cv=none; b=Iz9RjRBB+rEZYkp6EA/RqvNhdJs2L4k+F4HskegMsGexT6y3Eif9WvZ0ThjGyz/+3n79eU 7LjVUO1lvt0tqdm6KK5/yx9z93rRwIAENfxNPG1cyDE36tkismha9Xwlp/9c4A9jed0PgC f1TbUFIsEJtOV7D+Fop3ldex7Gj63ttCuD5UODnqYtcrtDavj+vG1g8CMU1PlYDH6Lwzag FrjpVqqFAiylm0BTJMWKrESvkbt8lUnko0xZLtTlasTNM7ElXL9RVYnvVyugbwNNVOGftd xjPFDtRz4cdCKCeUYjV94J1G74Mwkrq/dUKxhulETCSZfvlgek9MW0bLYRMnCA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4T6YTV37NNzZDd for ; Sat, 6 Jan 2024 08:31:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4068VwVt069811 for ; Sat, 6 Jan 2024 08:31:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4068Vwsj069770 for x11@FreeBSD.org; Sat, 6 Jan 2024 08:31:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 276135] devel/libgudev: fix build with clang 18 Date: Sat, 06 Jan 2024 08:31:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: x11@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: X11 List-Archive: https://lists.freebsd.org/archives/freebsd-x11 List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-x11@freebsd.org X-BeenThere: freebsd-x11@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276135 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Db6807b43f161c18a6d7a5642f817e4b= ff858d33a commit b6807b43f161c18a6d7a5642f817e4bff858d33a Author: Dimitry Andric AuthorDate: 2024-01-05 23:28:08 +0000 Commit: Dimitry Andric CommitDate: 2024-01-06 08:30:56 +0000 devel/libgudev: fix build with clang 18 Clang 18 no longer accepts -export-dynamic, which is a linker option, resulting in an error building devel/libgudev: cc -o gudev/libgudev-1.0.so.0.3.0 gudev/libgudev-1.0.so.0.3.0.p/meson-generated_.._gudevenumtypes.c.o gudev/libgudev-1.0.so.0.3.0.p/gudevclient.c.o gudev/libgudev-1.0.so.0.3.0.p/gudevdevice.c.o gudev/libgudev-1.0.so.0.3.0.p/gudevenumerator.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgudev-1.0.so.0 -fstack-protector-strong -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib -export-dynamic -Wl,--version-script,/wrkdirs/share/dim/ports/devel/libgudev/work/libgudev-= 237/libgudev-1.0.sym /usr/local/lib/libglib-2.0.so /usr/local/lib/libintl.so /usr/local/lib/libgobject-2.0.so /usr/local/lib/libudev.so -Wl,--end-group cc: error: unknown argument: '-export-dynamic' Fix this by using the correct spelling, -Wl,--export-dynamic. PR: 276135 Approved by: x11 (manu) MFH: 2024Q1 devel/libgudev/Makefile | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=