Skip to Content.
Sympa Menu

cado-nfs - [Cado-nfs-discuss] build problems: relocation against .rodata fails

Subject: Discussion related to cado-nfs

List archive

[Cado-nfs-discuss] build problems: relocation against .rodata fails


Chronological Thread 
  • From: Paul Leyland <paul.leyland@gmail.com>
  • To: "cado-nfs-discuss@lists.gforge.inria.fr" <Cado-nfs-discuss@lists.gforge.inria.fr>
  • Subject: [Cado-nfs-discuss] build problems: relocation against .rodata fails
  • Date: Mon, 06 May 2019 11:15:24 +0100
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=paul.leyland@gmail.com; spf=Pass smtp.mailfrom=paul.leyland@gmail.com; spf=None smtp.helo=postmaster@mail-wr1-f48.google.com
  • Ironport-phdr: 9a23:8SakkBNjfdYGbfWSFggl6mtUPXoX/o7sNwtQ0KIMzox0I/74rarrMEGX3/hxlliBBdydt6sdzbWJ+Pq/EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCegbb9oLhi7rwrdutcUjIB/Nqs/1xzFr2dSde9L321oP1WTnxj95se04pFu9jlbtuwi+cBdT6j0Zrw0QrNEAjsoNWA1/9DrugLYTQST/HscU34ZnQRODgPY8Rz1RJbxsi/9tupgxCmXOND9QL4oVTi+6apgVRjnhjkZOD827GHZk8pwjKZboR64vhBy34DZbYObOfZnYq/Qcs4RSW5BU8pNUiBMBJ63YYkSAOobJetWrJTzqVsQoxWwGQajCuzgxDBTi3/q36A3yfgtHR3c0QEiGd8FrXTarM/yNKcXSe271rPHzSjHb/hL3zny9ojJchQ7rvGKQL17bM3cyVE1GAPYilWcs4jlMC2V1+QJqWeb6fdvWPmgi24isQ5xozyvyt0whYnOg4IY01bJ/jh3zoYyIN23Uk97Ydi8HZRLrSGaMYp2QsA4TGF0oio11roGuZu9cSMXy5on3wbSZ+Kbf4WM+B7uV+acLS1miH57Zb6znRm//Eu4xuD/WMS4ykhGojdHn9XWq3wA1h7e5tKaRvZ//Eqs3yuE2RrJ5eFeO080kLLWK54/zb40kZoeqUHDETX3mEXylaOXeF8k9vWx5+TpbbjrpYWQN4BzigH5PaQuntKwDf4kPQgJWmiX4eW81Lv98k3lWLhGkOE6n63DvJ3ZJckXvLC1DxFI3oo55BuyDC+q0NECknkGKFJFdgiHj4/sO1zWOPD3F+q/g1C2nDdv2f/HPrnhDY/LLnfei7rhcrN95FRdyAo319xQ+5VUCrQZLPLpRkDxrMDYDgM+MwGs3evoEshy1oQHVWKJDK+ZK7revkKJ5uI0P+aMeZQVuC3mJvgh5v7ulmM5mUQHcamm05sXb2q4Hvt4LEmDYHrshM0BEWYQsQYkQuzqkg7KbTkGLX27U6V54D8gTY6nFozeXZuFhL2awDz9EZNRfG9LTFGKC3bhMYueEb9YQyueJYpnnCdBWbm6QJI6zjmqtRTm0PxoIO3O9SBetJT51dEz6feFxj8o8jkhN82A1ympQnBwl2UED2su1b1750hw21OK16RQjPlRFNgV7PRMBFRpfaXAxvB3XoihEjnKec2EHQv+G4T0MXQKVts0huQ2TQN4EtSmgArE2nPzUbAQnr2PQpcz9/CFhiSjF4NG03/DkZIZoRw+WMIWbD+pg6d+807YAIubyxzExZbvTrwV2Wv2zEnGzWeKuxsFAgt5UKGAQmpGI0WK/ZL24UTNS7LoArMiYFNM
  • List-archive: <http://lists.gforge.inria.fr/pipermail/cado-nfs-discuss/>
  • List-id: A discussion list for Cado-NFS <cado-nfs-discuss.lists.gforge.inria.fr>


Am I the only person to be getting errors like this from "make"? It's
an up to date Gentoo box and I grabbed the latest cado-nfs from git
earlier today.

Still debugging (and if the problem is solved I'll post how it was
done) so just wanted to flag the situation. If the problem is not
solved I'll post detailed information as required but until then I'll
not clog up subscribers' mailboxes.

Paul


[ 96%] Linking CXX executable lingen
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-gf2x-
fake-fft.o): relocation R_X86_64_32 against `.rodata' can not be used
when making a PIE object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-gf2x-
cantor-fft.o): relocation R_X86_64_32S against `.rodata' can not be
used when making a PIE object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-
gf2x.o): relocation R_X86_64_32S against `.rodata' can not be used when
making a PIE object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-
toom.o): relocation R_X86_64_32 against `.rodata' can not be used when
making a PIE object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-gf2x-
ternary-fft.o): relocation R_X86_64_32 against `.rodata' can not be
used when making a PIE object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: /home/pcl/nums/cado-
nfs/build/maat.home.brnikat.com/gf2x/.libs/libgf2x.a(libgf2x_la-gf2x-
ternary-fft.o): warning: relocation against `memcpy@@GLIBC_2.14' in
read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-
gnu/bin/ld: final link failed: nonrepresentable section on output
collect2: error: ld returned 1 exit status
make[2]: *** [linalg/bwc/CMakeFiles/lingen.dir/build.make:217:
linalg/bwc/lingen] Error 1
make[1]: *** [CMakeFiles/Makefile2:4588:
linalg/bwc/CMakeFiles/lingen.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
make: *** [Makefile:7: all] Error 2






Archive powered by MHonArc 2.6.19+.

Top of Page