NetBSD-Bugs archive

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

port-sparc/50107: Compile issue with MySQL



>Number:         50107
>Category:       port-sparc
>Synopsis:       Compile issue with MySQL
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 31 17:40:00 +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:



Home | Main Index | Thread Index | Old Index