Hi,
 
there are some test in trunck that are failing
Test output: Sandia-pgi-10.1 - chrono - xtime_static / pgi-10.1
 
It seems that the we need to add -fPIC, but -fpic . I don't know the compiler command syntax, but in case this could help, it will be worth to try.
 
Could someone change this on trunk?
 
Best,
Vicente
 
Test output:
Rev 68033 / Wed, 12 Jan 2011 07:53:19 +0000
Report Time: Wed, 12 Jan 2011 15:19:47 +0000

Compile [2011-01-12 10:41:10 UTC]: succeed
"/sierra/Sntools/extras/compilers/pgi/linux86-64/10.1/bin/pgCC" -INLINE:none -Wc,-a --brief_diagnostics --error_limit1 --compress_names --diag_suppress450 --no_using_std --zc_eh -Kieee -fpic -gopt -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -D__need_IOV_MAX -I".." -c -o "/scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/error_code.o" "../libs/system/src/error_code.cpp"

Link [2011-01-12 10:41:10 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/libboost_system.so" "/scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/error_code.o" -Wl,-h -Wl,libboost_system.so  -Bdynamic -lrt -lrt -Bstatic  -Bdynamic

/usr/bin/ld: /scratch/boost/results/boost/bin.v2/libs/system/build/pgi-10.1/debug/error_code.o: relocation R_X86_64_PC32 against `__catch_clause_number' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
TinyUrl http://tinyurl.com/6z8ndcg
_____________________
Vicente Juan Botet Escribá
http://viboes.blogspot.com/