Thanks, here's the message: Linking CXX shared library ../../../lib/liblldb.dylib ld: unknown option: --start-group clang: error: linker command failed with exit code 1 (use -v to see invocation)
Kuba On Mon, Jun 16, 2014 at 7:49 PM, Todd Fiala <[email protected]> wrote: > Ah I see. > > Can you send me the error output? I'll get it fixed up. > > Thanks! > > -Todd > > > On Mon, Jun 16, 2014 at 5:45 PM, Kuba Břečka <[email protected]> > wrote: > >> Hi Todd, >> yes, it's failing on my OS X. I would too expect >> LLVM_COMPILER_IS_GCC_COMPATIBLE >> to be false, but HandleLLVMStdlib.cmake says otherwise: >> >> if(CMAKE_COMPILER_IS_GNUCXX) >> set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON) >> elseif( MSVC ) >> set(LLVM_COMPILER_IS_GCC_COMPATIBLE OFF) >> elseif( "${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" ) >> set(LLVM_COMPILER_IS_GCC_COMPATIBLE ON) >> endif() >> >> Kuba >> >> >> >> On Mon, Jun 16, 2014 at 5:28 PM, Todd Fiala <[email protected]> wrote: >> >>> Hi Kuba, >>> >>> I've been running on both MacOSX and Linux with the change in place. On >>> MacOSX I'm using the canonical MacOSX build, Xcode-based. It's been a >>> while since I built MacOSX with cmake primarily because I cannot get that >>> build to run any tests successfully on my end. >>> >>> Have you tried it on OSX and it's failing? I would expect >>> LLVM_COMPILER_IS_GCC_COMPATIBLE to be false on MacOSX and thus for the >>> check to be no change w/r/t cmake MacOSX if I read it right. >>> >>> >>> On Mon, Jun 16, 2014 at 3:08 PM, Kuba Břečka <[email protected]> >>> wrote: >>> >>>> I think this patch breaks builds on default OS X systems. Or is there >>>> anything else than just "cmake ../llvm; make" for OS X? >>>> >>>> Kuba >>>> >>>> Modified: lldb/trunk/CMakeLists.txt >>>>> URL: >>>>> http://llvm.org/viewvc/llvm-project/lldb/trunk/CMakeLists.txt?rev=210035&r1=210034&r2=210035&view=diff >>>>> >>>>> ============================================================================== >>>>> --- lldb/trunk/CMakeLists.txt (original) >>>>> +++ lldb/trunk/CMakeLists.txt Mon Jun 2 12:30:22 2014 >>>>> @@ -218,9 +218,7 @@ macro(add_lldb_library name) >>>>> endif () >>>>> >>>>> if(LLDB_USED_LIBS) >>>>> - if (CMAKE_SYSTEM_NAME MATCHES "Linux" OR >>>>> - CMAKE_SYSTEM_NAME MATCHES "FreeBSD" OR >>>>> - CMAKE_SYSTEM_NAME MATCHES "Windows") >>>>> + if (LLVM_COMPILER_IS_GCC_COMPATIBLE) >>>>> target_link_libraries(${name} ${cmake_2_8_12_PUBLIC} >>>>> -Wl,--start-group ${LLDB_USED_LIBS} >>>>> -Wl,--end-group) >>>>> else() >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> lldb-commits mailing list >>>> [email protected] >>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits >>>> >>>> >>> >>> >>> -- >>> Todd Fiala | Software Engineer | [email protected] | 650-943-3180 >>> >> >> > > > -- > Todd Fiala | Software Engineer | [email protected] | 650-943-3180 >
_______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
