[Issue 19116] dmd compiles binary but segfaults immediately when run on Ubuntu / Debian 32Bit architectures

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 30 06:19:07 UTC 2019


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

Suleyman Sahmi (سليمان السهمي) <sahmi.soulaimane at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sahmi.soulaimane at gmail.com

--- Comment #6 from Suleyman Sahmi (سليمان السهمي) <sahmi.soulaimane at gmail.com> ---
isn't this the PIE bug?
try this:
---
$ cat >hello.d <<EOF
import std.stdio;
void main(){ writeln("hello!");}
EOF

$ dmd hello.d -c
$ gcc hello.o -no-pie -o hello
$ ./hello
---

--


More information about the Digitalmars-d-bugs mailing list