From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6E89539B9C1D; Thu, 19 Aug 2021 19:36:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6E89539B9C1D From: "lancethepants at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/101246] gccgo cross-compiler targeting arm fails to build with gcc 11. Missing structs in runtime.inc. Using uclibc-ng Date: Thu, 19 Aug 2021 19:36:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 11.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lancethepants at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: ian at airs dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Thu, 19 Aug 2021 19:36:57 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D101246 --- Comment #6 from Lance Fredrickson --- So I compared runtime.inc in gcc 10.3 and gcc 11.1, and they have quite a b= it different. I tried using the runtime.inc file from 10.3 in 11.1, and it do= es allow it to finish compiling, and I appear to be able to compile a simple go program.=20=20 I also just removing struct _FILE, which has those to fields __lock and __s= tate and also completes and I appear to be able to compile some simple go progra= ms. Not sure if any of this is helpful. I've been trying to figure out all the = file generation is happening, but it's a lot to take in.=