Bug #29641 Link failure of executable mysqld
Submitted: 9 Jul 2007 9:12 Modified: 18 Jun 2010 1:16
Reporter: Kent Boortz Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version: OS:Other (openserver 6)
Assigned to: Jonathan Perkin CPU Architecture:Any

[9 Jul 2007 9:12] Kent Boortz
Description:
Linking 'mysqld' on openserver 6 fails with

 Undefined                       first referenced
 symbol                              in file
 my_rw_rdlock                        sql_parse.o
 my_rwlock_destroy                   mysqld.o
 my_rwlock_init                      mysqld.o
 my_rw_wrlock                        set_var.o
 backup::Image_info::Tables::__vtbl libbackup.a(sql_backup.o)
 my_rw_trywrlock                     sql_cache.o
 my_rw_unlock                        sql_parse.o
 UX:ld: ERROR: Symbol referencing errors. No output written to mysqld

How to repeat:
Compile on openserver 6 using the native compiler
[25 Jul 2007 8:44] 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/31532

ChangeSet@1.2554, 2007-07-25 10:44:45+02:00, jperkin@production.mysql.com +1 -0
  Fix for bug#29641 - $CC on Open Server is set to contain arguments
  for enabling threads.  However, duplicate AC_PROG_* macros in the
  innobase plug.in file were resetting $CC and causing link errors.
  
  As AC_PROG_* macros are already used in the main configure.in file
  there should be no need for them to be duplicated here too.
[2 Aug 2007 19:13] Bugs System
Pushed into 5.1.21-beta
[15 Dec 2007 17:01] Paul DuBois
No changelog entry needed.
[5 May 2010 15:13] Bugs System
Pushed into 5.1.47 (revid:joro@sun.com-20100505145753-ivlt4hclbrjy8eye) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[6 May 2010 3:01] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug. Re-closing.
[28 May 2010 6:03] Bugs System
Pushed into mysql-next-mr (revid:alik@sun.com-20100524190136-egaq7e8zgkwb9aqi) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (pib:16)
[28 May 2010 6:32] Bugs System
Pushed into 6.0.14-alpha (revid:alik@sun.com-20100524190941-nuudpx60if25wsvx) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[28 May 2010 6:59] Bugs System
Pushed into 5.5.5-m3 (revid:alik@sun.com-20100524185725-c8k5q7v60i5nix3t) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[28 May 2010 21:49] Paul DuBois
Push resulted from incorporation of InnoDB tree. No changes pertinent to this bug.
Re-closing.
[17 Jun 2010 12:07] Bugs System
Pushed into 5.1.47-ndb-7.0.16 (revid:martin.skold@mysql.com-20100617114014-bva0dy24yyd67697) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 12:52] Bugs System
Pushed into 5.1.47-ndb-6.2.19 (revid:martin.skold@mysql.com-20100617115448-idrbic6gbki37h1c) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)
[17 Jun 2010 13:34] Bugs System
Pushed into 5.1.47-ndb-6.3.35 (revid:martin.skold@mysql.com-20100617114611-61aqbb52j752y116) (version source revid:vasil.dimov@oracle.com-20100331130613-8ja7n0vh36a80457) (merge vers: 5.1.46) (pib:16)