public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
@ 2012-02-12 17:03 doko at gcc dot gnu.org
  2012-02-12 19:35 ` [Bug go/52218] " ian at airs dot com
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-02-12 17:03 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

             Bug #: 52218
           Summary: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi
                    (unknown case for SETCONTEXT_CLOBBERS_TLS)
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
        AssignedTo: ian@airs.com
        ReportedBy: doko@gcc.gnu.org


built with 20120205, fails with 20120210:

../../../src/libgo/runtime/proc.c:105:4: error: #error unknown case for
SETCONTEXT_CLOBBERS_TLS
../../../src/libgo/runtime/proc.c: In function 'runtime_gogo':
../../../src/libgo/runtime/proc.c:299:2: error: implicit declaration of
function 'fixcontext' [-Werror=implicit-function-declaration]
../../../src/libgo/runtime/proc.c: In function 'runtime_schedinit':
../../../src/libgo/runtime/proc.c:366:2: error: implicit declaration of
function 'initcontext' [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[6]: *** [proc.lo] Error 1


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
@ 2012-02-12 19:35 ` ian at airs dot com
  2012-02-13 11:20 ` rguenth at gcc dot gnu.org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-02-12 19:35 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> 2012-02-12 19:34:43 UTC ---
Please look at the test case for SETCONTEXT_CLOBBERS_TLS in libgo/configure.ac
and figure out why it fails on arm-linux-gnueabi.  That test case should not
fail on any GNU/Linux system, so I am surprised that SETCONTEXT_CLOBBERS_TLS is
being defined.  It may simply be some oversight in the test case.


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
  2012-02-12 19:35 ` [Bug go/52218] " ian at airs dot com
@ 2012-02-13 11:20 ` rguenth at gcc dot gnu.org
  2012-02-14 18:21 ` ian at airs dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-02-13 11:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |4.7.0


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
  2012-02-12 19:35 ` [Bug go/52218] " ian at airs dot com
  2012-02-13 11:20 ` rguenth at gcc dot gnu.org
@ 2012-02-14 18:21 ` ian at airs dot com
  2012-02-16 16:27 ` doko at gcc dot gnu.org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-02-14 18:21 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2012-02-14
     Ever Confirmed|0                           |1

--- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2012-02-14 18:20:42 UTC ---
Waiting for info.


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2012-02-14 18:21 ` ian at airs dot com
@ 2012-02-16 16:27 ` doko at gcc dot gnu.org
  2012-02-21 14:13 ` doko at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-02-16 16:27 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

--- Comment #3 from Matthias Klose <doko at gcc dot gnu.org> 2012-02-16 16:08:18 UTC ---
delaying this until PR52266 can be fixed


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2012-02-16 16:27 ` doko at gcc dot gnu.org
@ 2012-02-21 14:13 ` doko at gcc dot gnu.org
  2012-02-21 18:42 ` ian at airs dot com
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-02-21 14:13 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #4 from Matthias Klose <doko at gcc dot gnu.org> 2012-02-21 13:36:44 UTC ---
Peter Maydell commented:

Specifically the functions exist but return ENOSYS, which is why this:
  if (getcontext (&c) < 0)
    abort ();

will abort.

Trying to get these functions into eglibc for ARM is kind of on the Linaro
toolchain group's todo list, but (a) not at a hugely high priority and (b) it
will take a little while for them to percolate through eglibc and back into
distros anyway, so apps/configure scripts need to be prepared to handle the
returns-ENOSYS case anyway.


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

* [Bug go/52218] [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2012-02-21 14:13 ` doko at gcc dot gnu.org
@ 2012-02-21 18:42 ` ian at airs dot com
  2012-03-06 20:25 ` [Bug go/52218] [4.7/4.8 " michael.hope at linaro dot org
  2012-03-11 20:39 ` doko at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2012-02-21 18:42 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

--- Comment #5 from Ian Lance Taylor <ian at airs dot com> 2012-02-21 18:33:14 UTC ---
If ARM GNU/Linux does not support getcontext/setcontext, then this particular
configure test is not particularly relevant, since the library isn't going to
work anyhow.  I suppose the error message could be more clear but it's going to
boil down to a compilation or runtime error regardless.


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

* [Bug go/52218] [4.7/4.8 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2012-02-21 18:42 ` ian at airs dot com
@ 2012-03-06 20:25 ` michael.hope at linaro dot org
  2012-03-11 20:39 ` doko at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: michael.hope at linaro dot org @ 2012-03-06 20:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

Michael Hope <michael.hope at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michael.hope at linaro dot
                   |                            |org

--- Comment #6 from Michael Hope <michael.hope at linaro dot org> 2012-03-06 20:25:18 UTC ---
The getcontext() routines have now landed in glibc-ports and should be
available in glibc 2.16:
 http://sourceware.org/ml/libc-ports/2012-02/msg00079.html

I'll ask if they can be included in Ubuntu Precise.


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

* [Bug go/52218] [4.7/4.8 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS)
  2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2012-03-06 20:25 ` [Bug go/52218] [4.7/4.8 " michael.hope at linaro dot org
@ 2012-03-11 20:39 ` doko at gcc dot gnu.org
  7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2012-03-11 20:39 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218

Matthias Klose <doko at gcc dot gnu.org> changed:

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

--- Comment #7 from Matthias Klose <doko at gcc dot gnu.org> 2012-03-11 20:39:20 UTC ---
nothing to fix in libgo


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

end of thread, other threads:[~2012-03-11 20:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-12 17:03 [Bug go/52218] New: [4.7 Regression] libgo ftbfs on arm-linux-gnueabi (unknown case for SETCONTEXT_CLOBBERS_TLS) doko at gcc dot gnu.org
2012-02-12 19:35 ` [Bug go/52218] " ian at airs dot com
2012-02-13 11:20 ` rguenth at gcc dot gnu.org
2012-02-14 18:21 ` ian at airs dot com
2012-02-16 16:27 ` doko at gcc dot gnu.org
2012-02-21 14:13 ` doko at gcc dot gnu.org
2012-02-21 18:42 ` ian at airs dot com
2012-03-06 20:25 ` [Bug go/52218] [4.7/4.8 " michael.hope at linaro dot org
2012-03-11 20:39 ` doko at gcc dot gnu.org

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