Re: Enable PIE by default in GCC?

2017-06-20 Thread Samuel Thibault
James Clarke, on mar. 20 juin 2017 06:18:18 +0100, wrote: > In all seriousness though, is there anywhere explaining what the issue with > GDB > is? Searching a bit ("gdb pie hurd"...) the mailing lists archive, https://lists.gnu.org/archive/html/bug-hurd/2016-11/msg00043.html > I see [1] but

Re: Enable PIE by default in GCC?

2017-06-19 Thread James Clarke
On 19 Jun 2017, at 22:13, Samuel Thibault wrote: > Pino Toscano, on dim. 18 juin 2017 21:33:53 +0200, wrote: >> as $subj asks, should we ask for GCC with PIE enabled by default, like >> is done in the majority of the other archs (i.e. [1])? > > Ideally, yes. In practice, it

Re: Enable PIE by default in GCC?

2017-06-19 Thread Samuel Thibault
Hello, Pino Toscano, on dim. 18 juin 2017 21:33:53 +0200, wrote: > as $subj asks, should we ask for GCC with PIE enabled by default, like > is done in the majority of the other archs (i.e. [1])? Ideally, yes. In practice, it works but gdb is lost with PIE executables, so that has to be fixed

Enable PIE by default in GCC?

2017-06-18 Thread Pino Toscano
Hi, as $subj asks, should we ask for GCC with PIE enabled by default, like is done in the majority of the other archs (i.e. [1])? Is it supposed to work on Hurd as well, or does it require any kind of work for it? (Yes, I could dive in GCC sources, but since it is not an easy task, I figured