Bug #34786 Compiling ndb on Mac OS X 10.5.2 (Intel) fails

Submitted: 24 Feb 2008 13:00 Modified: 26 Mar 2008 17:53
Reporter: Mattias Jonsson Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Compiling Severity:S2 (Serious)
Version:5.1-BK OS:MacOS
Assigned to: Andrey Hristov CPU Architecture:Any

[24 Feb 2008 13:00] Mattias Jonsson
Description:
BUILD/compile-pentium-debug-max fails with the latest mysql-5.1 tree.

gcc -g -DSAFE_MUTEX -DSAFEMALLOC -Wimplicit -Wreturn-type -Wswitch -Wtrigraphs -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value -Wunused-variable -Wctor-dtor-privacy -Wnon-virtual-dtor -felide-constructors -fno-exceptions -fno-rtti -mtune=pentium-m -DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX -fno-implicit-templates -fno-exceptions -fno-rtti -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL -o ndbd main.o SimBlockList.o -Wl,-bind_at_load  blocks/libblocks.a vm/libkernel.a error/liberror.a ../../../../storage/ndb/src/common/transporter/.libs/libtransporter.a ../../../../storage/ndb/src/common/debugger/.libs/libtrace.a ../../../../storage/ndb/src/common/debugger/signaldata/.libs/libsignaldataprint.a ../../../../storage/ndb/src/common/logger/.libs/liblogger.a ../../../../storage/ndb/src/common/mgmcommon/.libs/libmgmsrvcommon.a ../../../../storage/ndb/src/mgmapi/.libs/libmgmapi.a ../../../../storage/ndb/src/common/portlib/.libs/libportlib.a ../../../../storage/ndb/src/common/util/.libs/libgeneral.a ../../../../dbug/libdbug.a ../../../../mysys/libmysys.a ../../../../strings/libmystrings.a -lm
ld: duplicate symbol Vector<unsigned int>::size() constin vm/libkernel.a(ndbd_malloc_impl.o) and blocks/libblocks.a(tsman.o)

How to repeat:
Run BUILD/compile-pentium-debug-max on the latest (2008-02-24) mysql-5.1 bk-tree
[27 Feb 2008 18:49] Sveta Smirnova
Thank you for the report.

Verified as described on Tiger.
[4 Mar 2008 10:48] Andrey Hristov
Verified on Leopard 10.5.2
[5 Mar 2008 13:57] 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/43460

ChangeSet@1.2556, 2008-03-05 14:57:13+01:00, andrey@whirlpool.hristov.com +1 -0
  Fix for Bug #34786 Compiling ndb on Mac OS X 10.5.2 (Intel) fails
[5 Mar 2008 14:05] Mattias Jonsson
Great! now it compiles again! (patch verified to work on 10.5.2 macbook late 2007 and the latest main tree, mysql-5.1, source)
[26 Mar 2008 14:13] Bugs System
Pushed into 5.1.24-rc
[26 Mar 2008 17:53] Paul DuBois
No changelog entry needed. (Problem appears not to affect any released version.)
[27 Mar 2008 17:51] Bugs System
Pushed into 6.0.5-alpha

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.053 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.