pkgsrc-Bugs archive

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

Re: pkg/53570: devel/libatomic_ops: broken on sparc, attempts to use v9 instructions



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

From: Tobias Ulmer <tobiasu%tmux.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/53570: devel/libatomic_ops: broken on sparc, attempts to use
 v9 instructions
Date: Tue, 11 Sep 2018 15:11:52 +0200

 On Sun, Sep 02, 2018 at 11:20:00PM +0000, tobiasu%tmux.org@localhost wrote:
 > >Number:         53570
 > >Category:       pkg
 > >Synopsis:       devel/libatomic_ops: broken on sparc, attempts to use v9 instructions
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    pkg-manager
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sun Sep 02 23:20:00 +0000 2018
 > >Originator:     Tobias Ulmer
 > >Release:        8.99.24 / pkgsrc HEAD
 > >Organization:
 > >Environment:
 > NetBSD ss20.tmux.org 8.99.24 NetBSD 8.99.24 (GENERIC.MP) #0: Mon Aug 27 17:47:48 UTC 2018  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/sparc/compile/GENERIC.MP sparc
 > >Fix:
 
 2nd attempt, this time to the proper gnats address :)
 
 Builds ok. w3m works fine.
 
 Passes the test suite on my dual HyperSPARC without problem.
 
 Index: Makefile
 ===================================================================
 RCS file: /home/vcs/cvs/netbsd/pkgsrc/devel/libatomic_ops/Makefile,v
 retrieving revision 1.17
 diff -u -p -r1.17 Makefile
 --- Makefile	16 Aug 2018 10:13:30 -0000	1.17
 +++ Makefile	5 Sep 2018 20:01:03 -0000
 @@ -20,3 +20,7 @@ TEST_TARGET=		check
  INSTALL_MAKE_FLAGS=	pkgdatadir=${PREFIX}/share/doc/libatomic_ops
  
  .include "../../mk/bsd.pkg.mk"
 +
 +.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc)
 +CPPFLAGS+=	-DAO_NO_SPARC_V9=1
 +.endif
 


Home | Main Index | Thread Index | Old Index