compiler error: lib/libsbuf.a(subr_sbuf.o): relocation R_X86_64_32 against `_DefaultRuneLocale' can not be used when making a shared object

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Sat, 9 Sep 2017 16:02:09 +0200
This bug has just been introduced in the transition r323342 -> r323365:


[...]

building shared library libncurses.so.8
--- lib/libgeom__L ---
/usr/obj/usr/src/tmp/usr/bin/ld: /usr/obj/usr/src/tmp/usr/lib/libsbuf.a(subr_sbuf.o):
relocation R_X86_64_32 against `_DefaultRuneLocale' can not be used when making a shared
object; recompile with -fPIC /usr/obj/usr/src/tmp/usr/lib/libsbuf.a: could not read
symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see
invocation) *** [libgeom.so.5] Error code 1

make[4]: stopped in /usr/src/lib/libgeom
.ERROR_TARGET='libgeom.so.5'
.ERROR_META_FILE='/usr/obj/usr/src/lib/libgeom/libgeom.so.5.meta'
.MAKE.LEVEL='4'
MAKEFILE=''
.MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
_ERROR_CMD='_at_echo building shared library libgeom.so.5; _at_rm -f libgeom.so.5 libgeom.so;
_at_sh /usr/src/tools/install.sh -l s  libgeom.so.5 libgeom.so; cc -target
x86_64-unknown-freebsd12.0 --sysroot=/usr/obj/usr/src/tmp -B/usr/obj/usr/src/tmp/usr/bin
-fstack-protector-strong -shared -Wl,-x -Wl,--fatal-warnings -Wl,--warn-shared-textrel
-o libgeom.so.5 -Wl,-soname,libgeom.so.5  `NM='nm' NMFLAGS='' lorder geom_getxml.pico
geom_stats.pico geom_xml2tree.pico geom_ctl.pico geom_util.pico |  tsort -q`  -lbsdxml
-lsbuf;' .CURDIR='/usr/src/lib/libgeom'


-- 
O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).

Received on Sat Sep 09 2017 - 12:02:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:13 UTC