Le 27 sept. 2010 à 11:20, OBATA Akio a écrit : > The following reply was made to PR pkg/43894; it has been noted by GNATS. > > From: "OBATA Akio" <obache%netbsd.org@localhost> > To: gnats-bugs%netbsd.org@localhost > Cc: > Subject: Re: pkg/43894: database/db4-4.8.30 does not build on NetBSD/cobalt > 5.0.2 > Date: Mon, 27 Sep 2010 18:15:39 +0900 > > Adding CONFIGURE_ARGS+= --disable-mutexsupport, or CFLAGS+=-mips2 (or > something) > for cobalt? > I found the problem. The following patch solves it: --- dbinc/mutex_int.h.orig 2010-09-27 22:54:05.000000000 +0200 +++ dbinc/mutex_int.h 2010-09-27 22:55:54.000000000 +0200 @@ -778,10 +778,14 @@ static inline void MUTEX_UNSET(tsl_t *tsl) { __asm__ volatile( + " .set push \n" + " .set mips2 \n" " .set noreorder \n" + " .set nomacro \n" " sync \n" " sw $0, %0 \n" " .set reorder \n" + " .set pop \n" : "=m" (*tsl) : "m" (*tsl) : "memory"); Regards, Rémi Zara
Attachment:
smime.p7s
Description: S/MIME cryptographic signature