This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Detect obsolete glibcs or kernel headers in libgomp configury (PR libgomp/26175, libgomp/26477)
On Tue, Jun 06, 2006 at 07:48:01AM -0700, Richard Henderson wrote:
> On Mon, Jun 05, 2006 at 03:51:53PM -0400, Jakub Jelinek wrote:
> > The reason why I'd like to default to --enable-linux-futex as much as
> > possible is because the two are ABI incompatible ...
> Eh? How, specifically? I thought all the differences were
> hidden within the library itself.
With --enable-linux-futex, the size/alignment of omp_lock_t/omp_nest_lock_t
and omp_lock_kind/omp_nest_lock_kind are different from
With config/linux, omp_lock_t is 4 bytes, omp_nest_lock_t is 8 bytes
(and similarly Fortran kinds), with config/posix, omp_lock_t is 40 bytes
on 64-bit arches, 24 bytes on 32-bit arches and both Fortran kinds are
sizeof (void *).