Subject: port-sparc/11613: MySQL port-sparc
To: None <gnats-bugs@gnats.netbsd.org>
From: None <bhales@cmpail.com>
List: netbsd-bugs
Date: 11/30/2000 02:22:13
>Number:         11613
>Category:       port-sparc
>Synopsis:       MySQL will not compile using ports
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    port-sparc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 30 02:22:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Brett HALES
>Release:        Nov 19th 2000
>Organization:
	
>Environment:
	
System: NetBSD newman 1.5_ALPHA2 NetBSD 1.5_ALPHA2 (GENERIC) #4: Wed Aug 30 04:29:24 BST 2000 root@dora.int.purplei.com:/files/transient/netbsd/src/sys/arch/sparc/compile/GENERIC sparc


>Description:

I try to compile MySQL-Server-3.22.32 for NetBSD Sparc and it dies during compilation. A dump of the final screams are below.

rm -f libheap.a
ar cru libheap.a hp_open.o hp_extra.o hp_close.o hp_panic.o  hp_info.o hp_rrnd.o
 hp_scan.o hp_update.o hp_write.o hp_delete.o  hp_rsame.o hp_create.o hp_rename.
o hp_rfirst.o hp_rnext.o hp_rlast.o  hp_rprev.o hp_clear.o hp_rkey.o hp_block.o 
hp_hash.o _check.o  _rectest.o hp_static.o 
ranlib libheap.a
cc -DWANT_OLD_HEAP_VERSION -I../mit-pthreads/include -I./../include -I../include
    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_
OFF -O2 -Dunix -Dunix -c hp_test1.c
/bin/sh ../libtool --mode=link cc  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_
FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -Wl,-R/usr/pkg/lib -L/usr/p
kg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o hp_test1  hp_test1.o libheap.a ../my
sys/libmysys.a ../dbug/libdbug.a                        ../strings/libmystrings.
a ../mit-pthreads/obj/libpthread.a -lm   -lz -lcrypt
mkdir .libs
cc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_O
FF -O2 -Dunix -Dunix -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr
/pkg/lib -o hp_test1 hp_test1.o libheap.a ../mysys/libmysys.a ../dbug/libdbug.a 
../strings/libmystrings.a ../mit-pthreads/obj/libpthread.a -lm -lz -lcrypt
cc -DWANT_OLD_HEAP_VERSION -I../mit-pthreads/include -I./../include -I../include
    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_
OFF -O2 -Dunix -Dunix -c hp_test2.c
/bin/sh ../libtool --mode=link cc  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_
FILE_OFFSET_BITS=64 -O6 -DDBUG_OFF -O2 -Dunix -Dunix -Wl,-R/usr/pkg/lib -L/usr/p
kg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -o hp_test2  hp_test2.o libheap.a ../my
sys/libmysys.a ../dbug/libdbug.a                        ../strings/libmystrings.
a ../mit-pthreads/obj/libpthread.a -lm   -lz -lcrypt
cc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O6 -DDBUG_O
FF -O2 -Dunix -Dunix -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr
/pkg/lib -o hp_test2 hp_test2.o libheap.a ../mysys/libmysys.a ../dbug/libdbug.a 
../strings/libmystrings.a ../mit-pthreads/obj/libpthread.a -lm -lz -lcrypt
../mit-pthreads/obj/libpthread.a(strerror.o): In function `strerror':
strerror.o(.text+0x14): warning: reference to compatibility sys_errlist[]; inclu
de <errno.h> for correct reference
strerror.o(.text+0x4): warning: reference to compatibility sys_nerr; include <er
rno.h> for correct reference
Making all in sql
Making all in share
c++ -DMYSQL_SERVER                      -DDEFAULT_MYSQL_HOME="\"/usr/pkg\""     
                -DDATADIR="\"/var/mysql\""                      -DSHAREDIR="\"/u
sr/pkg/share/mysql\""                   -DHAVE_CONFIG_H -I../mit-pthreads/includ
e -I./../include                        -I./../regex                    -I. -I..
/include -I.. -I.    -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BI
TS=64 -O3 -DDBUG_OFF -O2 -Dunix -Dunix  -fno-implicit-templates -c item.cc
item.cc: In method `bool Item::send(class String *)':
item.cc:555: Internal compiler error.
item.cc:555: Please submit a full bug report to `egcs-bugs@egcs.cygnus.com'.
item.cc:555: See <URL:http://egcs.cygnus.com/faq.html#bugreport> for details.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


>How-To-Repeat:
cd /usr/pkgsrc/databases/mysql-server

make

It fails during the make process.

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: