Re: Request: Hardened system tutorial/patch

2016-10-20 Thread Daniel Kozak via Digitalmars-d
On Thursday, 20 October 2016 at 11:12:24 UTC, Daniel Kozak wrote: On Wednesday, 19 October 2016 at 12:51:46 UTC, Lodovico Giaretta wrote: Hi! As you might have noticed, Ubuntu 16.10 joins the community of hardened systems by shipping GCC 6.2 with PIE enabled by default. This is a wonderful

Re: Request: Hardened system tutorial/patch

2016-10-20 Thread Daniel Kozak via Digitalmars-d
On Wednesday, 19 October 2016 at 12:51:46 UTC, Lodovico Giaretta wrote: Hi! As you might have noticed, Ubuntu 16.10 joins the community of hardened systems by shipping GCC 6.2 with PIE enabled by default. This is a wonderful security choice Maybe it is not so perfect security choice

Re: Request: Hardened system tutorial/patch

2016-10-19 Thread Lodovico Giaretta via Digitalmars-d
On Wednesday, 19 October 2016 at 13:16:08 UTC, Daniel Kozak wrote: [...] Thank you. I didn't know about dmd.conf. Do you happen to know which options should I use to disable PIE generation? -L-no-pie does not work, so I'm stuck with producing PIE executables (which is not bad per se, but as

Re: Request: Hardened system tutorial/patch

2016-10-19 Thread Daniel Kozak via Digitalmars-d
Dne 19.10.2016 v 14:51 Lodovico Giaretta via Digitalmars-d napsal(a): Hi! As you might have noticed, Ubuntu 16.10 joins the community of hardened systems by shipping GCC 6.2 with PIE enabled by default. This is a wonderful security choice, but it comes with some problems when one tries to

Request: Hardened system tutorial/patch

2016-10-19 Thread Lodovico Giaretta via Digitalmars-d
Hi! As you might have noticed, Ubuntu 16.10 joins the community of hardened systems by shipping GCC 6.2 with PIE enabled by default. This is a wonderful security choice, but it comes with some problems when one tries to use DMD. Here is what happened to me. 1) Trying to unittest