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

2016-06-16 Thread Jongsu Kim via swift-dev
Hi, This could have been caused by our switch from the BFD linker to gold. > Could you try linking a hello world program using gold linker and > running it in WSL? > I tried to build Swift by not using -fuse-gold option and the result was same. Are you sure that PROT_GROWSDOWN is the flag that

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

2016-06-18 Thread Jongsu Kim via swift-dev
Hi, Han Your PR is very helpful. Thanks a lot. The Foundation repo has some assembly files similar to swift_sections.S as follows: swift-corelibs-foundation/CoreFoundation/String.subproj/ CFCharacterSetData.S CFUniCharPropertyDatabase.S CFUnicodeData.S The generated libFoundation.s