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

Bug#755769: src:nettle: FTBFS on sparc64: "relocation truncated to fit: R_SPARC_GOT13 against ..."



Package: src:nettle
Version: 2.7.1-2
Severity: normal
User: helmutg@debian.org
Usertags: rebootstrap
X-Debbugs-Cc: debian-sparc@lists.debian.org

nettle currently FTBFS on sparc64:

Example error from
http://buildd.debian-ports.org/status/fetch.php?pkg=nettle&arch=sparc64&ver=2.7.1-2&stamp=1402015401:

> testutils.o: In function `die':
> /«PKGBUILDDIR»/testsuite/testutils.c:41:(.text+0xf0): relocation truncated to fit: R_SPARC_GOT13 against symbol `stderr@@GLIBC_2.2' defined in .data section in /lib/sparc64-linux-gnu/libc.so.6

The internet says, that one should use -fPIC rather than -fpic and
indeed when exporting lsh_cv_sys_ccpic=-fPIC, nettle builds just fine.

Helmut


Reply to: