This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: __attribute__ ((forced_stack_boundary))
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Uros Bizjak <uros at kss-loka dot si>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 21 Dec 2004 19:14:15 +0100
- Subject: Re: RFC: __attribute__ ((forced_stack_boundary))
- References: <41C7D209.9040109@kss-loka.si>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
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