|
From: | Yavor Doganov |
Subject: | [bug #30766] Serious problems on hppa -- all programs abort with malloc assertion failure |
Date: | Thu, 19 Aug 2010 19:16:41 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.22pre) Gecko/20090301 (Debian-1.8.1.18+nobinonly.b308.cvs20090331t155113-0ubuntu0.8.04.1) Kazehakase/0.5.6 gNewSense/0.5.6-gns3 |
Follow-up Comment #19, bug #30766 (project gnustep): I asked Carlos O'Donnel, the author of the glibc NPTL code for hppa if there's something wrong in the approach of hiding pthread internals with opaque types of the same size. He said: "Yes, you don't take into account the alignment requirement of the structure. The pthread_mutex_t and pthread_cond_t on hppa are __attribute__ ((aligned(16))), which means if you embedded them into another structure they need to be padded out to that alignment. The dummy structure you use here doesn't match the alignment and may break ABI." _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?30766> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |