This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12113] Segmentation fault in dynamic loader on AVX enabled OS and CPU with AVX
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 13 Oct 2010 23:24:58 +0000
- Subject: [Bug libc/12113] Segmentation fault in dynamic loader on AVX enabled OS and CPU with AVX
- Auto-submitted: auto-generated
- References: <bug-12113-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12113
--- Comment #15 from H.J. Lu <hjl.tools at gmail dot com> 2010-10-13 23:24:42 UTC ---
(In reply to comment #12)
> So shouldn't the fix be just that TLS_INIT_TCB_ALIGN is defined to 32 as well?
Not enough due to
descr.h has
struct pthread
{
union
{
#if !TLS_DTV_AT_TP
/* This overlaps the TCB as used for TLS without threads (see tls.h). */
tcbhead_t header;
#else
...
} __attribute ((aligned (TCB_ALIGNMENT)));
#define TCB_ALIGNMENT 16
If tcbhead_t isn't aligned at >= 32byte, struct pthread will be
aligned at 16byte,
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.