[debian-mysql] Bug#617240:

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Mar 16 13:07:04 UTC 2011


Jakub,

  I am staring at the code of mysqlclient:

...
/*
  Wen using the embedded library, users might run into link problems,
  duplicate declaration of __cxa_pure_virtual, solved by declaring it a
  weak symbol.
*/
#if defined(USE_MYSYS_NEW) && ! defined(DONT_DECLARE_CXA_PURE_VIRTUAL)
C_MODE_START
int __cxa_pure_virtual () __attribute__ ((weak));
C_MODE_END
#endif
...

Shouldn't the mysqlclient package be compiled with the following
definition -DDONT_DECLARE_CXA_PURE_VIRTUAL

I believe the bug is in the debian/rules files which does not add this
defition in the CXXFLAGS

Comments ?
-- 
Mathieu





More information about the pkg-mysql-maint mailing list