pkgsrc-Users archive

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

Re: multimedia/libvpx and netbsd 5



Hi,

From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Wed, 15 Jan 2014 
01:29:25 +0900 (JST)

> Hi,
> 
> From: Uwe Klaus <uklaus%hgb-leipzig.de@localhost>, Date: Tue, 14 Jan 2014 
> 15:17:52 +0100 (CET)
> 
>> 
>> adding the following part to Makefile helped to build
>> multimedia/libvpx
>> 
>> # e.g., NetBSD 5 has gcc 4.1.3
>> .if !empty(CC_VERSION:Mgcc-4.1.*)
>> CONFIGURE_ENV+= sse=no sse2=no sse3=no ssse3=no sse4_1=no
>> CONFIGURE_ENV+= RTCD_OPTIONS='--disable-sse --disable-sse2
>> --disable-sse3 --disable-ssse3 --disable-sse4_1 '
>> CFLAGS+=        -DYUV_DISABLE_ASM
>> .endif
> 
> Thanks for your investigation.
> 
> I have tried to build libvpx with gcc44, gcc45, and gcc46.
> And I have gotten same error.
> I think the problem is not in gcc but in binutils.
> 
> But I have no idea about how to use pkgsrc binutils to build libvpx...

libvpx requires newer gas from binutils and GCC 4.4 or later to
compile ssse3 code.
And under Solaris 10, its own tr(1) is not sufficient for preparing source.

I have just committed the fix.
http://mail-index.netbsd.org/pkgsrc-changes/2014/01/15/msg100152.html

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index