Re: [go-nuts] Defaulting build mode to PIE (and building go in PIE mode)

2017-05-01 Thread timo . teras
On Monday, May 1, 2017 at 3:56:32 PM UTC+3, timo@gmail.com wrote: > > > On Friday, April 28, 2017 at 5:11:19 PM UTC+3, Ian Lance Taylor wrote: >> >> On Thu, Apr 27, 2017 at 10:57 PM, wrote: >> It sounds like you are running into some version of >>

Re: [go-nuts] Defaulting build mode to PIE (and building go in PIE mode)

2017-05-01 Thread timo . teras
Hi, On Friday, April 28, 2017 at 5:11:19 PM UTC+3, Ian Lance Taylor wrote: > > On Thu, Apr 27, 2017 at 10:57 PM, > wrote: > > For Go 1.7 we just used the following patch: > > > https://git.alpinelinux.org/cgit/aports/plain/community/go/default-buildmode-pie.patch > >

Re: [go-nuts] Defaulting build mode to PIE (and building go in PIE mode)

2017-04-28 Thread Ian Lance Taylor
On Thu, Apr 27, 2017 at 10:57 PM, wrote: > > We in Alpine Linux would like to ship Go so that it defaults to PIE > buildmode. We acknowledge that Go generally produces safer code, but we > still consider it to be viable protection when linking in C (or other) code > to Go

[go-nuts] Defaulting build mode to PIE (and building go in PIE mode)

2017-04-28 Thread timo . teras
Hi, We in Alpine Linux would like to ship Go so that it defaults to PIE buildmode. We acknowledge that Go generally produces safer code, but we still consider it to be viable protection when linking in C (or other) code to Go applications. If the external code has security issues, it is an