From nobody Sun Oct 27 10:59:29 2024 X-Original-To: ports-bugs@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 4Xbtnc0J8Pz5Zfy6 for ; Sun, 27 Oct 2024 10:59: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xbtnb6Jn6z4nkk for ; Sun, 27 Oct 2024 10:59:31 +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=1730026771; 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=nQnoaTcibeYF2lRI6wO0epkscovBap8WZP35FmyhA9k=; b=Z17+sXwF9C2GimQ0sXMVSpRpU+HJbl9PyuhO3pZmd4smMFMZKI4RZ5oXC/3nvk7vr8TU9i LHe2RCn5xY5QIt+b9Mjg9tSD6BnUEXkMcKgIRvXN0emn1xVH3IgrpCgnKZ1KkHf4Gl3/L5 2gPhd8Td/cIqiyjYoB90lChcX36CuWXBp4yrvex8qKdGcGY485ZRbFqU18Pczz+HBvAyek WTj0APvVNidco9vtwP8RHY26uO5DhtgkMycj7iLpNRQDlhHSGnRhkdwiF1miCDqK6RVE3m vMU7z9eBU6TFKJXKRWe7jWCJ/KpImmRHpHIz+JW4ZQMHgs24n4FpmKYX7eE5Wg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730026771; a=rsa-sha256; cv=none; b=xTsPOO9W3ISfVAGhU2xgy94/UG4SghntplWflmglwXeF3uf8hbps6CMFKnpGNBPUCrNchT V4LxofQsiz81A9bI5rZ8D+UWf1KBEfL1nUyBRrx/20IYNoDLAYWUOsvFQD19dlSXc/62vj aOsJChQcaOdbO7pdVkispA899xiaYLpd8cGy2MX489hDKMKrBRNTEGsCKw1riBfK+llGhn Xk0z8oWnPxziQTi3NdGDqjO2uDDgK5g/ATNoMMgW5Ic3ZssYrCMoc6G+OhyVIgNhSKhynE rVZD3b2OxmCOqxSce9+j/L+g4T8Uhtmc4gb0K3O/UcvG/ky0RmnJ/9y3xjfjZg== 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 4Xbtnb5pgPzrc7 for ; Sun, 27 Oct 2024 10:59:31 +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 49RAxVHT005936 for ; Sun, 27 Oct 2024 10:59:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 49RAxV39005935 for ports-bugs@FreeBSD.org; Sun, 27 Oct 2024 10:59:31 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: ports-bugs@FreeBSD.org Subject: [Bug 280562] [exp-run] Against llvm-19-update branch on GitHub Date: Sun, 27 Oct 2024 10:59:29 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280562 --- Comment #99 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D737111920ce3ccd82d93af765e38e51f3= a2d359d commit 737111920ce3ccd82d93af765e38e51f3a2d359d Author: Dimitry Andric AuthorDate: 2024-10-24 21:42:36 +0000 Commit: Dimitry Andric CommitDate: 2024-10-27 10:58:37 +0000 Fix buildworld with gcc 13 after llvm-19 import It turns out the new libc++ 19 headers result in a -Werror warning from gcc 13: In file included from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/sh= ared_ptr.h:31: =20=20=20=20=20 /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/un= initialized_algorithms.h: In instantiation of 'constexpr void std::__1::__uninitialized_allocator_relocate(_Alloc&, _Tp*, _Tp*, _Tp*) [wi= th _Alloc =3D allocator >; _Tp =3D basic_string]': =20=20=20=20=20 /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1052= :42: required from 'void std::__1::vector<_Tp, _Alloc>::__swap_out_circular_buffer(std::__1::__split_buffer<_Tp, _Allocator&>&) [with _Tp =3D std::__1::basic_string; _Allocator =3D std::__1::allocator >]' =20=20=20=20=20 /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/vector:1469= :31: required from 'void std::__1::vector<_Tp, _Alloc>::reserve(size_type) [wi= th _Tp =3D std::__1::basic_string; _Allocator =3D std::__1::allocator >; size_type =3D long unsi= gned int]' /usr/src/freebsd/src/contrib/googletest/googletest/src/gtest.cc:795:2= 7:=20=20 required from here =20=20=20=20=20 /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__memory/un= initialized_algorithms.h:645:21: error: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' writ= ing to an object of type 'std::__1::__remove_const_t >' {aka 'class std::__1::basic_string'} with no trivial copy-assignme= nt; use copy-assignment or copy-initialization instead o[-Werror=3Dclass-memacc= ess] 645 |=20=20=20=20 __builtin_memcpy(const_cast<__remove_const_t<_Tp>*>(__result), __first, sizeof(_Tp) * (__last - __first)); |=20=20=20=20 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__system_er= ror/error_category.h:15, from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__system_er= ror/error_code.h:18, from /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/__ostream/b= asic_ostream.h:16: =20=20=20=20=20 /usr/obj/usr/src/freebsd/src/amd64.amd64/tmp/usr/include/c++/v1/string:752:= 7: note: 'std::__1::__remove_const_t >' {aka 'cla= ss std::__1::basic_string'} declared here 752 | class basic_string { | ^~~~~~~~~~~~ Since this is all benign, turn off errors for -Wclass-memaccess. PR: 280562 MFC after: 3 days (cherry picked from commit a3a88aa132605c5d42153a419c0e129296dec467) share/mk/bsd.sys.mk | 1 + 1 file changed, 1 insertion(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=