Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #180158
| From | Reco <recoverym4n@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: In Stretch, gcc producing position independent binaries by default? |
| Date | 2017-04-15 16:30 +0200 |
| Message-ID | <twwS5-7Dd-1@gated-at.bofh.it> (permalink) |
| References | <twwp3-7d2-9@gated-at.bofh.it> <twwp3-7d2-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi. On Sat, 15 Apr 2017 13:50:59 +0000 (UTC) Neoklis Kyriazis <nkcyham@yahoo.com> wrote: > Hi, > > I have recently completed my first installation of Debian (stretch) > and I am compiling some apps from source. I have noticed that filers > show binaries produce by gcc as being shared library objects instead > of just ELF executables. > > I eventually, by searching, I worked around this by specifying the > > -no-pie flag in CFLAGS but I would like to know if gcc is by default > set up to produce > position independent binaries or if I have not set up things correctly. They patched gcc to produce PIE by default - and that's one of Debian stretch release goals. See: https://wiki.debian.org/Hardening/PIEByDefaultTransition Reco
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
In Stretch, gcc producing position independent binaries by default? Neoklis Kyriazis <nkcyham@yahoo.com> - 2017-04-15 16:00 +0200
Re: In Stretch, gcc producing position independent binaries by default? Reco <recoverym4n@gmail.com> - 2017-04-15 16:30 +0200
Re: In Stretch, gcc producing position independent binaries by default? Neoklis Kyriazis <nkcyham@yahoo.com> - 2017-04-15 16:50 +0200
Re: In Stretch, gcc producing position independent binaries by default? Reco <recoverym4n@gmail.com> - 2017-04-15 19:30 +0200
csiph-web