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

O. Hartmann ohartmann at walstatt.org
Sat Sep 9 14:02:30 UTC 2017


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='@echo building shared library libgeom.so.5; @rm -f libgeom.so.5 libgeom.so;
@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).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170909/fed492c6/attachment.sig>


More information about the freebsd-current mailing list