Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 129991

Summary: Torque library needs -fPIC
Product: Gentoo Linux Reporter: Michael Korbakov <rmihael>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED DUPLICATE    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael Korbakov 2006-04-14 15:40:26 UTC
Library libpbs.a from torque-1.2.0_p5-r2 package compiles without -fPIC by default. It blocks  PBS support in some software (I've got it with OpenMPI). The following string in src_unpack function in ebuild fixes the problem:

sed -i "s/@CFLAGS@/@CFLAGS@ -fPIC/g" ${S}/src/lib/Libpbs/Makefile.in
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-24 00:46:07 UTC
See Comment #2 on the dupe.

*** This bug has been marked as a duplicate of 126295 ***