Build from source

Russel Winder via digitalmars-d-ldc digitalmars-d-ldc at
Sun Apr 9 09:25:42 PDT 2017


Given the hassles with BigInt I thought I ought to take David's advice
and build LDC from Git master to see if that gave hint as to the
problem. On Debian Sid, I did the CMake:

-DBUILD_SHARED=True /home/Checkouts/Git/LDC

then on build, after some successes:

cd /home/users/russel/BuildArea/LDC/runtime && ../bin/gen_gccbuiltins /home/users/russel/BuildArea/LDC/runtime/gccbuiltins_s390.di s390
[  3%] Generating src/core/atomic-debug-shared.o
cd /home/Checkouts/Git/LDC && /home/users/russel/BuildArea/LDC/bin/ldc2 --output-o -c -I/home/Checkouts/Git/LDC/runtime/druntime/src -I/home/Checkouts/Git/LDC/runtime/druntime/src/gc /home/Checkouts/Git/LDC/runtime/druntime/src/core/atomic.d -of/home/users/russel/BuildArea/LDC/runtime/src/core/atomic-debug-shared.o -w -g -link-debuglib -relocation-model=pic -d-version=Shared
/home/users/russel/BuildArea/LDC/bin/ldc2: error while loading shared libraries: cannot open shared object file: No such file or directory
runtime/CMakeFiles/druntime-ldc-debug-shared.dir/build.make:69: recipe for target 'runtime/src/core/atomic-debug-shared.o' failed
make[2]: *** [runtime/src/core/atomic-debug-shared.o] Error 127
make[2]: Leaving directory '/home/users/russel/BuildArea/LDC'
CMakeFiles/Makefile2:1090: recipe for target 'runtime/CMakeFiles/druntime-ldc-debug-shared.dir/all' failed
make[1]: *** [runtime/CMakeFiles/druntime-ldc-debug-shared.dir/all] Error 2
make[1]: Leaving directory '/home/users/russel/BuildArea/LDC'
Makefile:160: recipe for target 'all' failed

This seems a bit unfair…

Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at
London SW11 1EN, UK   w:  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the digitalmars-d-ldc mailing list