Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Sep 2017 16:02:09 +0200
From:      "O. Hartmann" <ohartmann@walstatt.org>
To:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   compiler error: lib/libsbuf.a(subr_sbuf.o): relocation R_X86_64_32 against `_DefaultRuneLocale' can not be used when making a shared object
Message-ID:  <20170909160209.68077dd3@thor.intern.walstatt.dynvpn.de>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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).

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iLUEARMKAB0WIQQZVZMzAtwC2T/86TrS528fyFhYlAUCWbP0YQAKCRDS528fyFhY
lMCeAf9Xa14TiWPjwWI5BU/OocCj+8Ao61gZpmCocokFs2foJgP+EPeSgtacmMeW
0tofUvg1gq54xGuv33vaJMYjl2sCAgCIy5dMkckqcP0qHaf2Ql3aOMFBbt/jAGfi
V4R5Ygr8PW5PQKFVsjWefl8+dU2d/mDTYDFOgv97AyhI5nAIpsBh
=4UMb
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170909160209.68077dd3>