[Pkg-julia-devel] Julia parallel test

Peter Colberg peter at colberg.org
Thu Nov 12 04:41:07 UTC 2015


On Wed, Nov 11, 2015 at 10:57:31PM -0500, Peter Colberg wrote:
> # gcc -shared -o empty.so -xc /dev/null -lopenlibm
> 
> /usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/5/../../../i386-linux-gnu/libopenlibm.so: scalblnf: invalid version 26898 (max
> /usr/lib/gcc/i686-linux-gnu/5/../../../i386-linux-gnu/libopenlibm.so: error adding symbols: Bad value
> collect2: error: ld returned 1 exit status

The culprit is libm.

When I build openlibm without fix-underlinking.patch, the linking
works fine. Given that openlibm is a substitute for libm, this is
not that suprising.

I wonder though how upstream openlibm can use logl, expl, powl from
libm without linking to it, as you have described in that patch.

Until upstream solves the issue [1], could you revert the patch?

[1] https://github.com/JuliaLang/openlibm/pull/99

Peter



More information about the Pkg-julia-devel mailing list