[swift-dev] Standard shared libraries with executable stack

Dmitri Gribenko gribozavr at gmail.com
Thu Jun 16 08:29:04 CDT 2016


On Thu, Jun 16, 2016 at 5:17 AM, Jongsu Kim <kimjs29 at gmail.com> wrote:
> 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.

'-fuse-gold' is implicitly the default now.  We have switched to the
gold linker because the BFD linker had bugs and could not link Swift
libraries at all.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/


More information about the swift-dev mailing list