[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#861951: pypy: Please add sh to the list of fPIC architectures



Source: pypy
Version: 5.6.0+dfsg-4
Severity: normal
User: debian-superh@lists.debian.org
Usertags: sh4

Hi!

Building pypy on sh4 currently fails with [1]:

/usr/bin/ld: threadlocal.o: TLS local exec code cannot be linked into shared objects
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:584: recipe for target 'libpypy-c.so' failed

This is very akin to #760267 [2] where the same issue was addressed
for hppa. And, indeed, adding sh to this patch fixes this particular
issue for me on sh4.

Can you please add 'sh' to the list of architectures for which -fPIC
is enabled in debian/patches/fpic-archs?

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=pypy&arch=sh4&ver=5.6.0%2Bdfsg-4&stamp=1492396723&raw=0
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760267

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: