[Lldb-commits] [lldb] r210035 - Fix most of the remaining Windows build warnings.

Todd Fiala tfiala at google.com
Tue Jun 17 09:03:22 PDT 2014


Okay thanks.  I'll work on fixing that up today.


On Mon, Jun 16, 2014 at 8:05 PM, Kuba Břečka <kuba.brecka at gmail.com> wrote:

> 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 <tfiala at google.com> 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 <kuba.brecka at gmail.com>
>> 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 <tfiala at google.com> 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 <kuba.brecka at gmail.com>
>>>> 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
>>>>> lldb-commits at cs.uiuc.edu
>>>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>  Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>>>
>>>
>>>
>>
>>
>> --
>> Todd Fiala | Software Engineer |  tfiala at google.com |  650-943-3180
>>
>
>


-- 
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140617/2bb9edf1/attachment.html>


More information about the lldb-commits mailing list