NetBSD Problem Report #50107

From  Fri Jul 31 17:39:49 2015
Return-Path: <>
Received: from ( [])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "", Issuer "Postmaster" (verified OK))
	by (Postfix) with ESMTPS id 034D3A567D
	for <>; Fri, 31 Jul 2015 17:39:49 +0000 (UTC)
Message-Id: <>
Date: Fri, 31 Jul 2015 17:39:47 +0000 (UTC)
Subject: Compile issue with MySQL 
X-Send-Pr-Version: www-1.0

>Number:         50107
>Category:       pkg
>Synopsis:       Compile issue with MySQL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 31 17:40:00 +0000 2015
>Last-Modified:  Fri Jul 31 17:54:25 +0000 2015
>Originator:     thehinac
>Release:        NetBSD 7.0_RC2 (GENERIC.201507240251Z)
NetBSD 7.0_RC2 NetBSD 7.0_RC2 (GENERIC.201507240251Z) sparc

This is the output when compiling for MySQL or php-mysql

$NetBSD: MESSAGE.module,v 1.3 2015/02/15 09:00:33 taca Exp $

[ 71%] Building C object mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o
In file included from /usr/pkgsrc/databases/mysql55-client/work/mysql-5.5.44/mys                         ys/my_rdtsc.c:54:0:
/usr/pkgsrc/databases/mysql55-client/work/mysql-5.5.44/include/my_global.h:1428:                         0: warning: "__func__" redefined [enabled by default]
 #    define __func__ __FUNCTION__
In file included from /usr/include/pthread.h:35:0,
                 from /usr/pkgsrc/databases/mysql55-client/work/mysql-5.5.44/inc                         lude/my_global.h:274,
                 from /usr/pkgsrc/databases/mysql55-client/work/mysql-5.5.44/mys                         ys/my_rdtsc.c:54:
/usr/include/sys/cdefs.h:394:0: note: this is the location of the previous defin                         ition
 #define __func__ __PRETTY_FUNCTION__
/var/tmp//cchaqeg8.s: Assembler messages:
/var/tmp//cchaqeg8.s:11: Error: Architecture mismatch on "rd".
/var/tmp//cchaqeg8.s:11:  (Requires v9|v9a|v9b; requested architecture is sparcl                         ite.)
/var/tmp//cchaqeg8.s:11: Error: Architecture mismatch on "srlx".
/var/tmp//cchaqeg8.s:11:  (Requires v9|v9a|v9b; requested architecture is sparcl                         ite.)
mysys/CMakeFiles/mysys.dir/build.make:2262: recipe for target 'mysys/CMakeFiles/                         mysys.dir/my_rdtsc.c.o' failed
gmake[2]: *** [mysys/CMakeFiles/mysys.dir/my_rdtsc.c.o] Error 1
CMakeFiles/Makefile2:424: recipe for target 'mysys/CMakeFiles/mysys.dir/all' fai                         led
gmake[1]: *** [mysys/CMakeFiles/mysys.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
gmake: *** [all] Error 2
*** Error code 2

make[2]: stopped in /usr/pkgsrc/databases/mysql55-client
*** Error code 1

make[1]: stopped in /usr/pkgsrc/databases/mysql55-client
*** Error code 1

make: stopped in /usr/pkgsrc/databases/php-mysql

Compile mysql on sparc 



Responsible-Changed-From-To: port-sparc-maintainer->pkg-manager
Responsible-Changed-When: Fri, 31 Jul 2015 17:54:25 +0000
Not a base system issue, bug in mysql


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.