On Tue, Dec 17, 2019 at 11:39:52AM -0700, Jerry James wrote:
On Sat, Dec 7, 2019 at 4:24 AM Richard W.M. Jones
<rjones(a)redhat.com> wrote:
> We're down to just two ocaml packages which failed to build.
> ocaml-tplib was already discussed.
Do you have any idea what is going on with the ocaml-tplib build? It
is failing on ppc64le only. The failure happens when linking one of
the tests:
_build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in
function `camlStdlib__arg__assoc3_118':
(.text+0xe9258): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+101d0
(.text+0xe9298): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+ffe8
_build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in
function `camlStdlib__arg__make_symlist_176':
(.text+0xe9400): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+10278
(.text+0xe9438): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+10138
_build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in
function `camlStdlib__arg__fun_969':
(.text+0xe94a8): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+10138
_build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in
function `camlStdlib__arg__print_spec_242':
(.text+0xe9524): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+100d8
(.text+0xe952c): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+10270
(.text+0xe9570): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+101d8
(.text+0xe9588): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+10048
_build/src/bindings/libtplib_double.a(tplib_double_callback.obj.o): in
function `camlStdlib__arg__help_action_312':
(.text+0xe95f4): relocation truncated to fit: R_PPC64_TOC16_DS against
`.toc'+ffe8
(.text+0xe9614): additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
make: *** [Makefile:157: _build/tests/test_tplib_double] Error 1
I don't know but it certainly looks like an upstream problem with the
compiler and/or that the text segment or number of symbols is simply
too large for relocation to cope.
Rich.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjones
Read my programming and virtualization blog:
http://rwmj.wordpress.com
libguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org