List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:November 7 2006 4:01pm
Subject:bk commit into 4.1 tree (joerg:1.2540) BUG#24023
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of joerg. When joerg does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2006-11-07 16:01:54+01:00, joerg@trift2. +1 -0
  Fix bug#24023:  Let "ndb/src/common/portlib/gcc.cpp" export a dummy symbol.

  ndb/src/common/portlib/gcc.cpp@stripped, 2006-11-07 16:01:52+01:00, joerg@trift2. +3 -0
    Fix bug#24023:  Make sure this module always exports some symbol, whether used
anywhere or not.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	joerg
# Host:	trift2.
# Root:	/MySQL/M41/bug24023-4.1

--- 1.2/ndb/src/common/portlib/gcc.cpp	2006-11-07 16:01:59 +01:00
+++ 1.3/ndb/src/common/portlib/gcc.cpp	2006-11-07 16:01:59 +01:00
@@ -4,4 +4,7 @@
  */
 #ifdef DEFINE_CXA_PURE_VIRTUAL
 extern "C" { int __cxa_pure_virtual() { return 0;} }
+#else
+/* Some compiler/linker combinations fail on files without exported symbols. */
+extern "C" { int dummy_export_symbol() { return 0;} }
 #endif
Thread
bk commit into 4.1 tree (joerg:1.2540) BUG#24023Joerg Bruehe7 Nov