From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 130763858402; Wed, 17 Nov 2021 21:15:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 130763858402 From: "hjl.tools at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict Date: Wed, 17 Nov 2021 21:15:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: hjl.tools at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed bug_status cf_reconfirmed_on Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2021 21:15:46 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D103309 H.J. Lu changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2021-11-17 --- Comment #1 from H.J. Lu --- The build error can happen on different source files. But it always points to https://gcc.gnu.org/pipermail/gcc-regression/2021-November/075734.html In member function =E2=80=98hash_table::value_= type* hash_table::alloc_entries(size_t) const [with Descriptor =3D hash_map >::hash_entry; bool L= azy =3D false; Allocator =3D xcallocator]=E2=80=99, inlined from =E2=80=98void hash_table::exp= and() [with Descriptor =3D hash_map >::hash_entry; bool L= azy =3D false; Allocator =3D xcallocator]=E2=80=99 at ../../src-master/gcc/hash-tab= le.h:802:40: ../../src-master/gcc/system.h:784:34: error: section type conflict with =E2= =80=98void hash_table::expand() [with Descriptor =3D hash_map >::hash_entry; bool Lazy =3D false; Allocator =3D xcallocator]=E2=80=99 784 | ((void)(!(EXPR) ? fancy_abort (__FILE__, __LINE__, __FUNCTION__)= , 0 : 0)) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../src-master/gcc/hash-table.h:715:3: note: in expansion of macro =E2=80=98gcc_assert=E2=80=99 715 | gcc_assert (nentries !=3D NULL); | ^~~~~~~~~~=