Bug #7777 NDB compile problem: 'NdbTCP'
Submitted: 10 Jan 2005 16:49 Modified: 19 Jan 2005 10:55
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1.9 + 5.0.3 OS:Other (QNX)
Assigned to: Jonas Oreland CPU Architecture:Any

[10 Jan 2005 16:49] Joerg Bruehe
Description:
Build of release 4.1.9, based on changeset
  1.2190.1.1 05/01/07 12:29:15 lenz@mysql.com +1 -0
  - Updated Do-pkg to include the MySQL Preference Pane into the Mac OS X
    installation disk images
fails on QNX ('buildqnx') when NDB is included. The error is specific to QNX.
Excerpt from build log:

qcc -DHAVE_CONFIG_H -DNDEBUG -I. -I. -I../../../.. -I. -I../../../../include -I../../../../ndb/include -I../../../../ndb/include/util -I../../../../ndb/include/portlib -I../../../../ndb/include/logger -O3 -DDBUG_OFF -O1 -Wl,-E -fno-implicit-templates -fno-exceptions -fno-rtti -c NdbTCP.cpp -Wp,-MD,.deps/NdbTCP.TPlo -o NdbTCP.o
In file included from /usr/include/cpp/new:4,
                 from ../../../../ndb/include/ndb_global.h:141,
                 from NdbTCP.cpp:14:
/usr/include/cpp/exception: In method `void std::bad_exception::_Doraise() const':
/usr/include/cpp/exception:80: exception handling disabled, use -fexceptions to enable
cc: /usr/lib/gcc-lib/ntox86/2.95.3/cc1plus error 33
make[5]: *** [NdbTCP.lo] Error 1

How to repeat:
Try to build on QNX.
[17 Jan 2005 19:02] Joerg Bruehe
Same problem in build of 5.0.3, based on changeset
ChangeSet
  1.1771 05/01/13 15:10:12 lenz@mysql.com +1 -0
  - keep 5.0.3-alpha version string (after-merge fix)
[19 Jan 2005 10:55] Jonas Oreland
Ndb now compiles
And runs if I start it manually
However, mysql-test-run does not start.
Haven't investigated further...