Opened 15 months ago
Closed 15 months ago
#67943 closed defect (fixed)
cmake-devel needs to link with libatomic now when built with GCC (at least for 32-bit)
Reported by: | barracuda156 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | michaelld (Michael Dickens) | |
Port: | cmake-devel |
Description
:info:build [ 84%] Linking CXX executable ../../bin/ccmake :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-devel/cmake-devel/work/cmake-b5c54d9c8a1fdfdbf1a133040029a4924b69185e/Source/CursesDialog && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_cmake-devel/cmake-devel/work/cmake-b5c54d9c8a1fdfdbf1a133040029a4924b69185e/Bootstrap.cmk/cmake -E cmake_link_script CMakeFiles/ccmake.dir/link.txt --verbose=ON :info:build /opt/local/bin/g++-mp-12 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -O3 -DNDEBUG -mmacosx-version-min=10.6 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc CMakeFiles/ccmake.dir/ccmake.cxx.o CMakeFiles/ccmake.dir/cmCursesBoolWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesCacheEntryComposite.cxx.o CMakeFiles/ccmake.dir/cmCursesColor.cxx.o CMakeFiles/ccmake.dir/cmCursesDummyWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesFilePathWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesForm.cxx.o CMakeFiles/ccmake.dir/cmCursesLabelWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesLongMessageForm.cxx.o CMakeFiles/ccmake.dir/cmCursesMainForm.cxx.o CMakeFiles/ccmake.dir/cmCursesOptionsWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesPathWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesStringWidget.cxx.o CMakeFiles/ccmake.dir/cmCursesWidget.cxx.o -o ../../bin/ccmake ../libCMakeLib.a /opt/local/lib/libform.dylib /opt/local/lib/libncurses.dylib ../../Utilities/std/libcmstd.a ../kwsys/libcmsys.a /opt/local/lib/libcurl.dylib /opt/local/lib/libexpat.dylib /opt/local/lib/libarchive.dylib ../../Utilities/cmlibrhash/libcmlibrhash.a /opt/local/lib/libuv.dylib /opt/local/lib/libz.dylib ../../Utilities/cmcppdap/libcmcppdap.a ../../Utilities/cmjsoncpp/libcmjsoncpp.a -framework CoreFoundation -framework CoreServices -lemutls_w :info:build Undefined symbols: :info:build "___atomic_fetch_add_8", referenced from: :info:build __ZN3dap10initializeEv in libcmcppdap.a(typeof.cpp.o) :info:build __ZN10cmDebugger23cmDebuggerThreadManager11StartThreadERKSs in libCMakeLib.a(cmDebuggerThreadManager.cxx.o) :info:build __ZN10cmDebugger20cmDebuggerStackFrameC2EP10cmMakefileSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerStackFrame.cxx.o) :info:build __ZN10cmDebugger20cmDebuggerStackFrameC1EP10cmMakefileSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerStackFrame.cxx.o) :info:build __ZN10cmDebugger19cmDebuggerVariablesC1ESt10shared_ptrINS_26cmDebuggerVariablesManagerEESsb in libCMakeLib.a(cmDebuggerVariables.cxx.o) :info:build __ZN10cmDebugger19cmDebuggerVariablesC1ESt10shared_ptrINS_26cmDebuggerVariablesManagerEESsbSt8functionIFSt6vectorINS_23cmDebuggerVariableEntryESaIS6_EEvEE in libCMakeLib.a(cmDebuggerVariables.cxx.o) :info:build __ZN10cmDebugger19cmDebuggerVariablesC2ESt10shared_ptrINS_26cmDebuggerVariablesManagerEESsb in libCMakeLib.a(cmDebuggerVariables.cxx.o) :info:build __ZN10cmDebugger19cmDebuggerVariablesC2ESt10shared_ptrINS_26cmDebuggerVariablesManagerEESsbSt8functionIFSt6vectorINS_23cmDebuggerVariableEntryESaIS6_EEvEE in libCMakeLib.a(cmDebuggerVariables.cxx.o) :info:build "___atomic_store_8", referenced from: :info:build __ZNSt17_Function_handlerIFvPKcEZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINS3_20cmDebuggerConnectionEESt8optionalIS5_IN3dap6WriterEEEEUlS1_E_E9_M_invokeERKSt9_Any_dataOS1_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZNSt17_Function_handlerIFvPKcEZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINS3_20cmDebuggerConnectionEESt8optionalIS5_IN3dap6WriterEEEEUlS1_E_E9_M_invokeERKSt9_Any_dataOS1_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZNSt17_Function_handlerIFvPKvRKSt8functionIFvPKN3dap8TypeInfoES1_EERKS2_IFvS6_RKNS3_5ErrorEEEEZNS3_7Session15registerHandlerIZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINSL_20cmDebuggerConnectionEESt8optionalISN_INS3_6WriterEEEEUlRKNS3_11NextRequestEE8_SU_EENSt9enable_ifIXsrSt17integral_constantIbXaaeqL_ZNS3_6traits9SignatureIvJNS3_7RequestEEE15parameter_countEEsrNS10_11SignatureOfIT_E4typeE15parameter_countsrNS10_19EachIsTypeOrDerivedIXsrSZ_ImXqultL_ZNS13_15parameter_countEEsrS17_15parameter_countL_ZNS13_15parameter_countEEsrS17_15parameter_countEE5valueESt5tupleIJS12_EENS17_10parametersEEE5valueEE5valueEvE4typeEOS15_EUlS1_SA_SH_E_E9_M_invokeERKSt9_Any_dataOS1_SA_SH_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZNSt17_Function_handlerIFvPKvRKSt8functionIFvPKN3dap8TypeInfoES1_EERKS2_IFvS6_RKNS3_5ErrorEEEEZNS3_7Session15registerHandlerIZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINSL_20cmDebuggerConnectionEESt8optionalISN_INS3_6WriterEEEEUlRKNS3_14StepOutRequestEE10_SU_EENSt9enable_ifIXsrSt17integral_constantIbXaaeqL_ZNS3_6traits9SignatureIvJNS3_7RequestEEE15parameter_countEEsrNS10_11SignatureOfIT_E4typeE15parameter_countsrNS10_19EachIsTypeOrDerivedIXsrSZ_ImXqultL_ZNS13_15parameter_countEEsrS17_15parameter_countL_ZNS13_15parameter_countEEsrS17_15parameter_countEE5valueESt5tupleIJS12_EENS17_10parametersEEE5valueEE5valueEvE4typeEOS15_EUlS1_SA_SH_E_E9_M_invokeERKSt9_Any_dataOS1_SA_SH_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZNSt17_Function_handlerIFvPKvRKSt8functionIFvPKN3dap8TypeInfoES1_EERKS2_IFvS6_RKNS3_5ErrorEEEEZNS3_7Session15registerHandlerIZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINSL_20cmDebuggerConnectionEESt8optionalISN_INS3_6WriterEEEEUlRKNS3_17DisconnectRequestEE12_SU_EENSt9enable_ifIXsrSt17integral_constantIbXaaeqL_ZNS3_6traits9SignatureIvJNS3_7RequestEEE15parameter_countEEsrNS10_11SignatureOfIT_E4typeE15parameter_countsrNS10_19EachIsTypeOrDerivedIXsrSZ_ImXqultL_ZNS13_15parameter_countEEsrS17_15parameter_countL_ZNS13_15parameter_countEEsrS17_15parameter_countEE5valueESt5tupleIJS12_EENS17_10parametersEEE5valueEE5valueEvE4typeEOS15_EUlS1_SA_SH_E_E9_M_invokeERKSt9_Any_dataOS1_SA_SH_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZNSt17_Function_handlerIFvPKvRKSt8functionIFvPKN3dap8TypeInfoES1_EERKS2_IFvS6_RKNS3_5ErrorEEEEZNS3_7Session15registerHandlerIZN10cmDebugger17cmDebuggerAdapterC4ESt10shared_ptrINSL_20cmDebuggerConnectionEESt8optionalISN_INS3_6WriterEEEEUlRKNS3_17DisconnectRequestEE12_SU_EENSt9enable_ifIXsrSt17integral_constantIbXaaeqL_ZNS3_6traits9SignatureIvJNS3_7RequestEEE15parameter_countEEsrNS10_11SignatureOfIT_E4typeE15parameter_countsrNS10_19EachIsTypeOrDerivedIXsrSZ_ImXqultL_ZNS13_15parameter_countEEsrS17_15parameter_countL_ZNS13_15parameter_countEEsrS17_15parameter_countEE5valueESt5tupleIJS12_EENS17_10parametersEEE5valueEE5valueEvE4typeEOS15_EUlS1_SA_SH_E_E9_M_invokeERKSt9_Any_dataOS1_SA_SH_ in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter17ClearStepRequestsEv in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter17ClearStepRequestsEv in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build "___atomic_load_8", referenced from: :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build __ZN10cmDebugger17cmDebuggerAdapter19OnBeginFunctionCallEP10cmMakefileRKSsRK18cmListFileFunction in libCMakeLib.a(cmDebuggerAdapter.cxx.o) :info:build "___atomic_fetch_sub_8", referenced from: :info:build __ZZN12_GLOBAL__N_19TypeInfos3getEvEN8InstanceD1Ev in libcmcppdap.a(typeof.cpp.o) :info:build __ZN3dap9terminateEv in libcmcppdap.a(typeof.cpp.o) :info:build ld: symbol(s) not found :info:build collect2: error: ld returned 1 exit status :info:build make[2]: *** [bin/ccmake] Error 1
Change History (2)
comment:1 Changed 15 months ago by barracuda156
comment:2 Changed 15 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Let me check if ppc64 needs libatomic or not. For ppc I have fixed this.
UPD. No, ppc64 is fine without it. https://github.com/macports/macports-ports/pull/19847