This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5436] makecontext doesn't copy longs on x86_64
- From: "jakub at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Nov 2007 20:10:52 -0000
- Subject: [Bug libc/5436] makecontext doesn't copy longs on x86_64
- References: <20071130194911.5436.rth@gcc.gnu.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jakub at redhat dot com 2007-11-30 20:10 -------
Yeah, I know it sucks, but that's what POSIX requires:
The application shall ensure that the value of argc matches the number of
arguments of type int passed to func; otherwise, the behavior is undefined.
So, we'd need a different entrypoint for this, and libgomp would need to have
a fallback to the standard makecontext anyway.
Can't you use just an int index and some wrapper function which will from that
index find in the list of current team resp. thread tasks what fn to call and
what argument should be given to it?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5436
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.