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

* [Bug go/99458] libgo doesn't build against latest glibc
  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 ` marxin at gcc dot gnu.org
  2021-03-09  0:16 ` cvs-commit at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: marxin at gcc dot gnu.org @ 2021-03-08  9:23 UTC (permalink / raw)
  To: gcc-bugs

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

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-03-08
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |marxin at gcc dot gnu.org

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

* [Bug go/99458] libgo doesn't build against latest glibc
  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
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-09  0:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-9 branch has been updated by Ian Lance Taylor
<ian@gcc.gnu.org>:

https://gcc.gnu.org/g:1a543ca52392b7aea135f47ac244485fcea0d267

commit r9-9275-g1a543ca52392b7aea135f47ac244485fcea0d267
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon Mar 8 15:24:06 2021 -0800

    runtime: cast SIGSTKSZ to uintptr

            PR go/99458
            * libgo/runtime/proc.c: cast SIGSTKSZ to uintptr
            In newer versions of glibc it is long, which causes a signed
            comparison warning.

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

* [Bug go/99458] libgo doesn't build against latest glibc
  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
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-09  0:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-10 branch has been updated by Ian Lance Taylor
<ian@gcc.gnu.org>:

https://gcc.gnu.org/g:3c8e29c81b789db8a49616e0d36d16f869cf442a

commit r10-9424-g3c8e29c81b789db8a49616e0d36d16f869cf442a
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon Mar 8 15:23:40 2021 -0800

    runtime: cast SIGSTKSZ to uintptr

            PR go/99458
            * libgo/runtime/proc.c: cast SIGSTKSZ to uintptr
            In newer versions of glibc it is long, which causes a signed
            comparison warning.

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

* [Bug go/99458] libgo doesn't build against latest glibc
  2021-03-08  9:16 [Bug go/99458] New: libgo doesn't build against latest glibc jakub at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  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
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-03-09  0:23 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Ian Lance Taylor <ian@gcc.gnu.org>:

https://gcc.gnu.org/g:d5d3f15a0e04c30d5dbec09b56c14ad923a3e8da

commit r11-7569-gd5d3f15a0e04c30d5dbec09b56c14ad923a3e8da
Author: Ian Lance Taylor <iant@golang.org>
Date:   Mon Mar 8 13:58:14 2021 -0800

    runtime: cast SIGSTKSZ to uintptr

    In newer versions of glibc it is long, which causes a signed
    comparison warning.

    Fixes PR go/99458

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

* [Bug go/99458] libgo doesn't build against latest glibc
  2021-03-08  9:16 [Bug go/99458] New: libgo doesn't build against latest glibc jakub at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2021-03-09  0:23 ` cvs-commit at gcc dot gnu.org
@ 2021-03-09  0:24 ` ian at airs dot com
  4 siblings, 0 replies; 6+ messages in thread
From: ian at airs dot com @ 2021-03-09  0:24 UTC (permalink / raw)
  To: gcc-bugs

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

Ian Lance Taylor <ian at airs dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Ian Lance Taylor <ian at airs dot com> ---
Fixed, I hope.

^ 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).