[swift-dev] Porting Swift to Linux aarch64 (arm64)

Dmitri Gribenko gribozavr at gmail.com
Mon Dec 14 16:25:13 CST 2015


Hi Will,

I was using the binutils linker, not the gold one.

Dmitri

On Mon, Dec 14, 2015 at 2:19 PM, William Dillon <william at housedillon.com> wrote:
> I’m on a limb here, but is it possible that the gold linker is causing issues, or is it required?
>
> - Will
>
>> On Dec 13, 2015, at 11:45 PM, Dmitri Gribenko via swift-dev <swift-dev at swift.org> wrote:
>>
>> Hi,
>>
>> This weekend I have been playing with Swift on Linux on 64-bit arm.  I
>> have summarized my findings in this bug:
>>
>> https://bugs.swift.org/browse/SR-221
>>
>> TL;DR: 20 tests fail in the main testsuite; there is an issue with
>> type metadata, I'm thinking this is a linker issue.
>>
>> If someone would like to investigate further -- especially if you are
>> familiar with the internals of the binutils linker -- your help would
>> be much appreciated!
>>
>> 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
>



-- 
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