[swift-users] Hi, About centos7.1 source compiler error '_swift_stdlib_unicode_strToLower'
Dmitri Gribenko
gribozavr at gmail.com
Wed Aug 10 19:35:23 CDT 2016
On Wed, Aug 10, 2016 at 5:27 PM, SonWa via swift-users
<swift-users at swift.org> wrote:
> /usr/bin/ld: stdlib/public/core/linux/x86_64/Swift.o: relocation
> R_X86_64_PC32 against protected symbol `_swift_stdlib_unicode_strToLower'
> can not be used when making a shared object
>
> /usr/bin/ld: final link failed: Wrong value
Hi,
To fix this issue, please install the 'gold' linker.
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-users
mailing list