Re: [swift-dev] Standard shared libraries with executable stack

2016-06-17 Thread Dmitri Gribenko via swift-dev
Hi, While there wight be an issue in WSL with executable stacks, Swift does not really need one. If the binary is actually asking for one, it would be great if we could figure out a way to ask the gold linker to not mark stacks as executable. Dmitri On Thu, Jun 16, 2016 at 11:39 PM, Sangjin Han

Re: [swift-dev] Standard shared libraries with executable stack

2016-06-17 Thread Sangjin Han via swift-dev
Hi, When linking libswiftCore.so, gold linker with --warn-execstack option generates following messages. /usr/bin/ld.gold: warning: lib/swift/linux/x86_64/swift_begin.o: missing .note.GNU-stack section implies executable stack /usr/bin/ld.gold: warning: lib/swift/linux/x86_64/swift_end.o: missing

Re: [swift-dev] Standard shared libraries with executable stack

2016-06-17 Thread Dmitri Gribenko via swift-dev
On Fri, Jun 17, 2016 at 7:31 AM, Sangjin Han wrote: > Hi, > > When linking libswiftCore.so, gold linker with --warn-execstack option > generates following messages. > /usr/bin/ld.gold: warning: lib/swift/linux/x86_64/swift_begin.o: missing > .note.GNU-stack section implies executable stack > /usr/

Re: [swift-dev] Standard shared libraries with executable stack

2016-06-17 Thread Sangjin Han via swift-dev
Please review the PR #3053. 2016-06-18 0:17 GMT+09:00 Dmitri Gribenko : > On Fri, Jun 17, 2016 at 7:31 AM, Sangjin Han > wrote: > > Hi, > > > > When linking libswiftCore.so, gold linker with --warn-execstack option > > generates following messages. > > /usr/bin/ld.gold: warning: lib/swift/linux/