On 10/12/2015 00:05, William Dillon via swift-dev wrote:
At this point, the compiler and standard library are all built, and I think I
have one final issue. In the testing suite, the binaries generated by the
swift compiler don’t run. They’re emitting unexpected reloc type errors. It
appears that reolc type 0x03 is R_ARM_REL32 which is not permitted for use with
shared libraries:
CollectionOfOne.swift.tmp/a.out: error while loading shared libraries:
/home/wdillon/build/Ninja-ReleaseAssert/swift-linux-armv7/lib/swift/linux/libswiftCore.so:
unexpected reloc type 0x03
Can you make sure you're compiling with the -fPIC flag? This is normally set
by CMake depending on the platform, but it's possible that CMake doesn't know
about Linux-ARM yet.
Nick
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev