Thread overview |
---|
November 16, 2017 Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
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 ? |
November 16, 2017 Re: Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | 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. |
November 17, 2017 Re: Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Joakim | Hi !
Thanks for a reply.
Currently i minimized it.
> ldc2 -march=x86 ddmd/astbase.d -c -ofout.obj
Wrote 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
|
November 17, 2017 Re: Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | Okee, i've run dustmite on that file, we'll see |
November 17, 2017 Re: Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | Reported https://github.com/ldc-developers/ldc/issues/2412 https://github.com/ldc-developers/ldc/issues/2411 |
November 17, 2017 Re: Building dmd with ldc | ||||
---|---|---|---|---|
| ||||
Posted in reply to Temtaime | One more bug https://github.com/ldc-developers/ldc/issues/2413 |
Copyright © 1999-2021 by the D Language Foundation