From nobody Sat Jan 06 17:27:53 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 4T6nMt6bdNz56n64 for ; Sat, 6 Jan 2024 17:27:54 +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 4T6nMt2cRWz4h1Z for ; Sat, 6 Jan 2024 17:27:54 +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=1704562074; 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=V8C03U4Bgo+ouqBcOkWS+d14bX8+DgjaaiRXf1y927Y=; b=w7txZ7HvGyqU4yxwkUrlPIYVxa2D3nktGtQSntU5+mH5zjne/r2gDVgo80MfXI0e84FZuJ d6Rj61hrBbAOZoEEDg+S+no+WzIFJlPaCA1piM2Mdo5Df/ghvyl4/xvy1BcWzPolD0XAkD ikCZ9rvFmSx0BLw4B10XX/1hoGbFH9BJ8kZlJQs+jAPrdQ5KQsYnE5EpxBHm93ugME0QtR Vsfw8l4OBb1OUxL6kEJ2Rq8j8cg9+FVAG1FgVM7+ylB3srHtFIV2jOM6p0/02yO3T/eAn2 aRAC7mjmSKA1DUaHfEMzX4eeZo7qnXzycKIetXbFNmeImO/fHJFPVeLs+X6ibA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704562074; a=rsa-sha256; cv=none; b=N6oH7X+4vjihNU+CBxojwGv61pRirWSyRHqmLFBOM0epg8wQ2OqvpTtQ4yoNHcXCke8t9b sYLSeyK58Ifz9SEAPkUIeHGyWJT6Y7iXur/i4wdfbT71+GqdOyG7aE51aqb1mTwJIpnBAE +toCg8DE8NZnX84hGILHImBw8ZoeZyqK1czOJoZ1eyhXXAlh/B7HdR5SYuvzD0Yn5e6yKz R2OgKxK1WiFdoj+8t8hgf22dHejxMr8bnmaElKXy8ewbTV0OVywk+WQRiBGDsFJ1ZUevKm tUQIKI8WCSTO4cYAek/wuHbtQT7thmOhefaJBjs8VS7zKzl46L/SejR7QKETbw== 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 4T6nMt1bYnzq7m for ; Sat, 6 Jan 2024 17:27:54 +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 406HRsW9005997 for ; Sat, 6 Jan 2024 17:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 406HRsOf005996 for ports-bugs@FreeBSD.org; Sat, 6 Jan 2024 17:27:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276154] devel/llvm10: fix build with clang 18 Date: Sat, 06 Jan 2024 17:27:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brooks@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276154 Bug ID: 276154 Summary: devel/llvm10: fix build with clang 18 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) Clang 18 as of 2024-01-06 has some trouble with a construct in llvm 10's Optional.h header, resulting in errors building devel/llvm10: In file included from /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/lib/Support/ARMTargetP= arser.cpp:14: In file included from /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include/llvm/Support/A= RMTargetParser.h:17: In file included from /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include/llvm/ADT/Strin= gRef.h:12: In file included from /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include/llvm/ADT/STLEx= tras.h:19: =20 /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include/llvm/ADT/Optio= nal.h:289:8: error: cannot overload a member function with ref-qualifier '&&' with a mem= ber function without a ref-qualifier 289 | auto map(const Function &F) && | ^ =20 /wrkdirs/usr/ports/devel/llvm10/work/llvm-10.0.1.src/include/llvm/ADT/Optio= nal.h:272:8: note: previous declaration is here 272 | auto map(const Function &F) const | ^ A similar issue has been reported to llvm upstream, but it is not clear yet whether this is a clang regression or an intended behavior. In the mean time, we can apply https://github.com/llvm/llvm-project/commit/90cfbb81674ec to make the port build with clang 18, as a workaround. --=20 You are receiving this mail because: You are the assignee for the bug.=