[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
now builds in 4.7 and trunk ** Changed in: gcc-snapshot (Ubuntu) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
The makecontext() routines are now in glibc 2.16 and Ubuntu Precise eglibc 2.15. There's nothing to do on the Linaro GCC side. ** Changed in: gcc-linaro Status: Triaged => Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
** Changed in: gcc Status: Confirmed => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
The getcontext() routines have now landed in glibc-ports and should be available in glibc 2.16. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
Thank you for the bug report. The comments above clarifies that the problem is that the functions getcontext and setcontext is not supported for ARM. I've set this ticket to medium priority for now. As stated by Peter above, getting the functions into eglibc has already been recognized as a "todo", but not with highest priority. ** Changed in: gcc-linaro Importance: Undecided => Medium ** Changed in: gcc-linaro Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
** Changed in: gcc Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
Launchpad has imported 4 comments from the remote bug at http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218. If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. On 2012-02-12T17:03:11+00:00 Doko-v wrote: 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 Reply at: https://bugs.launchpad.net/gcc/+bug/937011/comments/0 On 2012-02-12T19:34:43+00:00 Ian Lance Taylor wrote: 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. Reply at: https://bugs.launchpad.net/gcc/+bug/937011/comments/1 On 2012-02-14T18:20:42+00:00 Ian Lance Taylor wrote: Waiting for info. Reply at: https://bugs.launchpad.net/gcc/+bug/937011/comments/2 On 2012-02-16T16:08:18+00:00 Doko-v wrote: delaying this until PR52266 can be fixed Reply at: https://bugs.launchpad.net/gcc/+bug/937011/comments/3 ** Changed in: gcc Status: Unknown => Incomplete ** Changed in: gcc Importance: Unknown => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
Trying to get these functions into eglibc for ARM is kind of on the 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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
Specifically the functions exist but return ENOSYS, which is why this: if (getcontext (&c) < 0) abort (); will abort. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
IIRC the setcontext & co API is not implemented on ARM/Linux. Other packages with similar issues used setjmp/longjmp (I recall pth) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 937011] Re: configure test lin libgo fails on arm (setcontext)
** Attachment added: "test case" https://bugs.launchpad.net/bugs/937011/+attachment/2762236/+files/config.c ** Also affects: gcc-linaro Importance: Undecided Status: New ** Bug watch added: GCC Bugzilla #52218 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218 ** Also affects: gcc via http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52218 Importance: Unknown Status: Unknown ** Tags added: arm-porting-queue -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/937011 Title: configure test lin libgo fails on arm (setcontext) To manage notifications about this bug go to: https://bugs.launchpad.net/gcc/+bug/937011/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs