This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Patch 2 of 2 for ILP32 aarch64

On Tue, 2017-06-13 at 10:09 +0100, Szabolcs Nagy wrote:
> FAIL: nptl/tst-initializers1
> FAIL: nptl/tst-initializers1-c11
> FAIL: nptl/tst-initializers1-c89
> FAIL: nptl/tst-initializers1-c99
> FAIL: nptl/tst-initializers1-gnu11
> FAIL: nptl/tst-initializers1-gnu89
> FAIL: nptl/tst-initializers1-gnu99

I took a look at these failures and saw that
__PTHREAD_RWLOCK_INT_FLAGS_SHARED is only being set when in 64 bit
mode.  I updated sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h to
define this macro and that fixed these failures.  I will include that
change in my next patch submission (currently waiting on the kernel

Steve Ellcey

% git diff sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
diff --git a/sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
index d13a75d..9aa9f04 100644
--- a/sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
+++ b/sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
@@ -65,5 +65,6 @@ struct __pthread_rwlock_arch_t
 #endif /* bits/pthreadtypes.h */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]