NetBSD Problem Report #53451

From bjjl@web.mx.plus  Sun Jul 15 19:05:57 2018
Return-Path: <bjjl@web.mx.plus>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 17F857A1B7
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 15 Jul 2018 19:05:57 +0000 (UTC)
Message-Id: <20180715182820.3981519FEE3@web.mx.plus>
Date: Sun, 15 Jul 2018 20:28:20 +0200 (CEST)
From: ben@pocket.services
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: redis build error
X-Send-Pr-Version: 3.95

>Number:         53451
>Category:       pkg
>Synopsis:       redis build error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          needs-pullups
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 15 19:10:00 +0000 2018
>Closed-Date:    
>Last-Modified:  Mon Jul 16 11:11:59 +0000 2018
>Originator:     ben@pocket.services
>Release:        NetBSD 8.0_RC2
>Organization:

>Environment:


System: NetBSD web.mx.plus 8.0_RC2 NetBSD 8.0_RC2 (GENERIC) #0: Mon Jun 25 13:01:26 UTC 2018 mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
    LINK redis-server
server.o: In function `updateCachedTime':
/home/bjjl/pkgsrc/databases/redis/work/redis-4.0.9/src/server.c:932: undefined reference to `__atomic_store_8'
networking.o: In function `createClient':
/home/bjjl/pkgsrc/databases/redis/work/redis-4.0.9/src/networking.c:93: undefined reference to `__atomic_fetch_add_8'
Makefile:204: recipe for target 'redis-server' failed
gmake[1]: *** [redis-server] Error 1
gmake[1]: Leaving directory '/home/bjjl/pkgsrc/databases/redis/work/redis-4.0.9/src'
Makefile:6: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

>How-To-Repeat:

>Fix:


>Release-Note:

>Audit-Trail:
From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53451 CVS commit: pkgsrc/databases/redis
Date: Sun, 15 Jul 2018 23:35:35 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Sun Jul 15 23:35:35 UTC 2018

 Modified Files:
 	pkgsrc/databases/redis: Makefile

 Log Message:
 redis: force -march=i586 on x86_32 to allow 8 byte atomics
 (netbsd defaults to i486 and doesn't provide magic to hide this)

 Fixes PR pkg/53451


 To generate a diff of this commit:
 cvs rdiff -u -r1.37 -r1.38 pkgsrc/databases/redis/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->maya
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 16 Jul 2018 07:03:35 +0000
Responsible-Changed-Why:
maya committed a fix for this.


State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 16 Jul 2018 07:03:35 +0000
State-Changed-Why:
Does it work for you?


Responsible-Changed-From-To: maya->pkg-manager
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Mon, 16 Jul 2018 10:36:50 +0000
Responsible-Changed-Why:


State-Changed-From-To: feedback->needs-pullups
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 16 Jul 2018 11:11:59 +0000
State-Changed-Why:
this works. the remaining part is to pullup the fixes.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.