From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 82D17385DC0C; Tue, 28 Apr 2020 23:17:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 82D17385DC0C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1588115820; bh=kxeP0OenrihHozJknBOPdjixrITvLCYRn7YraxcenRQ=; h=From:To:Subject:Date:From; b=oC3picaPHHyzTskJwU4+WO0zR3DVCtRRcm7tcGhIil4o/SMGAwZqQOOBIZz+8nKCK AubnCEF6JTNaD6+HujXjm/UO/vVkYmZ5aXFLAxViTy/yqNCMpZSMRDzILKGuHOeQRM Oz62Osadp5h+zmIskR2qWRSt7PGztPVCdkPJonuA= From: "casner at acm dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/94835] New: ICE in vague_linkage_p, at cp/decl2.c:2041 Date: Tue, 28 Apr 2020 23:17:00 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 10.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: casner at acm dot org X-Bugzilla-Status: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Tue, 28 Apr 2020 23:17:00 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D94835 Bug ID: 94835 Summary: ICE in vague_linkage_p, at cp/decl2.c:2041 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: casner at acm dot org Target Milestone: --- I am working on a pdp11-elf32 target in binutils with the goal of being abl= e to compile C++ for the PDP11 (an effort instigated by Paul Koning, gcc PDP11 maintainer). I have a first implementation running, so now I am trying to build g++ and libstdc++v3 to go with it. I am attempting to build the gcc tree with newlib and libgloss symlinked in= and with the binutils components installed at the prefix and with gcc configure= d as follows: ../configure --target=3Dpdp11-elf32 --prefix=3D/usr/local --enable-language= s=3Dc,c++ --disable-libssp --disable-libgfortran --disable-libobjc --with-gmp=3D/opt/= local/ --with-mpfr=3D/opt/local/ --with-mpc=3D/opt/local/ --with-libiconv-prefix=3D/opt/local --with-newlib My host is running macOS 10.14.6. gcc and g++ build successfully, but while building libstdc++v3 I get: .../libstdc++-v3/include/chrono:544:7: internal compiler error: in vague_linkage_p, at cp/decl2.c:2041 This is with code freshly fetched with git today. 19667c82e479dc2bf8351588ed57aff90220b748=