building ldc on raspberry pi
David Nadlinger
code at klickverbot.at
Tue Oct 22 13:13:55 PDT 2013
On Tue, Oct 22, 2013 at 10:04 PM, Kai Nacke <kai at redstar.de> wrote:
> On Monday, 21 October 2013 at 23:39:41 UTC, Knud Soerensen wrote:
>>
>> On 2013-10-22 01:02, Knud Soerensen wrote:
>>
>> Using llvm 3.4 I get to
>>
>> [ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/classes.cpp.o
>> [ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-ppc64.cpp.o
>> [ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/abi-x86.cpp.o
>> [ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/complex.cpp.o
>> [ 6%] Building CXX object CMakeFiles/LDCShared.dir/gen/programs.cpp.o
>> /home/knud/ldc/gen/programs.cpp: In function ‘std::string
>> getProgram(const char*, const llvm::cl::opt<std::basic_string<char> >&,
>> const char*)’:
>> /home/knud/ldc/gen/programs.cpp:55:43: error: no match for ‘operator=’
>> in ‘path = llvm::sys::FindProgramByName(const string&)()’
>> /home/knud/ldc/gen/programs.cpp:55:43: note: candidates are:
>> /usr/include/c++/4.6/bits/basic_string.h:541:7: note:
>> std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT,
>> _Traits, _Alloc>::operator=(const std::basic_string<_CharT, _Traits,
>> _Alloc>&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc
>> = std::allocator<char>, std::basic_string<_CharT, _Traits, _Alloc> =
>> std::basic_string<char>]
>
> <snip>
>
> That is a bit strange.
Yes, indeed, especially since the Travis 3.4 build is green:
https://travis-ci.org/ldc-developers/ldc Maybe either the version Knud
is using or the snapshot Travis is pulling in is out of date?
> The only issue with LLVM 3.4 I am aware of is that
> you should enable assertions on LLVM or define NDEBUG while building ldc.
> Otherwise you get a link error while linking ldc2.
Wasn't that also the same for at least some of the previous versions as well?
David
More information about the digitalmars-d-ldc
mailing list