| Summary: | Torque library needs -fPIC | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michael Korbakov <rmihael> |
| Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | trivial | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
See Comment #2 on the dupe. *** This bug has been marked as a duplicate of 126295 *** |
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