logo       

Re: filter_tomsmocomp && gcc4: msg#00005

video.transcode.devel

Subject: Re: filter_tomsmocomp && gcc4

On Mon, Jul 04, 2005 at 04:08:02PM +0200, Matthias Hopf wrote:
> On Jul 02, 05 13:25:10 -0700, Jacob Meuser wrote:
> > the tomsmocomp filter doesn't build for me with
> >
> > gcc version 4.0.1 20050609 (prerelease)
> >
> >
> > egcc -DHAVE_CONFIG_H -I.
> > -I/sandbox/portobj/transcode-1.0.0rc1/transcode-1.0.0r
> > c1/filter/tomsmocomp -I../.. -D_REENTRANT
> > -I/sandbox/portobj/transcode-1.0.0rc1/
> > transcode-1.0.0rc1
> > -I/sandbox/portobj/transcode-1.0.0rc1/transcode-1.0.0rc1/src
> > -I/sandbox/portobj/transcode-1.0.0rc1/transcode-1.0.0rc1/aclib
> > -I/usr/local/incl
> > ude -I/usr/X11R6/include -fno-omit-frame-pointer -Wall -D_LARGEFILE_SOURCE
> > -D_LA
> > RGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -Wall -MT
> > tomsmocompfilter_mmx
> > .lo -MD -MP -MF .deps/tomsmocompfilter_mmx.Tpo -c
> > /sandbox/portobj/transcode-1.0
> > .0rc1/transcode-1.0.0rc1/filter/tomsmocomp/tomsmocompfilter_mmx.c -fPIC
> > -DPIC -
> > o .libs/tomsmocompfilter_mmx.o
> > /sandbox/portobj/transcode-1.0.0rc1/transcode-1.0.0rc1/filter/tomsmocomp/SearchL
> > oopTop.inc: In function 'filterDScaler_MMX':
> > /sandbox/portobj/transcode-1.0.0rc1/transcode-1.0.0rc1/filter/tomsmocomp/SearchL
> > oopTop.inc:91: error: unknown register name 'mm7' in 'asm'
>
> I now have the culprit - you have to explicitely specify -mmmx in order
> to be able to use inline mmx assembly.
>
> As this changes the code generation of standard code as well, we cannot
> plainly add -mmmx -msse -msse2 etc. to CFLAGS, but instead we would have
> to add these flags for the according files only (in order to still allow
> for runtime decision).
>
> AFAIK this is something that is lively debated on the gcc mailing lists,
> so there might be a change soon. I don't want to explicitly add
> something right now until this is setteled. Maybe deselecting
> tomsmocomp for gcc 4.0 is not a bad solution right now.

OK, that is what I have done. I don't want to add some new code
right before the release, and there probably aren't all that many
people (hopefully) using gcc4 just yet.

--
<jakemsr@xxxxxxxxxxx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise