Bug #18837 Many build and test failures when configuring without --disable-shared
Submitted: 6 Apr 2006 9:02 Modified: 27 Apr 2006 19:57
Reporter: Kristian Nielsen Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.0.20 OS:Many different Unix
Assigned to: Magnus BlÄudd CPU Architecture:Any

[6 Apr 2006 9:02] Kristian Nielsen
Description:
Pushbuild currently configures all Unix builds with the --disable-shared option.

I tried removing that option, but the results were build and test failures on all the Unix platforms currently active in pushbuild.

Build failures:

AIX:
    0654-210 .libs/adler32.o is not valid in the current object file mode.
QNX:
    make[2]: *** [libmysqlclient_r.la] segmentation violation (core dumped)
Solaris 10 AMD:
    ld.so.1: gen_lex_hash: fatal: /usr/sfw/lib/libgcc_s.so.1: wrong ELF class: ELFCLASS32
    /bin/bash: line 1: 15653 Killed                  ./gen_lex_hash >lex_hash.h

Test failures:

HPUX:
    im_daemon_life_cycle           [ fail ]

Errors are (from /dev/shm/var-n_stm-5/log/mysqltest-time) :
mysqltest: Could not open connection 'default': 2002 Can't connect to local MySQL server through socket '/dev/shm/pbtmp-n_stm-5/im.sock' (111)
(the last lines may be the most important ones)

How to repeat:
Unpack a 5.0.20 source .tar.gz

./configure, don't specify --disable-shared

make

(cd mysql-test && perl mysql-test-run.pl)
[13 Apr 2006 11:03] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/4913