Hi, libdb* has some important/RC-bugs about mutex support and threading. After looking deeper at it, it seems to me that the way to go is to use the solution from db4.3, namely to add --enable-pthreadsmutexes to configure (and disable it by default) and don't use LD_ASSUME_KERNEL. (Not using LD_ASSUME_KERNELS will make sure it works fine on all 2.6 systems, and not using pthreads will make sure it works fine on all 2.4 systems, so that part is IMHO necessary to fix anyways, even if reported only for amd64. IMHO the mips mutex is also necessary to fix.)
Please feel free to use your cluebat on me, if I misunderstood something. If there are no issues, I'll go to implement the necessary changes to the other db-packages, and port the current mips*-mutex support. This will solve the following bugs: db2: (not reported) packages compiled on 2.6 have issues on 2.4 (not reported) Fast mutex support for mips and amd64 db3: #283520: db3: FTBFS: LD_ASSUME_KERNEL=2.4.24 not supported on amd64 (not reported) Fast mutex support for mips and amd64 db4.0: #276828: db4.0: FTBFS on amd64: No linuxthreads (not reported) Fast mutex support for mips and amd64 db4.1: (not reported) packages compiled on 2.6 have issues on 2.4 #281059: db4.1: Fast mutex support for mips and amd64. db4.2: #232305: libdb4.2: Hangs on SMP (HyperThreaded P4) system using slapd 2.1.25-1 #248131: amd64 support: Missing mutexes and "$LD" vs. $LD I also will apply the fix to: #266685: libdb3: db3 loops on mutex on hppa Cheers, Andi -- http://home.arcor.de/andreas-barth/ PGP 1024/89FB5CE5 DC F1 85 6D A6 45 9C 0F 3B BE F1 D0 C5 D1 D9 0C -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

