Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac OS X Debug build broken #122

Open
FrancescoBorzi opened this Issue Aug 30, 2016 · 6 comments

Comments

Projects
None yet
6 participants
@FrancescoBorzi
Copy link
Member

FrancescoBorzi commented Aug 30, 2016

Description:

On Mac OS X El Capitan 10.11.6 using Clang, the compilation works under Release mode but does not work under Debug mode.

Compile error: http://paste.ubuntu.com/23112223/

[ 0%] Built target gamefwPCH.cpp_dephelp [ 0%] Built target gsoap [ 0%] Built target Detour [ 1%] Built target Recast [ 1%] Built target collisionPCH.cpp_dephelp [ 1%] Linking CXX shared module libsharedPCH.cpp_dephelp.so [ 1%] Generating collisionPCH.h.pch [ 6%] Built target g3dlib Undefined symbols for architecture x86_64: "ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor()", referenced from: ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base() in sharedPCH.cpp.o "typeinfo for ACE_OS_Thread_Descriptor", referenced from: typeinfo for ACE_Thread_Descriptor_Base in sharedPCH.cpp.o ld: symbol(s) not found for architecture x86_64 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [modules/worldengine/nucleus/src/libsharedPCH.cpp_dephelp.so] Error 1 make[1]: *** [modules/worldengine/nucleus/src/CMakeFiles/sharedPCH.cpp_dephelp.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 6%] Built target revision.h [ 6%] Linking CXX shared module libauthPCH.cpp_dephelp.so [ 6%] Linking CXX shared module libworldPCH.cpp_dephelp.so [ 6%] Linking CXX shared module libgamePCH.cpp_dephelp.so [ 6%] Generating gamefwPCH.h.pch [ 6%] Linking CXX shared module libScriptPCH.cpp_dephelp.so Undefined symbols for architecture x86_64: "ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor()", referenced from: ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base() in authPCH.cpp.o "typeinfo for ACE_OS_Thread_Descriptor", referenced from: typeinfo for ACE_Thread_Descriptor_Base in authPCH.cpp.o ld: symbol(s) not found for architecture x86_64 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [src/authserver/libauthPCH.cpp_dephelp.so] Error 1 make[1]: *** [src/authserver/CMakeFiles/authPCH.cpp_dephelp.dir/all] Error 2 Undefined symbols for architecture x86_64: "ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor()", referenced from: ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base() in worldPCH.cpp.o "typeinfo for ACE_OS_Thread_Descriptor", referenced from: typeinfo for ACE_Thread_Descriptor_Base in worldPCH.cpp.o ld: symbol(s) not found for architecture x86_64 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [src/worldserver/libworldPCH.cpp_dephelp.so] Error 1 make[1]: *** [src/worldserver/CMakeFiles/worldPCH.cpp_dephelp.dir/all] Error 2 Undefined symbols for architecture x86_64: "ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor()", referenced from: ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base() in gamePCH.cpp.o "typeinfo for ACE_OS_Thread_Descriptor", referenced from: typeinfo for ACE_Thread_Descriptor_Base in gamePCH.cpp.o ld: symbol(s) not found for architecture x86_64 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) Undefined symbols for architecture x86_64: "ACE_OS_Thread_Descriptor::~ACE_OS_Thread_Descriptor()", referenced from: ACE_Thread_Descriptor_Base::~ACE_Thread_Descriptor_Base() in ScriptPCH.cpp.o "typeinfo for ACE_OS_Thread_Descriptor", referenced from: typeinfo for ACE_Thread_Descriptor_Base in ScriptPCH.cpp.o ld: symbol(s) not found for architecture x86_64 make[2]: *** [src/game/libgamePCH.cpp_dephelp.so] Error 1 clang: fatal error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [src/game/CMakeFiles/gamePCH.cpp_dephelp.dir/all] Error 2 make[2]: *** [src/scripts/libScriptPCH.cpp_dephelp.so] Error 1 make[1]: *** [src/scripts/CMakeFiles/ScriptPCH.cpp_dephelp.dir/all] Error 2 [ 6%] Built target generate_gamefwPCH.cpp [ 6%] Built target generate_collisionPCH.cpp make: *** [all] Error 2

** Additional Information **

clang version:
Apple LLVM version 7.3.0 (clang-703.0.31) Target: x86_64-apple-darwin15.6.0 Thread model: posix InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

cmake version: 3.5.2

Steps to reproduce the problem:

  1. Replace CMake param -DCMAKE_BUILD_TYPE=Release with -DCMAKE_BUILD_TYPE=Debug
  2. Compile

Branch(es): master

AC hash/commit: 00d04e9

Operating system: Mac OS X El Capitan 10.11.6

Modules: none

Other Customizations: none


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@Deku

This comment has been minimized.

Copy link
Contributor

Deku commented May 25, 2018

Is this still an issue?

@FrancescoBorzi

This comment has been minimized.

Copy link
Member Author

FrancescoBorzi commented May 25, 2018

I haven't tested it since then. We can close this and in case someone else has the same issue we can reopen it.

@ppishero

This comment has been minimized.

Copy link

ppishero commented Aug 12, 2018

I have the same problem,I don't know how to solve this problem.

@BarbzYHOOL BarbzYHOOL reopened this Aug 12, 2018

@FrancescoBorzi FrancescoBorzi changed the title Mac OS X Debug build Mac OS X Debug build broken Dec 17, 2018

@Pondaveia

This comment has been minimized.

Copy link
Contributor

Pondaveia commented Apr 9, 2019

Stupid question but could make a difference. Is your fork updated?

@BarbzYHOOL

This comment has been minimized.

Copy link
Member

BarbzYHOOL commented Apr 9, 2019

lol i think we can close this @FrancescoBorzi no?

@FrancescoBorzi

This comment has been minimized.

Copy link
Member Author

FrancescoBorzi commented Apr 10, 2019

We need to test on a recent AC version to check if the issue is still there. There is a good chance that it's still broken...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.