#659 3.7.0 fails to build on MacOS 10.6.8

closed-fixed
5
2013-02-28
2012-06-07
Anonymous
No

General description
Building fails (on compiling and not linking)

Error message:
tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp: In function 'void dumpStack(int, siginfo_t*, void*)':
tulip-3.7.0-src/software/crash_handling/CrashHandling.cpp:70: error: 'struct __darwin_x86_thread_state64' has no member named '__eip'

Context:
MacOS: 10.6.8
Compiler: i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
Cmake flags:
ccmake -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/Applications -DOpenMP_CXX_FLAGS:STRING= -DOpenMP_CXX_FLAGS:STRING= ..

Suggested related info (check it though):
As mentionned by thread
http://code.google.com/p/redis/issues/detail?id=52
Basically when snow leopard is installed in a machine where the default binaries are
not 64 bit, then the #ifdef was still true because it's snow leopard, but actually
the structure is the 32 bit one. So I added the test for "&& !defined(__i386__) and
now it's working without problems [...]

Discussion

  • Patrick Mary

    Patrick Mary - 2013-02-28
    • status: open --> closed-fixed
     
  • Patrick Mary

    Patrick Mary - 2013-02-28

    Thanks for your report.
    This bug is now fixed in the current svn code line

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks