pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: missing math functions on powerpc (macppc)?

"John D. Baker" <> writes:

> While the individual object components of libvpx are linked with libm,
> the final link step creating the shared library (and the static library)
> do not include libm in their link command:
> libtool: link: rm -fr  .libs/libvpx.a .libs/ .libs/libvpx.lai .libs/libvpx.lai.blsav .libs/ .libs/ .libs/
> libtool: link: gcc -shared -fPIC -DPIC vpx/src/.libs/vpx_decoder.c.o
> [snip]
> -L/d0/build/pkgsrc/multimedia/libvpx/work/.buildlink/lib
> -Wl,-R/usr/pkg/lib -Wl,-Bsymbolic -pthread -pthread -Wl,-soname
> -Wl, -o .libs/
> libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")
> libtool: link: (cd ".libs" && rm -f "" && ln -s "" "")

That looks wrong (to omit -lm).  I have no idea why with the same
toolchain version but a different cpu type it would do that.  There may
be someting in the configure process of libvpx that keys off cputype and
makes os assumptions, or something else odd.

Next is to look at the configure log and the libvpx build system to
figure out why it's leaving it out.

Attachment: signature.asc
Description: PGP signature

Home | Main Index | Thread Index | Old Index