opendlang / opend

Boost Software License 1.0
76 stars 17 forks source link

ldc + druntime unittest build fail #38

Open denizzzka opened 5 months ago

denizzzka commented 5 months ago
$ cmake --install-prefix=/tmp/2 ../ldc
[...]
$ make -j12 druntime-ldc-unittest
[...]
core/exception.d(700): Error: Function type does not match previously declared function with the same mangled name: `onOutOfMemoryError`
core/exception.d(700):        Previous IR type: void (i8*)
core/exception.d(700):        New IR type:      void (i8*, { i64, i8* }, i64)

I think this is because the ldc compiler is behind of druntime srcs: https://github.com/dlang/dmd/commit/b6740a27c30df368e81e1918ea5276485d12a8b6

I don't know if this is normal or not

adamdruppe commented 5 months ago

Probably another thing I missed while merging ldc's patches. If you can make it pass, go ahead and patch it up.

denizzzka commented 5 months ago

(ldc upstream still not fixed)