[CMake] FW: Cmake on Sun?

George Neill georgen at neillnet.com
Thu Apr 16 16:00:58 EDT 2009


On Thu, Apr 16, 2009 at 2:47 PM, Bill Hoffman <bill.hoffman at kitware.com> wrote:
> George Neill wrote:
>>
>> On Thu, Apr 16, 2009 at 1:31 PM, Bill Hoffman <bill.hoffman at kitware.com>
>> wrote:
>>>
>>> George Neill wrote:
>>>
>>>> I seem to remember running in to this issue when trying to build cmake
>>>> on SS10/Solari10.  If I recall correctly, it turned out being an
>>>> environment issue.  A conflict with GNU ld/SUN ld?   (but I may have
>>>> lost some memory cells since then!)
>>>>
>>> The boostrap cmake should not use any symbols from cmELF.   So, I really
>>> don't think it is an ld issue.
>>
>> I was able to recreate this situation by prepending /usr/sfw/bin in my
>> path and exporting
>>
>> -bash-3.00$ env | grep CC
>> CXX=/opt/SUNWspro/bin/CC
>> CC=/opt/SUNWspro/bin/cc
>>
>> then running,
>>
>> ./bootstrap --no-qt-gui --prefix=/tmp/cmake
>>
>>
>> (note without setting CC and CXX, it picked up the gnu stuff and
>> bootstrapped fine)
>>
>> So there is certainly a conflict somewhere.
>>
>
> Can you run nm on cmSystemTools.o | grep cmELF in the bootstrap directory?

-bash-3.00$ /usr/ccs/bin/nm ./Bootstrap.cmk/cmSystemTools.o | grep cmELF
[127]   |         0|       0|FUNC |GLOB |0    |UNDEF  |__1cFcmELF2t6Mpkc_v_
[124]   |         0|       0|FUNC |GLOB |0    |UNDEF  |__1cFcmELF2T6M_v_
[126]   |         0|       0|FUNC |GLOB |0    |UNDEF  |__1cFcmELFFValid6kM_b_
[117]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFIGetRPath6M_pkn0ALStringEntry__
[125]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFJGetSOName6MrnDstdMbasic_string4Ccn0BLchar_traits4Cc__n0BJallocator4Cc_____b_
[104]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFJReadBytes6kMLLpc_b_
[116]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFKGetRunPath6M_pkn0ALStringEntry__
[107]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFUGetDynamicEntryCount6kM_I_
[106]   |         0|       0|FUNC |GLOB |0    |UNDEF
|__1cFcmELFXGetDynamicEntryPosition6kMi_L_

HTH,
George.


More information about the CMake mailing list