Building LDC for FreeBSD PowerPC64

Johan j at j.nl
Sat Dec 18 12:31:29 UTC 2021


On Friday, 17 December 2021 at 15:38:09 UTC, Curtis Hamilton 
wrote:
> Will do!  However, I've been to run all the tests.  The 
> druntime-test-runner apps fails to build with the below error.  
> Any suggestions?
>
> Error: template `core.internal.dassert._d_assert_fail` cannot 
> deduce
> function from argument types `!("!", bool)(bool)`, candidates 
> are:
> core/internal/dassert.d(8):        `_d_assert_fail(string comp, 
> A, B)(auto
> ref scope const A a, auto ref scope const B b)`

Perhaps your druntime submodule is out-of-date:
`git submodule update --init`

For LDC 1.23 (which I read is what you are using), line 8 
contains `_d_assert_fail` with only one parameter. The one of 
your error message is on line 16.
https://github.com/ldc-developers/druntime/blob/ldc-v1.23.0/src/core/internal/dassert.d

For submitting the PR, please use LDC `master`.

Thanks,
  Johan



More information about the digitalmars-d-ldc mailing list