pkgsrc-Users archive

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

Re: libvpx and gcc 4.4 dependency



> * On 2014-09-03 at 13:50 BST, Patrick Welche wrote:
> 
> > NetBSD 5 comes with gcc 4.1.3.
> > libvpx needs >= gcc 4.4 to build ssse3 code
> > libvpx then ends up with a runtime dependency on gcc 4.4 via libgcc_s,
> > according to libvpx's +BUILD_INFO:
> > 
> > REQUIRES=/usr/pkg/gcc44/lib/libgcc_s.so.1

Doubly puzzled: after using jpkerkin's suggestion of gcc47-libs
and USE_PKGSRC_GCC_RUNTIME=yes, I no longer see a dependency on
gcc in libvpx's BUILD_INFO:

REQUIRES=/lib/libc.so.12
REQUIRES=/usr/lib/libc.so.12
REQUIRES=/usr/lib/libm.so.0
REQUIRES=/usr/lib/libpthread.so.0
REQUIRES=/usr/lib/librt.so.0

and from objdump -x /usr/pkg/lib/libvpx.so.1.0.3:

  NEEDED      libm.so.0
  NEEDED      librt.so.0
  NEEDED      libpthread.so.0
  SONAME      libvpx.so.1
  SYMBOLIC    0x0
  RPATH       
/usr/pkg/gcc47/i386--netbsdelf/lib/.:/usr/pkg/gcc47/lib/gcc/i386--netbsdelf/4.7.3:/usr/pkg/gcc47/lib:/usr/pkg/lib

vpxdec successfully prints help after mv /usr/pkg/gcc47 /usr/pkg/gcc47.bak

So gcc47-libs aren't needed if libvpx is built using gcc47?
(It behaves differently to gcc44?)

Cheers,

Patrick 


Home | Main Index | Thread Index | Old Index