From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D7B0F386EC3E; Mon, 8 Mar 2021 09:16:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D7B0F386EC3E From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug go/99458] New: libgo doesn't build against latest glibc Date: Mon, 08 Mar 2021 09:16:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: go X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc 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: Mon, 08 Mar 2021 09:16:03 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D99458 Bug ID: 99458 Summary: libgo doesn't build against latest glibc Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: jakub at gcc dot gnu.org CC: cmang at google dot com Target Milestone: --- As mentioned already in PR99264 which is now fixed, latest glibc changed the MINSIGSTKSZ and SIGSTKSZ macros so that they are no longer compile time constants. This seems to break libgo build (got that when building the 32-bit libgo on x86_64 e.g.): ../../../../libgo/runtime/proc.c: In function 'runtime_malg': ../../../../libgo/runtime/proc.c:805:38: error: comparison of integer expressions of different signedness: 'uintptr' {aka 'unsigned int'} and 'lo= ng int' [-Werror=3Dsign-compare] 805 | if(stacksize < SIGSTKSZ) | ^ Guess SIGSTKSZ should be cast to (uintptr).=