From nobody Sat Jan 06 08:48:01 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 4T6Yr16MYdz55xtv for ; Sat, 6 Jan 2024 08:48:01 +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 4T6Yr14Cr9z4mCg for ; Sat, 6 Jan 2024 08:48:01 +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=1704530881; 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=2Udq5I5JviJ4kMoGkQMD4yVPAcfP3wsE9Odm3Wg74dY=; b=wJC2RKCo5nO173IklPmHb8MkhgrD050wk0bu2WEaQ+eDWogIjpdp8/EEF2ashWEe0V3ZQv GWhK5S9yvqvBcq0DTidFnalP5rNBEJuhAOQn4KkFr1AkSr/hdCEjF4wQYv7R4TONErFPoV khX2MIqvfuz6xivLJ90n7XlRkh8C7JYvCXZdYY2Dr8J2HkS85r4GHi7Ge0+TdlaI0Y4nNk zr/6qxG4xYjpE0v7iGe/LgMEfKg37aWck23iGZGrIUUba7PjbPd/gXEBHw/xN5wEfI9BOW vcS+L9ZUr0JlwdmFicRaQMo/1Wm0PG0xElA/uZn+ojpTMJqoHwj66fxkYkOqrA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704530881; a=rsa-sha256; cv=none; b=Sp5wz4D9HWYaLuYG20S8PlWTXhQYeXu7kLVQDbfiT99j11nJow+y0wEVWzYeRi3CMWF9Mm YUzQxjEvRxtWZTcRBU8fkuQgR1ucunFPwPg5JMvH0UTKsbV63xRkWc1imMdTh2vbvHCZEO qn6MxeRbEE05zHkwwU6Ha26VmCE+XP6PxAKBRJo8i04i9A34qRh+3dKiAcNQeUe+XYK4LM fHea6ukCQ5nvRGuWEwi2/cUegOLVUROfQMnuEsnFySxgNNBBrWNI/pqBJImiwjUVmclscx VGzvJiKlhLTB//beDw0M8SyIyKmaV9EsJwxUpBWLmW7kMHbIGSjrtYYT/GSzQQ== 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 4T6Yr139PGzZrM for ; Sat, 6 Jan 2024 08:48:01 +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 4068m1C8090182 for ; Sat, 6 Jan 2024 08:48:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4068m1TK090181 for x11@FreeBSD.org; Sat, 6 Jan 2024 08:48:01 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:48:01 +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 #3 from commit-hook@FreeBSD.org --- A commit in branch 2024Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D20160dd137a12889723772f4cc013fb= f4d5b9af7 commit 20160dd137a12889723772f4cc013fbf4d5b9af7 Author: Dimitry Andric AuthorDate: 2024-01-05 23:28:08 +0000 Commit: Dimitry Andric CommitDate: 2024-01-06 08:47:06 +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 (cherry picked from commit b6807b43f161c18a6d7a5642f817e4bff858d33a) devel/libgudev/Makefile | 3 +++ 1 file changed, 3 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=