RFC: __attribute__ ((forced_stack_boundary))

Jakub Jelinek jakub@redhat.com
Tue Dec 21 18:14:00 GMT 2004


On Tue, Dec 21, 2004 at 08:34:33AM +0100, Uros Bizjak wrote:
> There is a problem with some versions of pthread library on linux (RH 
> 8.0 for example), where the stack of subthreads is not aligned 
> correctly. This problem is covered in PR target/10395 
> (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10395), and as 10 
> duplicates show, the problem is quite serious.

Except that the right place where to report this is glibc bugzilla,
not GCC bugzilla, as it needs to be fixed in glibc, not in GCC.
It works correctly in NPTL, but doesn't in LinuxThreads or when using
clone directly.
See http://sources.redhat.com/ml/libc-hacker/2004-12/msg00068.html for
a fix.

	Jakub



More information about the Gcc mailing list