From nobody Mon Aug 17 21:53:02 2026 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 4hP65j470dz6pPvF for ; Mon, 17 Aug 2026 21:53:13 +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 "YR2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4hP65j2gJ1z3r1Q for ; Mon, 17 Aug 2026 21:53:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787003593; 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=CZjkkDcZKMfLJiGau5Sk3oWV+piy4YN6ZoZvG/+aqY0=; b=obvOb+njwMYwoPH4C8BReTIi/mHmxcwQwvJiqU2QeJryh/Nxz1Ksunm9UkFFcOf1W6S2yk itw+WjzvS4oT3sF5psNltSnJQI7qPlAFlSNQu3ZeRzVUcj/qYQcIJaHfb5wy0wIpeBjI4I rQdkvaKHeI6Lj5Fz39tWjhjIXnq86fNMQV2ceZBMxsALZbK3cbTuBM7N3tJ9BmydSXt9X3 OtikFmrMai9fbaUJsfoZ3rWrxtUxvW8D9RpRu9z83cFKoI02SdZxl7wNRIBxB9NNzmm2gS LDIz4jeAMNVYwdQSwU55vihexC0vqq2xJ+PLecbla1KEPCYnjPGNl+xyJm8NnQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1787003593; a=rsa-sha256; cv=none; b=kXrR+7q0BaYBSPT8HH79dlsOtRZBajvzv69EcRKpa0mZ58cN+DanrUYxcdR6bMeVW7NswJ +K0/bmr/B7S1e385x/ntWf52rl+9j1puP3ovCKCuK4vzTLf9F7VneDeJVdar29TfW+q0oF FN30vmOc1PUHIyAr2qYDjHZfsKpTZoXkOZkDV2Ic8bMWXh3yAELepKDO9GrLTpkMnPpSUb AU3DlBQzQE9GqJhlJjXHqIKfdTfJQlfh2h4ifkjNy9yDYnJpreb3h/2gy+O2rrYxIKxCaC trjopcAvIIo1ZcBOMKqa3UvVyUc8DLPKc/1JjOei1CXGQdJnbeSAaLFpqrwnQQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1787003593; 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=CZjkkDcZKMfLJiGau5Sk3oWV+piy4YN6ZoZvG/+aqY0=; b=VDi5lCCXC6JUpSnErUBj5eyH/SMEgLZqkx1E/7DKngbuhBDr8chuZDkan60edde7DqF+7o CSh3kRy2r+amNWuuj5mOHF85h05aE0Pls1YKeTQG9VeI5kl3n1VJCbOARS+HjGYNEMJqm9 LgQuHzLlQz1DGjr5B1PoZF+yBD3Je6BKGyS9brCQB8ZVuB0tPxjsqKD/gwd23WlBEngCPt FyeESa6Gwr4dzDyqRH2LX37aF2qglN2apjJqbLmoWdgVSv50LmE/oIzp8sRVr3HEkZsWAu e26A5yY+hNKb6yP0WN8k9tDn2P4xxtjLPqIcv2djYxkJHoNlIOBLQ0Ke/i6sPg== 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 4hP65j1DsRz1Rc for ; Mon, 17 Aug 2026 21:53:13 +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 67HLrDkC062157 for ; Mon, 17 Aug 2026 21:53:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 67HLrDOX062145 for ports-bugs@FreeBSD.org; Mon, 17 Aug 2026 21:53:13 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 297629] lang/gcc17-devel: fix build after base d08296c7ab0d Date: Mon, 17 Aug 2026 21:53:02 +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: salvadore@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-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: 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D297629 Bug ID: 297629 Summary: lang/gcc17-devel: fix build after base d08296c7ab0d Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: salvadore@freebsd.org Reporter: dim@FreeBSD.org Assignee: salvadore@freebsd.org Flags: maintainer-feedback?(salvadore@freebsd.org) After base d08296c7ab0d7bb259bf7b8cdf9ffb819c1929ab ("libc: Implement qualifier-preserving standard library functions"), lang/gcc17-devel fails to build with an error like: In file included from /wrkdirs/usr/ports/lang/gcc17-devel/work/.build/gcc/include-fixed/stdio.h:5= 2, from cp-demangle.c:109: =20 /wrkdirs/usr/ports/lang/gcc17-devel/work/gcc-17-20260727/libstdc++-v3/../in= clude/libiberty.h:225:14: error: expected identifier or '(' before '_Generic' 225 | extern void *memrchr(const void *, int, size_t); | ^~~~~~~ This is because memrchr is now a macro, similar to the other functions in , and libiberty.h attempts to incorrectly redeclare it. In turn, cp-demangle.c includes libiberty.h, but does not include the config.h generated for libiberty.h, instead using the config.h generated for libstdc++. The problem is really with the way upstream creates its config.h headers: they should either make libiberty.h automatically include its own config.h file, or rename that one to libiberty-config.h, so it can be included at the same time as the libstdc++ config.h header. The easiest way to fix it is to add a '!defined(__FreeBSD__)' conditional to the #if statement that attempts to declare the incompatible memrchr. --=20 You are receiving this mail because: You are the assignee for the bug.=