Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.0.6
    • Fix Version/s: 10.0.9
    • Component/s: None
    • Labels:
    • Environment:
      OSX Maverick 10.9
      XCode 5.0.2

      CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++
      CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc

      Gliffy Diagrams

        Attachments

          Activity

          Hide
          hanxue Lee Hanxue added a comment -

          Replicated via homebrew on OS X Mavericks.

          https://github.com/mxcl/homebrew/issues/24489

          Log files:
          CMakeCache.txt - https://gist.github.com/7548516
          01.cmake - https://gist.github.com/7548483
          01.cmake.cc - https://gist.github.com/7548629
          CMakeError.log - https://gist.github.com/7548418
          CMakeOutput.log - https://gist.github.com/7548403

          Show
          hanxue Lee Hanxue added a comment - Replicated via homebrew on OS X Mavericks. https://github.com/mxcl/homebrew/issues/24489 Log files: CMakeCache.txt - https://gist.github.com/7548516 01.cmake - https://gist.github.com/7548483 01.cmake.cc - https://gist.github.com/7548629 CMakeError.log - https://gist.github.com/7548418 CMakeOutput.log - https://gist.github.com/7548403
          Hide
          devzone.my Aleai Sumity added a comment -

          problem detect os type
          mariadb Darwin (OSX ) Windows API

          (Windows) _strtoi64 = strtoll (Unix)

          http://msdn.microsoft.com/en-us/library/h80404d3(v=vs.90).aspx
          _________
          /usr/local/Library/ENV/4.3/clang -DCHECK_FUNCTION_EXISTS=_strtoi64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1005542383.dir/CheckFunctionExists.c.o -o cmTryCompileExec1005542383
          Undefined symbols for architecture x86_64:
          "__strtoi64", referenced from:
          _main in CheckFunctionExists.c.o
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
          make[1]: *** [cmTryCompileExec1005542383] Error 1
          make: *** [cmTryCompileExec1005542383/fast] Error 2

          Show
          devzone.my Aleai Sumity added a comment - problem detect os type mariadb Darwin (OSX ) Windows API (Windows) _strtoi64 = strtoll (Unix) http://msdn.microsoft.com/en-us/library/h80404d3(v=vs.90).aspx _________ /usr/local/Library/ENV/4.3/clang -DCHECK_FUNCTION_EXISTS=_strtoi64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1005542383.dir/CheckFunctionExists.c.o -o cmTryCompileExec1005542383 Undefined symbols for architecture x86_64: "__strtoi64", referenced from: _main in CheckFunctionExists.c.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make [1] : *** [cmTryCompileExec1005542383] Error 1 make: *** [cmTryCompileExec1005542383/fast] Error 2
          Hide
          svoj Sergey Vojtovich added a comment -

          cmake failure at https://gist.github.com/hanxue/7548483 is duplicate of MDEV-5182 (fixed).
          Failure described in the attached logtail file is same as http://bugs.mysql.com/bug.php?id=70542 (needs to be fixed).
          __strtoi64 related stuff seem to be just cmake probe and shouldn't matter as such.

          Show
          svoj Sergey Vojtovich added a comment - cmake failure at https://gist.github.com/hanxue/7548483 is duplicate of MDEV-5182 (fixed). Failure described in the attached logtail file is same as http://bugs.mysql.com/bug.php?id=70542 (needs to be fixed). __strtoi64 related stuff seem to be just cmake probe and shouldn't matter as such.
          Hide
          svoj Sergey Vojtovich added a comment -

          Sergei, please review fix for this bug.

          Show
          svoj Sergey Vojtovich added a comment - Sergei, please review fix for this bug.
          Hide
          serg Sergei Golubchik added a comment -

          Am I right that it's only s/test/MY_TEST/g?
          In that case — ok to push

          Show
          serg Sergei Golubchik added a comment - Am I right that it's only s/test/MY_TEST/g ? In that case — ok to push
          Hide
          svoj Sergey Vojtovich added a comment -

          Correct, it's only s/test/MY_TEST/g.

          Show
          svoj Sergey Vojtovich added a comment - Correct, it's only s/test/MY_TEST/g.
          Hide
          svoj Sergey Vojtovich added a comment -

          Fixed in 10.0.9: revno: 4006, revision-id: svoj@mariadb.org-20140219100515-47zpgffjc2hegjlb

          Show
          svoj Sergey Vojtovich added a comment - Fixed in 10.0.9: revno: 4006, revision-id: svoj@mariadb.org-20140219100515-47zpgffjc2hegjlb

            People

            • Assignee:
              svoj Sergey Vojtovich
              Reporter:
              rob Rob
            • Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: