www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 20481] New: The compiled program by the dmd compiler calls

https://issues.dlang.org/show_bug.cgi?id=20481

          Issue ID: 20481
           Summary: The compiled program by the dmd compiler calls
                    SegFault
           Product: D
           Version: D2
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: tod.naz ya.ru

Hello!
The compiled program by the dmd compiler under the architecture of the Ubuntu
i686 OS (the processor architecture is different since only 2 GB of RAM) calls
SegFault. Simple program "Hello, World":
"import std.stdio; int main (string [] args) {writeln (" Hello, World! ");
return 0;}". When I compiled, I get an error when I call the program: PID
segmentation fault (core dumped). Gdb is described like this:
"0x004485b5 in
_D2rt19sections_elf_shared10_tlsRangesFNbNcNdNiZSQBv4util9container5array__T5ArrayTAvZQk
()". Explicitly related something to arrays. Maybe someone can, why is this
being called? Although compiling GDC, LDC, everything builds fine ...

--
Jan 04