digitalmars.D.learn - Vibe.d compilation error: backend/cgelem.c 5018 dmd failed with exit
- llaine (6/6) Sep 21 2016 Using dmd every day and since one day I'm getting this error when
- Saurabh Das (9/16) Sep 21 2016 I'm sure some more experienced forum readers will weigh in soon,
- llaine (3/12) Sep 21 2016 The project is pretty big, DustMite would handle this?
- Rene Zwanenburg (8/9) Sep 21 2016 Yes, but it may take some time. For large projects, running it on
- llaine (6/14) Sep 22 2016 Any idea how to run with dub ?
- Saurabh Das (4/20) Sep 22 2016 I think it is something like:
- llaine (4/7) Sep 23 2016 Okay I tried yesterday, after 4hours of process, I never went
- Rene Zwanenburg (7/10) Sep 23 2016 Hmm that's strange. I don't get any yes or no questions. What is
Using dmd every day and since one day I'm getting this error when I'm compiling using the -b release flag (dub build -b release). I'm compiling a vibe.d application that has roughly 3k LoC. Removing the -b flag solves the problem. Dmd version : v2.071.0 Vibe.d version : 0.7.26
Sep 21 2016
On Wednesday, 21 September 2016 at 14:15:30 UTC, llaine wrote:Using dmd every day and since one day I'm getting this error when I'm compiling using the -b release flag (dub build -b release). I'm compiling a vibe.d application that has roughly 3k LoC. Removing the -b flag solves the problem. Dmd version : v2.071.0 Vibe.d version : 0.7.26I'm sure some more experienced forum readers will weigh in soon, but my understanding is that: All ICEs are errors in the compiler. You should submit it as a bug at https://issues.dlang.org/ If you can use DustMite to narrow down the error, that would help track it down much faster. Thanks, Saurabh
Sep 21 2016
On Wednesday, 21 September 2016 at 15:24:08 UTC, Saurabh Das wrote:On Wednesday, 21 September 2016 at 14:15:30 UTC, llaine wrote: I'm sure some more experienced forum readers will weigh in soon, but my understanding is that: All ICEs are errors in the compiler. You should submit it as a bug at https://issues.dlang.org/ If you can use DustMite to narrow down the error, that would help track it down much faster. Thanks, SaurabhThe project is pretty big, DustMite would handle this?
Sep 21 2016
On Wednesday, 21 September 2016 at 20:22:42 UTC, llaine wrote:The project is pretty big, DustMite would handle this?Yes, but it may take some time. For large projects, running it on a server is advisable. 3K LOC should be doable on a desktop machine. Dub has built-in support for running Dustmite. I'm not very familiar with it, but it looks like you'll want to use 'dub dustmite' with the --compiler-regex switch with a regex matching the ICE assert message.
Sep 21 2016
On Wednesday, 21 September 2016 at 21:32:02 UTC, Rene Zwanenburg wrote:On Wednesday, 21 September 2016 at 20:22:42 UTC, llaine wrote: Yes, but it may take some time. For large projects, running it on a server is advisable. 3K LOC should be doable on a desktop machine. Dub has built-in support for running Dustmite. I'm not very familiar with it, but it looks like you'll want to use 'dub dustmite' with the --compiler-regex switch with a regex matching the ICE assert message.Any idea how to run with dub ? Trying like this dub dustmite app/ --compiler-regex="Internal Error" 'dub build -b release'
Sep 22 2016
On Thursday, 22 September 2016 at 10:44:29 UTC, llaine wrote:On Wednesday, 21 September 2016 at 21:32:02 UTC, Rene Zwanenburg wrote:I think it is something like: dub dustmite ./dustmite_output/ --compiler-regex="Internal Error" -b releaseOn Wednesday, 21 September 2016 at 20:22:42 UTC, llaine wrote: Yes, but it may take some time. For large projects, running it on a server is advisable. 3K LOC should be doable on a desktop machine. Dub has built-in support for running Dustmite. I'm not very familiar with it, but it looks like you'll want to use 'dub dustmite' with the --compiler-regex switch with a regex matching the ICE assert message.Any idea how to run with dub ? Trying like this dub dustmite app/ --compiler-regex="Internal Error" 'dub build -b release'
Sep 22 2016
On Thursday, 22 September 2016 at 14:40:10 UTC, Saurabh Das wrote:On Thursday, 22 September 2016 at 10:44:29 UTC, llaine wrote: dub dustmite ./dustmite_output/ --compiler-regex="Internal Error" -b releaseOkay I tried yesterday, after 4hours of process, I never went through the end of minification. At the beginning I enter YES should I enter NO instead?
Sep 23 2016
On Friday, 23 September 2016 at 08:39:44 UTC, llaine wrote:Okay I tried yesterday, after 4hours of process, I never went through the end of minification. At the beginning I enter YES should I enter NO instead?Hmm that's strange. I don't get any yes or no questions. What is the exact message you get? I've been looking into using dustmite with dub a bit, and running dub dustmite "../DustmiteResult" --compiler-regex=".*backend/cgelem\.c 501.*" --build=release in your project directory should just work..
Sep 23 2016