[Ffmpeg-devel] unable to build shared ffmpeg on x86_64 with swscale

Aurelien Jacobs aurel
Sun Oct 8 23:19:13 CEST 2006


On Tue, 3 Oct 2006 22:59:53 -0400
Isaac Richards <ijr at po.cwru.edu> wrote:

> On Tuesday 03 October 2006 7:53 pm, Aurelien Jacobs wrote:
> > On Tue, 3 Oct 2006 17:40:53 +0200
> >
> > Aurelien Jacobs <aurel at gnuage.org> wrote:
> > > On Tue, 3 Oct 2006 15:49:26 +0200
> > >
> > > Aurelien Jacobs <aurel at gnuage.org> wrote:
> > > > On Tue, 3 Oct 2006 17:35:52 +0400
> > > >
> > > > Pavlov Konstantin <thresh at cpms.ru> wrote:
> > > > > On Tuesday 03 October 2006 17:28, Aurelien Jacobs wrote:
> > > > > > Latest svn builds fine here on x86_64 with
> > > > > > ./configure --enable-gpl --enable-shared --enable-swscaler
> > > > >
> > > > > compiler/binutils version?
> > > >
> > > > gcc-3.3.5/binutils-2.15 (Debian stable).
> > >
> > > Hum... I now tested it on another x86_64 box with gcc-4.1 and
> > > I can see this build failure:
> > >
> > > /usr/bin/ld: yuv2rgb.o: relocation R_X86_64_PC32 against
> > > `mmx_00ffw' can not be used when making a shared object;
> > > recompile with -fPIC
> > >
> > > I fixed it with the attached patch. It simply make some
> > > symbol static so it shouldn't be controversial.
> > > I intend to apply it soon.
> >
> > commited.
> 
> Is libswscale going to be threadsafe?

I only changed some globals into statics, so this don't have any effect
on the thread-safeness.

Aurel




More information about the ffmpeg-devel mailing list