public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/99458] New: libgo doesn't build against latest glibc
@ 2021-03-08  9:16 jakub at gcc dot gnu.org
  2021-03-08  9:23 ` [Bug go/99458] " marxin at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-03-08  9:16 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99458

            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 'long
int' [-Werror=sign-compare]
  805 |                         if(stacksize < SIGSTKSZ)
      |                                      ^
Guess SIGSTKSZ should be cast to (uintptr).

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-03-09  0:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-08  9:16 [Bug go/99458] New: libgo doesn't build against latest glibc jakub at gcc dot gnu.org
2021-03-08  9:23 ` [Bug go/99458] " marxin at gcc dot gnu.org
2021-03-09  0:16 ` cvs-commit at gcc dot gnu.org
2021-03-09  0:17 ` cvs-commit at gcc dot gnu.org
2021-03-09  0:23 ` cvs-commit at gcc dot gnu.org
2021-03-09  0:24 ` ian at airs dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).