gcc-4.3.0, shared lib build problem?

After building boost (recent svn Revision: 44635 ) using: bjam -sICU_PATH=/usr -sEXPAT_INCLUDE=/usr -sEXPAT_LIBPATH=/usr/lib64 --layout=system threading=single stage Then when I tried to re-build my shared object against the boost libs, I got: /usr/bin/ld: mod/ldpc.os: relocation R_X86_64_32 against `__dso_handle' can not be used when making a shared object; recompile with -fPIC Did -fPIC flag go missing when building the boost libs? (Can someone refresh my memory which bjam flag to use to show the compile invocation)?

Neal Becker wrote:
After building boost (recent svn Revision: 44635 ) using:
bjam -sICU_PATH=/usr -sEXPAT_INCLUDE=/usr -sEXPAT_LIBPATH=/usr/lib64 --layout=system threading=single stage
Then when I tried to re-build my shared object against the boost libs, I got:
/usr/bin/ld: mod/ldpc.os: relocation R_X86_64_32 against `__dso_handle' can not be used when making a shared object; recompile with -fPIC
Did -fPIC flag go missing when building the boost libs? (Can someone refresh my memory which bjam flag to use to show the compile invocation)?
Answered my own question. Problem was not in boost (and the above question is -d+2).
participants (1)
-
Neal Becker