Re: Compiler build error

2018-08-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Sunday, 5 August 2018 at 10:12:39 UTC, Alex wrote: On Sunday, 5 August 2018 at 01:15:07 UTC, Nicholas Wilson wrote: On Saturday, 4 August 2018 at 18:12:05 UTC, Alex wrote: On Saturday, 4 August 2018 at 13:26:01 UTC, Nicholas Wilson That is a very long stacks trace and combined with the very

Re: Compiler build error

2018-08-05 Thread Alex via Digitalmars-d-learn
On Sunday, 5 August 2018 at 01:15:07 UTC, Nicholas Wilson wrote: On Saturday, 4 August 2018 at 18:12:05 UTC, Alex wrote: On Saturday, 4 August 2018 at 13:26:01 UTC, Nicholas Wilson That is a very long stacks trace and combined with the very short stack trace on OSX, this is probably a stack

Re: Compiler build error

2018-08-04 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 4 August 2018 at 18:12:05 UTC, Alex wrote: On Saturday, 4 August 2018 at 13:26:01 UTC, Nicholas Wilson wrote: 0 ldc2 0x000106fcc4e7 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37 1 ldc2 0x000106fcb9ea

Re: Compiler build error

2018-08-04 Thread Alex via Digitalmars-d-learn
On Saturday, 4 August 2018 at 22:50:49 UTC, kinke wrote: On Saturday, 4 August 2018 at 18:12:05 UTC, Alex wrote: /snap/ldc2/78/bin/ldc2(_start+0x29)[0x8b7ee9] You haven't specified the DMD version you are using. Your LDC is 'outdated', so make sure to first check whether it still fails with

Re: Compiler build error

2018-08-04 Thread kinke via Digitalmars-d-learn
On Saturday, 4 August 2018 at 18:12:05 UTC, Alex wrote: /snap/ldc2/78/bin/ldc2(_start+0x29)[0x8b7ee9] You haven't specified the DMD version you are using. Your LDC is 'outdated', so make sure to first check whether it still fails with an up-to-date version before potentially wasting time.

Re: Compiler build error

2018-08-04 Thread Alex via Digitalmars-d-learn
On Saturday, 4 August 2018 at 13:29:36 UTC, kinke wrote: You're most likely hitting an ICE in the front-end (as both compilers crash). What you can always do is invoke the compiler in a GDB session. That's especially useful with an LDC CI build (download:

Re: Compiler build error

2018-08-04 Thread Alex via Digitalmars-d-learn
On Saturday, 4 August 2018 at 13:26:01 UTC, Nicholas Wilson wrote: 0 ldc2 0x000106fcc4e7 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37 1 ldc2 0x000106fcb9ea llvm::sys::RunSignalHandlers() + 83 2 ldc2 0x000106fcc90e

Re: Compiler build error

2018-08-04 Thread kinke via Digitalmars-d-learn
On Saturday, 4 August 2018 at 13:29:36 UTC, kinke wrote: [...] as it features debuginfos Sorry, scrach that (it used to for the Windows CI build but doesn't anymore).

Re: Compiler build error

2018-08-04 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 4 August 2018 at 12:21:36 UTC, Alex wrote: I'm a little bit confused by following situation: I have code, say around 8000 lines. Now, I'm facing a build error which just says dmd failed with exit code -11, (same for ldc2, with some lines of stack information, which do not

Re: Compiler build error

2018-08-04 Thread kinke via Digitalmars-d-learn
You're most likely hitting an ICE in the front-end (as both compilers crash). What you can always do is invoke the compiler in a GDB session. That's especially useful with an LDC CI build (download: https://github.com/ldc-developers/ldc/releases/tag/CI), as it features debuginfos and enabled

Re: Compiler build error

2018-08-04 Thread Alex via Digitalmars-d-learn
On Saturday, 4 August 2018 at 12:21:36 UTC, Alex wrote: Ok. Dustmite finished. But the result is again an empty file... :(

Compiler build error

2018-08-04 Thread Alex via Digitalmars-d-learn
I'm a little bit confused by following situation: I have code, say around 8000 lines. Now, I'm facing a build error which just says dmd failed with exit code -11, (same for ldc2, with some lines of stack information, which do not belong to my code) 0 ldc2