On Tue, 2013-08-13 at 05:11 +0200, michaelc37 wrote: […] > patched the make file for ldc2, but ran into a problem during > compile with Atomic.d.
Your changes are better than mine so I ditched mine. > I think the llvm_memory_barrier function no longer exists. I > found and tried to apply fixes from a patch made to tango's > Atomic.d > http://www.dsource.org/projects/tango/attachment/ticket/2101/llvm3.atomic.patch), > > ended up with a compile error that made no sense to me "Error: > Integer constant expression expected instead of ordering" > > AtomicOrdering ordering = getOrdering(ms == msync.rel ? msync.seq > : ms); > ... > ... > llvm_atomic_store!(T)(cast(T)newval, cast(shared T*)&val, > ordering); I don't think I got that far as I got a "Can't find the D compiler problem. It seems the build rebuilds the build in some way but fails. :-(( Classes in typesystem: 538 Generated: - d.........: 529 (529) - cpp-impl..: 506 (506) - cpp-h.....: 399 (399) - meta-info.: 28 (28) - pri.......: 7 (7) Done, 344 warnings (577 known issues) [100%] Built target dgen Scanning dependencies of target main -- The CXX compiler identification is GNU 4.8.1 -- The C compiler identification is GNU 4.8.1 -- Check for working CXX compiler: /home/users/russel/bin.Linux.x86_64/c++ -- Check for working CXX compiler: /home/users/russel/bin.Linux.x86_64/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working C compiler: /home/users/russel/bin.Linux.x86_64/gcc -- Check for working C compiler: /home/users/russel/bin.Linux.x86_64/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done CMake Error at cmake/FindD.cmake:41 (message): D compiler is not found Call Stack (most recent call first): CMakeLists.txt:180 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! make[2]: *** [main] Error 1 make[1]: *** [CMakeFiles/main.dir/all] Error 2 make: *** [all] Error 2 -- Russel. ============================================================================= Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Road m: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part