pkgsrc-Users archive

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

Re: libvpx fails on netbsd-5



On Tue, Jan 06, 2015 at 04:14:48PM -0500, Greg Troxel wrote:
> 
> On a netbsd-5 amd64 system, multimedia/libvpx fails with gcc objecting
> to -mssse3.  It would be nice to fix this if it's readily apparent to
> someone.
> 
>     [CC] vp8/common/x86/variance_ssse3.c.o
> libtool: compile:  cc -O2 -I/u0/n0/ANONCVS/pkgsrc/multimedia/libvpx/work/.buildlink/include -m64 -O3 -fPIC -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wno-unused-function -I. -I/u0/n0/ANONCVS/pkgsrc/multimedia/libvpx/work/libvpx-1.3.0 -mssse3 -c vp8/common/x86/variance_ssse3.c  -fPIC -DPIC -o vp8/common/x86/.libs/variance_ssse3.c.o
> cc1: error: unrecognized command line option "-mssse3"
> Makefile:128: recipe for target 'vp8/common/x86/variance_ssse3.c.o' failed
> gmake[1]: *** [vp8/common/x86/variance_ssse3.c.o] Error 1
> 
> This is with:
> 
>   gcc version 4.1.3 20080704 prerelease (NetBSD nb3 20111107)

I got a little further (but not much)

http://mail-index.netbsd.org/pkgsrc-users/2014/01/10/msg019163.html

On the other hand, going for a newer gcc seems like a good idea

http://mail-index.netbsd.org/pkgsrc-users/2014/09/05/msg020328.html

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index