pkgsrc-Bugs archive

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

Re: pkg/43444



The following reply was made to PR pkg/43444; it has been noted by GNATS.

From: "OBATA Akio" <obache%netbsd.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/43444
Date: Wed, 29 Sep 2010 10:33:36 +0900

 On Tue, 28 Sep 2010 22:35:02 +0900, Rémi Zara <remi_zara%mac.com@localhost> 
wrote:
 
 >  There should be an mutexes impl for sparc/gcc
 > The configure test is:
 >      #if defined(__sparc__) && defined(__GNUC__)
 >              asm volatile ("membar =
 >  #StoreStore|#StoreLoad|#LoadStore");
 >              exit(0);
 >      #else
 >              FAIL TO COMPILE/LINK
 >      #endif
 > Does NetBSD defines __sparc__ ?
 
 At comment of above the codes:
   Sparc/gcc: SunOS, Solaris ultrasparc assembler support
 
 So maybe it requre -mcpu=ultrasparc or v9 for CFLAGS.
 
 -- 
 OBATA Akio / obache%NetBSD.org@localhost
 


Home | Main Index | Thread Index | Old Index