pkgsrc-Users archive

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

Re: libvpx build failure amd64



On Thu, Feb 02, 2012 at 09:37:29PM +0900, Ryo ONODERA wrote:
> Hi,
> 
> From: Patrick Welche <prlw1%cam.ac.uk@localhost>, Date: Wed, 1 Feb 2012 
> 17:58:31 +0000
> 
> > Just got in multimedia/libvpx on amd64 with today's pkgsrc:
> > 
> > ld: vp8/common/x86/.libs/subpixel_mmx.asm.o: relocation R_X86_64_PC32 
> > against symbol `vp8_bilinear_filters_x86_8' can not be used when making a 
> > shared object; recompile with -fPIC
> > 
> > Yet the Makefile seems to go out of its way to get rid of -fPIC:
> > 
> > $(BUILD_PFX)%.asm.o: %.asm
> >         $(if $(quiet),@echo "    [AS] $@")
> >         $(qexec)${LIBTOOL} --mode=compile --tag=CC sh strip_fPIC.sh \
> >             $(AS) $(ASFLAGS) -o $@ $<

(and yes stripping fPIC from flags that end up with nasm is a good plan)

> Please try rev 1.5 of patch-aa.
> At least on my NetBSD/amd64 machine, build is O.K..

On mine too - thank you!


Cheers,

Patrick


Home | Main Index | Thread Index | Old Index