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: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: adam%NetBSD.org@localhost, Hauke Fath 
<hauke%Espresso.Rhein-Neckar.DE@localhost>
Subject: Re: pkg/43444
Date: Wed, 29 Sep 2010 20:40:59 +0200

 At 1:35 Uhr +0000 29.9.2010, OBATA Akio wrote:
 > 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__ ?
 
 The gcc man/info docs have nothing, but there are a few hits under
 /usr/include:
 
 # fgrep -RH __sparc__ /usr/include
 /usr/include/arpa/nameser_compat.h:     (defined(__68k__) ||
 defined(__sparc__) || defined(__powerpc__)))
 /usr/include/net/bpf.h:    defined(__sh__) || (defined(__sparc__) &&
 !defined(__sparc64__))
 /usr/include/objc/sarray.h:#if defined(__sparc__) || defined(OBJC_SPARSE2)
 /usr/include/objc/sarray.h:#ifdef __sparc__
 /usr/include/netdb.h:#if (defined(__sparc__) && defined(_LP64)) || \
 /usr/include/netdb.h:#if defined(__sparc__) && defined(_LP64)
 #
 
 > At comment of above the codes:
 >   Sparc/gcc: SunOS, Solaris ultrasparc assembler support
 >
 > So maybe it requre -mcpu=ultrasparc or v9 for CFLAGS.
 
 The PR was filed against sparc, not sparc64, so - no v9.
 
        hauke
 
 
 --
 "It's never straight up and down"     (DEVO)
 
 


Home | Main Index | Thread Index | Old Index