Explorar el Código

PGI add -fPIC when compiling with shared libs to try to solve this issue

Link [2011-01-23 10:12:19 UTC]: fail

    "/sierra/Sntools/extras/compilers/pgi/linux86-64/10.1/bin/pgCC" -gopt -fpic --zc_eh -shared   -o "/scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/threading-multi/libboost_system.so" "/scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/threading-multi/error_code.o" -Wl,-h -Wl,libboost_system.so  -Bdynamic -lpthread -lrt -lrt -lrt -Bstatic  -Bdynamic

/usr/bin/ld: /scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/threading-multi/error_code.o: relocation R_X86_64_PC32 against `__catch_clause_number' can not be used when making a shared object; recompile with -fPIC


[SVN r68379]
Vicente J. Botet Escriba hace 15 años
padre
commit
4285d3911b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tools/build

+ 1 - 1
tools/build

@@ -1 +1 @@
-Subproject commit ff3c6f383dad46c28a7e9f6deb1e8d5e4f8e77ac
+Subproject commit 68cb8b75321bb4f6123a99735c3ff00a261826ac

粤ICP备19079148号