pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43894: database/db4-4.8.30 does not build on NetBSD/cobalt 5.0.2



Le 28 sept. 2010 à 10: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: Tue, 28 Sep 2010 17:16:43 +0900
> 
> On Tue, 28 Sep 2010 16:20:04 +0900, R?mi Zara <remi_zara%mac.com@localhost> 
> wrote:
> 
>> --- 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"
>>                : "=3Dm" (*tsl)
>>                : "m" (*tsl)
>>                : "memory");
> 
> .nomacro is required?

Not sure. I duplicated the code above, and some code I found via google, which 
used it.

Regards,

Rémi Zara

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index