Changeset 68363

Timestamp:
Jan 22, 2011, 11:33:21 AM (12 years ago)
Author:
viboes
Message:

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

Link [2011-01-21 10:46:17 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.