Profiling with LDC

Johan Engelen j at j.nl
Wed Apr 25 20:18:46 UTC 2018


On Wednesday, 25 April 2018 at 19:05:53 UTC, H. S. Teoh wrote:
> On Wed, Apr 25, 2018 at 06:33:56PM +0000, Johan Engelen via 
> Digitalmars-d wrote:
>
>> The profiling runtime must be linked in. On Unixes, the file 
>> is "libldc_rt.profile-x86_64.a".
> [...]
>
> This library appears to be missing from my system. I'm guessing 
> that's the cause of the problem.  Which package is it found in?
>  I currently have these ldc-related packages installed:
>
> 	ldc
> 	libphobos2-ldc-dev
> 	libphobos2-ldc-shared-dev
> 	libphobos2-ldc-shared78:amd64
>
> Maybe I'm missing a package or two?

On Unixes, packagers have to manually set our CMake option 
`LDC_INSTALL_LLVM_RUNTIME_LIBS=ON`.
Probably, the Debain package is built without it. (It should be 
in `ldc`).

Try the LDC release package from Github?

-Johan



More information about the Digitalmars-d mailing list