Hello all,

With a patch (see below) kindly provided by brad@   we were able to
get MySQL 5.x to build from ports on an Alphaserver and not bail with
internal gcc compiler errors; however, when a:

# pkg_add mysql-server-5.0.xx.tgz

is run MySQL reliably core dumps every time as it's nearing completion
of the package installation with this error:

###############
mysql-server-5.0.18: complete
pid 16934 (mysqld): unaligned access: va=0x1205602a7 pc=0x120367bb4
ra=0x120367d0c op=ldl
Bus error (core dumped)
###############


At this point, it's checkmate, as creating the stock tables manually
(and/or starting MySQL manually) doesn't work and results in the same
core dump.

Anyone else have any thoughts?


Here's Brad's patch:
#######################
gcc-patch-sql-Makefile_in
#######################
$OpenBSD$
--- sql/Makefile.in.orig        Fri May 12 16:00:08 2006
+++ sql/Makefile.in     Fri May 12 16:00:46 2006
@@ -1261,6 +1261,9 @@ lex_hash.h:       gen_lex_hash$(EXEEXT)
udf_example.so:        udf_example.cc
               $(CXXCOMPILE) -shared -o $@ $<

+sql_table.o:   sql_table.cc
+       $(CXXCOMPILE) -O0 -c -o $@ $<
+
# Don't update the files from bitkeeper
%::SCCS/s.%
# Tell versions [3.59,3.63) of GNU make to not export all variables.


As always: thanks, especially to Brad for spending some time trying to
get things going for me.
Kevin




--
http://www.ebiinc.com :
Background Screening from EBI
National & International Background Checks

Reply via email to