[swift-dev] Issues when building swift using GNU 2.26 related to protected symbols
William Dillon
wdillon at coas.oregonstate.edu
Tue Feb 23 10:31:40 CST 2016
Geez, VMs are slow… :)
So, I was able to reproduce Dmitri’s error on 16.04. Adding -Bsymbolic to the linker arguments in cmake/modules/AddSwift.cmake makes it go away. Of course, it is unsatisfying to have this regression after Joe’s excellent work making them obsolete.
- Will
> On Feb 22, 2016, at 11:11 AM, William Dillon via swift-dev <swift-dev at swift.org> wrote:
>
> I’ll see what I can find. I’m bringing up a VM.
>
>> On Feb 22, 2016, at 10:58 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>
>> On Mon, Feb 22, 2016 at 10:39 AM, Joe Groff <jgroff at apple.com> wrote:
>>>
>>>> On Feb 22, 2016, at 10:33 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
>>>>
>>>> On Mon, Feb 22, 2016 at 10:27 AM, William Dillon
>>>> <william at housedillon.com> wrote:
>>>>> is there a reliable way to trigger the error? I haven’t seen this on any of my machines (all Ubuntu 14.04 or 15.<whatever>)
>>>>
>>>> Try building on Ubuntu 16.04 or Debian Sid.
>>>
>>> 16.04 isn't released till April, right?
>>
>> Right.
>>
>>> Any chance we can report this problem to them and hopefully get a fix before then?
>>
>> Possibly. Someone other than me should do this, though. William, if
>> you are interested, could you do this? It would be best if we could
>> create a simple example that demonstrates the issue.
>>
>> 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>*/
>
> _______________________________________________
> swift-dev mailing list
> swift-dev at swift.org
> https://lists.swift.org/mailman/listinfo/swift-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1428 bytes
Desc: not available
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160223/4c32017a/attachment.p7s>
More information about the swift-dev
mailing list