Thank you so much!
I remove the related parameter and it works.
Thanks again for your professional work.
On Mon, Jul 1, 2013 at 2:06 PM, Alexey Kopytov
<email address hidden>wrote:
> I guess you are building with -DWITH_PERFSCHEMA_STORAGE_ENGINE=0. In
> which case the thread pool code should not access PSI_server members,
> because PSI is declared with the PSI_none type. E.g. all such code
> should be wrapped into
>
> #ifdef HAVE_PSI_INTERFACE
>
> ** Also affects: percona-server/5.1
> Importance: Undecided
> Status: New
>
> ** Also affects: percona-server/5.5
> Importance: Undecided
> Status: New
>
> ** Also affects: percona-server/5.6
> Importance: Undecided
> Status: New
>
> ** Changed in: percona-server/5.1
> Status: New => Invalid
>
> ** Changed in: percona-server/5.5
> Status: New => Confirmed
>
> ** Changed in: percona-server/5.6
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1196383
>
> Title:
> crash during compiling from source code
>
> Status in Percona Server with XtraDB:
> Confirmed
> Status in Percona Server 5.1 series:
> Invalid
> Status in Percona Server 5.5 series:
> Confirmed
> Status in Percona Server 5.6 series:
> Confirmed
>
> Bug description:
> It will crash if use these two parameters :
> -DWITHOUT_XXX_STORAGE_ENGINE=1 or -DWITH_XXX_STORAGE_ENGINE=1, like
> -DWITH_ARCHIVE_STORAGE_ENGINE=1 or
> -DWITHOUT_FEDERATED_STORAGE_ENGINE=1
>
>
> [ 96%] Building CXX object sql/CMakeFiles/sql.dir/threadpool_common.cc.o
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In
> member function 'void Worker_thread_context::save()':
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:79:
> error: 'struct PSI_none' has no member named 'get_thread'
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In
> member function 'void Worker_thread_context::restore()':
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:86:
> error: 'struct PSI_none' has no member named 'set_thread'
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In
> function 'bool thread_attach(THD*)':
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:103:
> error: 'struct PSI_none' has no member named 'set_thread'
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc: In
> function 'int threadpool_add_connection(THD*)':
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:202:
> error: 'struct PSI_none' has no member named 'new_thread'
> /root/src/Percona-Server-5.6.12-rc60.4/sql/threadpool_common.cc:202:
> error: 'key_thread_one_connection' was not declared in this scope
> make[2]: *** [sql/CMakeFiles/sql.dir/threadpool_common.cc.o] Error 1
> make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
> make: *** [all] Error 2
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/percona-server/+bug/1196383/+subscriptions
>
Thank you so much!
I remove the related parameter and it works.
Thanks again for your professional work.
On Mon, Jul 1, 2013 at 2:06 PM, Alexey Kopytov
<email address hidden>wrote:
> I guess you are building with -DWITH_ PERFSCHEMA_ STORAGE_ ENGINE= 0. In /bugs.launchpad .net/bugs/ 1196383 XXX_STORAGE_ ENGINE= 1 or -DWITH_ XXX_STORAGE_ ENGINE= 1, like ARCHIVE_ STORAGE_ ENGINE= 1 or FEDERATED_ STORAGE_ ENGINE= 1 sql.dir/ threadpool_ common. cc.o Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc: In thread_ context: :save() ': Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc:79: Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc: In thread_ context: :restore( )': Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc:86: Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc: In attach( THD*)': Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc:103: Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc: In add_connection( THD*)': Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc:202: Percona- Server- 5.6.12- rc60.4/ sql/threadpool_ common. cc:202: one_connection' was not declared in this scope /sql.dir/ threadpool_ common. cc.o] Error 1 /sql.dir/ all] Error 2 /bugs.launchpad .net/percona- server/ +bug/1196383/ +subscriptions
> which case the thread pool code should not access PSI_server members,
> because PSI is declared with the PSI_none type. E.g. all such code
> should be wrapped into
>
> #ifdef HAVE_PSI_INTERFACE
>
> ** Also affects: percona-server/5.1
> Importance: Undecided
> Status: New
>
> ** Also affects: percona-server/5.5
> Importance: Undecided
> Status: New
>
> ** Also affects: percona-server/5.6
> Importance: Undecided
> Status: New
>
> ** Changed in: percona-server/5.1
> Status: New => Invalid
>
> ** Changed in: percona-server/5.5
> Status: New => Confirmed
>
> ** Changed in: percona-server/5.6
> Status: New => Confirmed
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https:/
>
> Title:
> crash during compiling from source code
>
> Status in Percona Server with XtraDB:
> Confirmed
> Status in Percona Server 5.1 series:
> Invalid
> Status in Percona Server 5.5 series:
> Confirmed
> Status in Percona Server 5.6 series:
> Confirmed
>
> Bug description:
> It will crash if use these two parameters :
> -DWITHOUT_
> -DWITH_
> -DWITHOUT_
>
>
> [ 96%] Building CXX object sql/CMakeFiles/
> /root/src/
> member function 'void Worker_
> /root/src/
> error: 'struct PSI_none' has no member named 'get_thread'
> /root/src/
> member function 'void Worker_
> /root/src/
> error: 'struct PSI_none' has no member named 'set_thread'
> /root/src/
> function 'bool thread_
> /root/src/
> error: 'struct PSI_none' has no member named 'set_thread'
> /root/src/
> function 'int threadpool_
> /root/src/
> error: 'struct PSI_none' has no member named 'new_thread'
> /root/src/
> error: 'key_thread_
> make[2]: *** [sql/CMakeFiles
> make[1]: *** [sql/CMakeFiles
> make: *** [all] Error 2
>
> To manage notifications about this bug go to:
> https:/
>