id summary reporter owner description type status milestone component version severity resolution keywords cc 2595 vacpp on linux: library build issues Jay Berkenbilt Vladimir Prus "When building boost libraries with xlc on a PPC64 Linux platform (though building in 32-bit mode -- it's a RHEL5 system), I have two issues. (Actually, I had three, but the third one has already been reported and fixed): * Boost is passing -qpic, but we find that we really need -qpic=large in order to avoid problems loading * Shared libraries are not built with the -soname option being passed to the linker, which causes several problems, though I believe these are all well understood. I suspect the vacpp configuration has been tested most thoroughly on AIX, which is the reason for these omissions. I have attached a patch that addresses both issues. The patch applies cleanly to 1.37. **NOTE** This patch is Linux-specific. It would be easy to make these properly conditional on Linux so they don't get applied on non-Linux platforms, but since I have only linux to test with and am not that familiar with bjam, if I were to attempt this, it would just be a guess anyway. I'm sure someone who is familiar with bjam can very easily apply this fix correctly rather than just accepting my incomplete patch as is. All the patch does is replace -qpic with -qpic=large wherever -qpic is passed to xlc, and add -Wl,-soname -Wl, to vacpp.link.dll." Bugs closed Boost 1.38.0 build Boost 1.37.0 Problem fixed