digitalmars.D.ldc - Building dmd with ldc
- Temtaime (7/7) Nov 16 2017 Hi all !
Hi all ! I don't know if someone builds dmd with ldc, but i did try it. On windows using latest ldc(1.6.0) dmd can print help but craches trying compile hello world. Is it known issue ? Also i cannot build my project using ldc because it craches. Is memory dump enough to figure out an issue ?
Nov 16 2017
On Thursday, 16 November 2017 at 18:57:14 UTC, Temtaime wrote:Hi all ! I don't know if someone builds dmd with ldc, but i did try it. On windows using latest ldc(1.6.0) dmd can print help but craches trying compile hello world. Is it known issue ?There is a Travis CI that builds every dmd pull request with stable ldc, currently 1.5, on linux: https://travis-ci.org/dlang/dmd/builds/303011076 I suppose it's possible something has gone wrong on Windows with the beta though.Also i cannot build my project using ldc because it craches. Is memory dump enough to figure out an issue ?Was it working with ldc till now? Does it work with 1.5? The compiler should never crash, so you should report a bug, but with info like that and hopefully a code sample that causes it.
Nov 16 2017
Hi ! Thanks for a reply. Currently i minimized it.ldc2 -march=x86 ddmd/astbase.d -c -ofout.objWrote crash dump file ... Just download dmd master, ldc 1.5.0 64bit for windows and go to src directory and execute such a command. Removing -march=x86 makes it compile, but resulting dmd craches. Seems that building dmd for windows with ldc is not tested and so not working. Speaking about the project, it contains 30k lines, and in future it was able to build with ldc 1.3, but currently that version is outdated and leads to compile errors. I can only provide memory dumps. Also i think we should firstly figure out an dmd error
Nov 17 2017
Reported https://github.com/ldc-developers/ldc/issues/2412 https://github.com/ldc-developers/ldc/issues/2411
Nov 17 2017
One more bug https://github.com/ldc-developers/ldc/issues/2413
Nov 17 2017