List:Commits« Previous MessageNext Message »
From:Tor Didriksen Date:October 11 2011 2:52pm
Subject:bzr push into mysql-trunk-wl5825-stl branch (tor.didriksen:3440 to 3441)
View as plain text  
 3441 Tor Didriksen	2011-10-11
      Release build fails on APPLE: duplicate symbol _ut_crc32
      
      Remove -fno-common from APPLE gcc flags.
      It prohibits common symbols in *all* libraries/executables.
      I guess it is a leftover from the autoconf scripts, which
      specify -fno-common to enforce behaviour needed for creating .dylib files.
      
      Remove -felide-constructors (which is default anyways)

    modified:
      cmake/build_configurations/mysql_release.cmake
 3440 Tor Didriksen	2011-10-11
      Remove -static-libgcc
      build failed with /usr/local/gcc-4.3.4
      (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27880)
      but we probably want -dynamic-libgcc anyways ...
      
      Add explicit -fabi-version=2

    modified:
      cmake/build_configurations/mysql_release.cmake
=== modified file 'cmake/build_configurations/mysql_release.cmake'
--- a/cmake/build_configurations/mysql_release.cmake	2011-10-11 08:21:17 +0000
+++ b/cmake/build_configurations/mysql_release.cmake	2011-10-11 14:52:17 +0000
@@ -193,9 +193,8 @@ IF(UNIX)  
 
   # OSX flags
   IF(APPLE)
-    SET(COMMON_C_FLAGS                 "-g -fno-common -fno-strict-aliasing")
-    # XXX: why are we using -felide-constructors on OSX?
-    SET(COMMON_CXX_FLAGS               "-g -fno-common -felide-constructors -fno-strict-aliasing")
+    SET(COMMON_C_FLAGS                 "-g -fno-strict-aliasing")
+    SET(COMMON_CXX_FLAGS               "-g -fno-strict-aliasing")
     SET(CMAKE_C_FLAGS_DEBUG            "-O ${COMMON_C_FLAGS}")
     SET(CMAKE_CXX_FLAGS_DEBUG          "-O ${COMMON_CXX_FLAGS}")
     SET(CMAKE_C_FLAGS_RELWITHDEBINFO   "-Os ${COMMON_C_FLAGS}")

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk-wl5825-stl branch (tor.didriksen:3440 to 3441) Tor Didriksen12 Oct
  • RE: bzr push into mysql-trunk-wl5825-stl branch (tor.didriksen:3440 to 3441) Vladislav Vaintroub12 Oct
    • Re: bzr push into mysql-trunk-wl5825-stl branch (tor.didriksen:3440to 3441)Tor Didriksen13 Oct