NetBSD Problem Report #50107
From www@NetBSD.org Fri Jul 31 17:39:49 2015
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 034D3A567D
for <gnats-bugs@gnats.NetBSD.org>; Fri, 31 Jul 2015 17:39:49 +0000 (UTC)
Message-Id: <20150731173947.E726DA6562@mollari.NetBSD.org>
Date: Fri, 31 Jul 2015 17:39:47 +0000 (UTC)
From: thehinac@gmail.com
Reply-To: thehinac@gmail.com
To: gnats-bugs@NetBSD.org
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)
>Organization:
N/A
>Environment:
NetBSD xo1.lagout.net 7.0_RC2 NetBSD 7.0_RC2 (GENERIC.201507240251Z) sparc
>Description:
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
Stop.
make[2]: stopped in /usr/pkgsrc/databases/mysql55-client
*** Error code 1
Stop.
make[1]: stopped in /usr/pkgsrc/databases/mysql55-client
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/databases/php-mysql
>How-To-Repeat:
Compile mysql on sparc
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: port-sparc-maintainer->pkg-manager
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Fri, 31 Jul 2015 17:54:25 +0000
Responsible-Changed-Why:
Not a base system issue, bug in mysql
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.