Boost logo

Boost Testing :

Subject: Re: [Boost-testing] [pgi-10.1] relocations compiler option
From: vicente.botet (vicente.botet_at_[hidden])
Date: 2011-01-15 04:00:56


Hi,
Sorry for the cross-post. It seems as nobody is posting on the Testing ML.
Noel Belcourt is out until the 24th. Could someone check if the modification is needed? Vladimir?

Best,
Vicente
  ----- Original Message -----
  From: vicente.botet
  To: Running Boost regression tests
  Sent: Wednesday, January 12, 2011 7:49 PM
  Subject: [Boost-testing] [pgi-10.1] relocations compiler option

  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/

------------------------------------------------------------------------------

  _______________________________________________
  Boost-Testing mailing list
  Boost-Testing_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-testing



Boost-testing list run by mbergal at meta-comm.com