Port-powerpc 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" <jdbaker%mylinuxisp.com@localhost> 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/libvpx.la .libs/libvpx.lai .libs/libvpx.lai.blsav .libs/libvpx.so .libs/libvpx.so.1 .libs/libvpx.so.1.0.5
> 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,libvpx.so.1 -o .libs/libvpx.so.1.0.5
> libtool: link: (cd ".libs" && rm -f "libvpx.so.1" && ln -s "libvpx.so.1.0.5" "libvpx.so.1")
> libtool: link: (cd ".libs" && rm -f "libvpx.so" && ln -s "libvpx.so.1.0.5" "libvpx.so")

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