Changeset 68379

Timestamp:
Jan 23, 2011, 2:29:45 PM (12 years ago)
Author:
viboes
Message:

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

(No files)

Note: See TracChangeset for help on using the changeset viewer.