<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="485443">
  <date_last_updated>2010-02-11 19:46:11.695531+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/485443</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~sanja-byelkin</bug_owner_link>
    <milestone_link></milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/485443/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/485443/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/485443</bug_web_link>
  <owner>Oleksandr &quot;Sanja&quot; Byelkin</owner>
  <assignee>Michael Widenius</assignee>
  <milestone_title></milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>--with-fast-mutexes and without safe mutexes (debug build) maria do not builds</title>
  <status>Fix Released</status>
  <importance>High</importance>
  <created>2009-11-19 19:13:38.576761+00:00</created>
  <description>
<![CDATA[above casues errors like this:
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_malloc’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_malloc’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_open’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_open’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_keycache’]]>  </description>
  <activities>
    <activity datechanged="2009-11-19T19:13:38.576761+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Oleksandr &quot;Sanja&quot; Byelkin</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2009-11-19T20:18:01.602240+00:00">
      <oldvalue>
<![CDATA[New]]>      </oldvalue>
      <newvalue>
<![CDATA[Incomplete]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-20T11:36:25.854050+00:00">
      <oldvalue>
<![CDATA[Incomplete]]>      </oldvalue>
      <newvalue>
<![CDATA[Confirmed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Oleksandr &quot;Sanja&quot; Byelkin</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-23T11:06:33.356469+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[compile]]>      </newvalue>
      <whatchanged>tags</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-24T14:48:26.322898+00:00">
      <oldvalue>
<![CDATA[compile]]>      </oldvalue>
      <newvalue>
<![CDATA[5.1 compile]]>      </newvalue>
      <whatchanged>tags</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-24T14:48:46.726129+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Michael Widenius (monty)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-24T14:48:55.006390+00:00">
      <oldvalue>
<![CDATA[Undecided]]>      </oldvalue>
      <newvalue>
<![CDATA[High]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Hakan Küçükyılmaz</person>
      <message></message>
    </activity>
    <activity datechanged="2009-11-25T23:34:49.222735+00:00">
      <oldvalue>
<![CDATA[Confirmed]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Committed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Michael Widenius</person>
      <message></message>
    </activity>
    <activity datechanged="2010-02-11T19:46:10.651820+00:00">
      <oldvalue>
<![CDATA[Fix Committed]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Released]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Kristian Nielsen</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/485443/comments/0" datecreated="2009-11-19T19:13:38.576761+00:00">
      <person>Oleksandr &quot;Sanja&quot; Byelkin</person>
      <subject>
<![CDATA[--with-fast-mutexes and without safe mutexes (debug build) maria do not builds]]>      </subject>
      <content>
<![CDATA[above casues errors like this:
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_malloc’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_malloc’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_open’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_open’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_keycache’]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/485443/comments/1" datecreated="2009-11-19T20:19:16.937253+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Re: --with-fast-mutexes and without safe mutexes (debug build) maria do not builds]]>      </subject>
      <content>
<![CDATA[Sanja,

can you please provide a description how to reproduce this bug.

Thanks,]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/485443/comments/2" datecreated="2009-11-20T09:37:16+00:00">
      <person>Oleksandr &quot;Sanja&quot; Byelkin</person>
      <subject>
<![CDATA[Re: [Bug 485443] Re: --with-fast-mutexes and without safe mutexes (debug build) maria do not builds]]>      </subject>
      <content>
<![CDATA[
19 нояб. 2009, в 22:19, Hakan Küçükyılmaz написал(а):

> Sanja,
>
> can you please provide a description how to reproduce this bug.

configure --with-fast-mutexes but without debug. Then try to build.


Easiest way is to put --with-fast-mutexes in BUILD/SETUP.sh  in  
base_configs variable, then use non-debug compile script.]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/485443/comments/3" datecreated="2009-11-20T17:32:58.875632+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Re: --with-fast-mutexes and without safe mutexes (debug build) maria do not builds]]>      </subject>
      <content>
<![CDATA[I could also reproduce it with our lp:maria branch

BUILD/autorun.sh
./configure --with-fast-mutexes
make -j2

...
...
...
gcc -DDEFAULT_BASEDIR=\"/usr/local\" -DMYSQL_DATADIR="\"/usr/local/var\"" -DDEFAULT_CHARSET_HOME="\"/usr/local\"" -DSHAREDIR="\"/usr/local/share/mysql\"" -DDEFAULT_HOME_ENV=MYSQL_HOME -DDEFAULT_GROUP_SUFFIX_ENV=MYSQL_GROUP_SUFFIX -DDEFAULT_SYSCONFDIR="\"/usr/local/etc\"" -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -I.    -O3    -DUNIV_LINUX -MT thr_rwlock.o -MD -MP -MF .deps/thr_rwlock.Tpo -c -o thr_rwlock.o thr_rwlock.c
In file included from thr_mutex.c:846:
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_malloc’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_malloc’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_open’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_open’ was here
mysys_priv.h:29: error: conflicting types for ‘THR_LOCK_keycache’
mysys_priv.h:29: error: previous declaration of ‘THR_LOCK_keycache’ was here
mysys_priv.h:30: error: conflicting types for ‘THR_LOCK_lock’
mysys_priv.h:30: error: previous declaration of ‘THR_LOCK_lock’ was here
mysys_priv.h:30: error: conflicting types for ‘THR_LOCK_isam’
mysys_priv.h:30: error: previous declaration of ‘THR_LOCK_isam’ was here
mysys_priv.h:30: error: conflicting types for ‘THR_LOCK_net’
mysys_priv.h:30: error: previous declaration of ‘THR_LOCK_net’ was here
mysys_priv.h:31: error: conflicting types for ‘THR_LOCK_charset’
mysys_priv.h:31: error: previous declaration of ‘THR_LOCK_charset’ was here
mysys_priv.h:31: error: conflicting types for ‘THR_LOCK_time’
mysys_priv.h:31: error: previous declaration of ‘THR_LOCK_time’ was here
In file included from thr_mutex.c:847:
my_static.h:29: error: redefinition of ‘struct st_remember’
my_static.h:43: error: redefinition of ‘struct st_irem’
make[1]: *** [thr_mutex.o] Error 1
]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/485443/comments/4" datecreated="2009-11-20T23:16:10.539608+00:00">
      <person>Hakan Küçükyılmaz</person>
      <subject>
<![CDATA[Re: --with-fast-mutexes and without safe mutexes (debug build) maria do not builds]]>      </subject>
      <content>
<![CDATA[Just tried with lp:mysql-server and it builds fine:

BUILD/autorun.sh
./configure --with-fast-mutexes
make -j2
...
...
...
libtool: link: g++ -O3 -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysqlmanager mysqlmanager-command.o mysqlmanager-mysqlmanager.o mysqlmanager-manager.o mysqlmanager-log.o mysqlmanager-thread_registry.o mysqlmanager-listener.o mysqlmanager-protocol.o mysqlmanager-mysql_connection.o mysqlmanager-user_map.o mysqlmanager-messages.o mysqlmanager-commands.o mysqlmanager-instance.o mysqlmanager-instance_map.o mysqlmanager-instance_options.o mysqlmanager-buffer.o mysqlmanager-parse.o mysqlmanager-guardian.o mysqlmanager-parse_output.o mysqlmanager-user_management_commands.o mysqlmanager-angel.o  ./.libs/liboptions.a -lpthread -lpthread -lpthread -lpthread libnet.a ../../vio/libvio.a ../../mysys/libmysys.a ../../strings/libmystrings.a ../../dbug/libdbug.a -lz -lpthread -lcrypt -lnsl -lm -lpthread
make[2]: Leaving directory `/home/hakan/work/mysql/mysql-server-fast-mutex/server-tools/instance-manager'
make[1]: Leaving directory `/home/hakan/work/mysql/mysql-server-fast-mutex/server-tools'
Making all in win
make[1]: Entering directory `/home/hakan/work/mysql/mysql-server-fast-mutex/win'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/hakan/work/mysql/mysql-server-fast-mutex/win'
]]>      </content>
    </comment>
  </comments>
</launchpad-bug>
