From nobody Sat Feb 01 02:54:32 2025 X-Original-To: toolchain@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 4YlHRD3F7xz5mSP0 for ; Sat, 01 Feb 2025 02:54:32 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YlHRD2bBzz3Q1l for ; Sat, 01 Feb 2025 02:54:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738378472; 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=1QgN9+fO61CO1Y3lq2DkjZ9GQvjy3rAlGJkzt7Fxc/c=; b=KGCQh6my3sYQqGJJQVN+pRVpBinNLLDLfy6wN5/qZrSHipn+89JOAtC7AlAGJw85KisXzx xnGsCKkArFwr7r+Aq8KbaeE3ylUCRGb3qdhKAsgcqUJxsLY76vI0DoQLlhlfBpsOrnLEMW JDBkxh6XgiY+0ZG+2gDKk5qNPwWQk1Nxx2bGtrDl4jMWkuT8ZNpkNIIm8o6yKxUxgAtVWt jp4UsuiSZVLdYvOCbguiPq8RaMIl3Cb1/XZhqoJcNQZEuvzxDXqPVvgZO/EA/jrv+hN2oC PDngiazMopcawVDYNHQamD8d4RHVagF9GTgLjCVAq6O+5DgwA9be6LNxc4C5lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738378472; 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=1QgN9+fO61CO1Y3lq2DkjZ9GQvjy3rAlGJkzt7Fxc/c=; b=Fqx50ZGoVL2g6gH5upxa0qdSgTBVzfkrjNuOlVTjLxT2W59RB3ik562inxpChasKBHwOD/ cY2ktYEeRSMKen5jCzMKK7X4LMaZAeswwq2w1r+lrKvqZZLkbEAKDPtMJ123g9HQSE0OCW /F1FM0bnXSBXfPORgwITQd7mTp8H2laSmx2H348i616Q3NneK++O0MMQeivZrLP32JMeCR DAhnVJvn/XOlXEfyq+2uN/G70LEYVib1Fit5YfuYV/nxQEI+ddDvZM+uYays6NssQhEYO+ 5YJL40ojryMI02uVjhOmuyQOxft8MJskm9OPtw/xIzgayKvTyHJKgD2MNgz3TA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738378472; a=rsa-sha256; cv=none; b=tPKnGucSc56B9nuADDEbU1J1fYwv62JuIKFgOwqXDbOS0u4cHB95VU5sVIj6n8bQ82AzId 2l/CzN0jSKBBtD8IROOdJL7HaP9uYt884YBu8jtgDB32BPsXSt6quO9ERWlMSqoaxZAT9C HoxqVDXl8vQWKEa2aPYWEqYsOclHyY5OPHfyXrWfZ2lfCbi42vevEElgLZblYmuF0mBDN/ AkPNUcuX5DcEK8uZPaJ8rEGo/YTnm2k+Lz7C22Yf0K4vtPm+aNIYEciTFoySacpZKs7MCN WJHLQN/Qt0njah1feBzTCbHprEBYkKXRI2z8VqsZLij3AeRT+hpxT55tmamueA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YlHRD28KtzmR2 for ; Sat, 01 Feb 2025 02:54:32 +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 5112sW70061634 for ; Sat, 1 Feb 2025 02:54:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5112sWBl061633 for toolchain@FreeBSD.org; Sat, 1 Feb 2025 02:54:32 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: toolchain@FreeBSD.org Subject: [Bug 284378] www/webkit2-gtk: interactions with C++ dependencies built with clang/libc++ causes WebProcess crash Date: Sat, 01 Feb 2025 02:54:32 +0000 X-Bugzilla-Reason: CC 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 Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-toolchain@freebsd.org Sender: owner-freebsd-toolchain@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284378 --- Comment #39 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D1eeaaa8e063450d0eb8f08df33a6ba3= 38c348825 commit 1eeaaa8e063450d0eb8f08df33a6ba338c348825 Author: Charlie Li AuthorDate: 2025-02-01 01:58:37 +0000 Commit: Charlie Li CommitDate: 2025-02-01 01:58:37 +0000 www/webkit2-gtk: remove byteRangeSample from PlatformSample The presence of this union member causes the build to fail with our libc++ because version 1 ABI's std::pair does not have a trivial copy constructor (see D35327). However this code is only used for a deprecated plugin only for macOS, and it along with supporting code like this have been removed in the main branch upstream, so this should hold in the upcoming 2.48 series. For now, only remove byteRangeSample as the complete upstream commit does not apply. This allows the port to return to using the base system toolchain, including libc++, fixing crashes from mangling libc++-built dependencies with libstdc++ webkitgtk. While here, remove some unused USE_X11 depends to save another PORTREVISION bump. Reference: https://github.com/WebKit/WebKit/commit/d0527fca8fc20cdda907dfdc293323d7283= bd262 PR: 284378 Reported by: huanghwh[at]gmail[dot]com Tested by: eduardo, shamaz.mazum[at]gmail[dot]com (previous iterations) www/webkit2-gtk/Makefile | 5 ++--- .../patch-Source_WebCore_platform_MediaSample.h (new) | 15 +++++++++++= ++++ 2 files changed, 17 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=