On Sunday, 27 August 2017 at 14:04:18 UTC, Joakim wrote:
That module tests linking with C++ files, looks like you have some symbols that don't match up. That's weird, because those normally work with gcc. For each of them, use the readelf command from binutils to compare the symbols generated and see how they differ. For example,

readelf -sW /tmp/nix-build-ldc-1.3.0.drv-0/build/dmd-testsuite/runnable/cppb.cpp.o |grep foo15372

Then run the same command on the D side, ie for cppa_0.o, and compare the symbols.

File a bug on the ldc github if you can't figure it out:

https://github.com/ldc-developers/ldc/issues

gcc does not create the symbol at all on NixOS. I already created an issue for NixOS: https://github.com/NixOS/nixpkgs/issues/28896

I am not supposed to ask here but maybe someone knows about problems with gcc?

Reply via email to