alberta on powerpc: R_PPC_REL24 relocation out of range
Hi,
while looking at a test failure for dune-grid[1] on powerpc I encountered
this issue:
gmshtest: error while loading shared libraries:
/usr/lib/powerpc-linux-gnu/libalberta_utilities.so.4:
R_PPC_REL24 relocation at 0x0fcde034 for symbol `time' out of range
The internet suggests this happens when -fPIC is not used when building
the shared library, but this flag is set, cf. the build log for
alberta[2].
Note that I had to use clang to build alberta as gcc misses a particular
feature (constant folding for long double[3]).
The same problem didn't happen when building an older version of
dune-grid against an older version of alberta[4]. As even the trivial
problem
int main() { return 0; }
built with -lalberta_utilities fails with the same error, I think
dune-grid is not to blame. But the changes between alberta 3.0.0-3 and
3.0.1-1 are quite small and don't look related :/
Any idea what might be cause this problem?
Ansgar
[1] <https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=powerpc&ver=2.4~20150506gd3c1350-1&stamp=1432250732>
[2] <https://buildd.debian.org/status/fetch.php?pkg=alberta&arch=powerpc&ver=3.0.1-1&stamp=1406848636>
[3] <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26374>
[4] <https://buildd.debian.org/status/fetch.php?pkg=dune-grid&arch=powerpc&ver=2.3.1-1&stamp=1403036577>
Reply to: