From nobody Wed Dec 13 15:29:54 2023 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 4Sqztq6tLPz53vxJ for ; Wed, 13 Dec 2023 15:29:55 +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 4Sqztq4lCCz3XNT for ; Wed, 13 Dec 2023 15:29:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1702481395; a=rsa-sha256; cv=none; b=AaR8IXcPcLYHe3JBx4CRzaan8nl0J4qnq3ugcrcR3rWcuckeFKt9ooi35BFYO2Mk556tU8 5S0eRNRBFDOcpW8ist3dqCkOIcfeSgvEYuomZ1ofaS7Lp2+R0cxZkllsuEdv2XZ4qDNGi8 UGuRvLlxiYSL5Pq7nnEy+RTCX7zSrFm5qej7yKpQ1fYcIJGv0/apyuZSrZINsyJAYmzpxs hxvc1rc2yrJ2fKx/CbvIdXd38s+xzzfXbRmhI/ZZ1Vxj0CNXvFjbRVtv5uAjb2sKhJfl2e 9O9DmJbkB+OIWlwZUiY6jfHqy0pfx+xLwHEK+w9bWQSmuyki9bG+C+uBFi2Ufg== 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=1702481395; 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=b4uPdOvRxV6/gENKG8a0LO8NnPjtv6J/6ccELMMs1fM=; b=gZec7316FnJby/uapTMBx9GOhOAPvAUYVasA8f5OaCf5PjJbvww6JG542RKgE1B10PzKgX S3Nosnwr2nb3VVIh3bt3Y40S2P4W1eX7gXAy8LDKNvybS+wiGas8BMSsOvri/w+lHc8FuR ntBl0oPq+hq9I3ykmDUw2OcGv4HnTjig1O0wK0zBRaIe03VjPbkmFznC5JD4Ui3gYsfgD7 Nt/TNqMJDU0cB0XqkJybaFotj4fkdM4/txGd8xo/Nkw+NvN1lr1R9GLkjHtXWIYsXUrSR8 xNlGUyzQq/WGPz5oXUxxRTJDYxIFZC3H3pY+EoQUbseG/mg8/n19KipZ32OBIw== 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 4Sqztq3j7qz13pd for ; Wed, 13 Dec 2023 15:29:55 +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 3BDFTtfE043358 for ; Wed, 13 Dec 2023 15:29:55 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3BDFTt0x043357 for ports-bugs@FreeBSD.org; Wed, 13 Dec 2023 15:29:55 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 275748] lang/gcc12 lang/gcc12-devel lang/gcc13 lang/gcc13-devel lang/gcc14-devel: fix build without bootstrap Date: Wed, 13 Dec 2023 15:29:54 +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-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=3D275748 Bug ID: 275748 Summary: lang/gcc12 lang/gcc12-devel lang/gcc13 lang/gcc13-devel lang/gcc14-devel: fix build without bootstrap 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 Flags: maintainer-feedback?(salvadore@freebsd.org) Assignee: salvadore@freebsd.org When more recent gcc ports are built without bootstrap, compiling libcc1 plugins results in errors similar to: In file included from /wrkdirs/share/dim/ports/lang/gcc13/work/gcc-13.2.0/libcc1/libcc1plugin.cc:= 72: In file included from /usr/include/c++/v1/vector:321: In file included from /usr/include/c++/v1/__format/formatter_bool.h:20: In file included from /usr/include/c++/v1/__format/formatter_integral.h:3= 2: /usr/include/c++/v1/locale:289:36: error: attempt to use a poisoned identifier 289 | __status =3D (unsigned char*)malloc(__nkw); | ^ /usr/include/c++/v1/locale:1584:28: error: attempt to use a poisoned identifier 1584 | __ob =3D (char_type*)malloc(2*static_cast(__nc)*sizeof(char_type)); | ^ This is because gcc's own system.h header poisons these identifiers, and the libcc1 plugins include after that. (Note that libstdc++ is not affected because they seem to have implicitly included already at that point.) Fix it by telling system.h to include at the correct place, and removing the explicit includes from libcc1plugin.cc and libcp1plugin.cc. --=20 You are receiving this mail because: You are the assignee for the bug.=