Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#336 closed defect (fixed)

CVS can't compile on AMD 64 cpu + GCC 4.0

Reported by: stranche@… Owned by: alex@…
Priority: normal Component: vo
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

Tryed to compile today CVS on my Opteron (k8) system with GCC4.0

make -C postproc
make[1]: Entering directory `/home/stranche/test/main/postproc'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=k8 -mtune=k8
-pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -std=gnu99 -I. -I.. -I.. -o swscale.o swscale.c
In file included from swscale.c:807:
swscale_template.c: In function 'hyscale_MMX2':
swscale_template.c:2258: warning: pointer targets in passing argument 1 of
'hScale_MMX2' differ in signedness
swscale_template.c: In function 'hcscale_MMX2':
swscale_template.c:2442: warning: pointer targets in passing argument 1 of
'hScale_MMX2' differ in signedness
swscale_template.c:2443: warning: pointer targets in passing argument 1 of
'hScale_MMX2' differ in signedness
swscale_template.c:2517: error: memory input 2 is not directly addressable
swscale_template.c: In function 'swScale_MMX2':
swscale_template.c:2709: warning: pointer targets in passing argument 1 of
'hyscale_MMX2' differ in signedness
swscale_template.c:2726: warning: pointer targets in passing argument 1 of
'hcscale_MMX2' differ in signedness
swscale_template.c:2751: warning: pointer targets in passing argument 1 of
'hyscale_MMX2' differ in signedness
swscale_template.c:2767: warning: pointer targets in passing argument 1 of
'hcscale_MMX2' differ in signedness
swscale_template.c:2790: warning: cast from pointer to integer of different size
swscale_template.c:2797: warning: cast from pointer to integer of different size
swscale_template.c:2837: warning: pointer targets in passing argument 2 of
'yuv2packed1_MMX2' differ in signedness
swscale_template.c:2837: warning: pointer targets in passing argument 3 of
'yuv2packed1_MMX2' differ in signedness
swscale_template.c:2837: warning: pointer targets in passing argument 4 of
'yuv2packed1_MMX2' differ in signedness
swscale_template.c:2844: warning: pointer targets in passing argument 2 of
'yuv2packed2_MMX2' differ in signedness
swscale_template.c:2844: warning: pointer targets in passing argument 3 of
'yuv2packed2_MMX2' differ in signedness
swscale_template.c:2844: warning: pointer targets in passing argument 4 of
'yuv2packed2_MMX2' differ in signedness
swscale_template.c:2844: warning: pointer targets in passing argument 5 of
'yuv2packed2_MMX2' differ in signedness
swscale.c: In function 'sws_getContext':
swscale.c:2136: warning: pointer targets in assignment differ in signedness
swscale.c:2138: warning: pointer targets in assignment differ in signedness
make[1]: * [swscale.o] Error 1
make[1]: Leaving directory `/home/stranche/test/main/postproc'
make:
* [postproc/libswscale.a] Erreur 2

I don't know since when it doesn't work, my last succesfull CVS build attempt is

june 24th.

Change History (3)

comment:1 by reimar, 19 years ago

Known, the fix we used before broke compilation with gcc 3.3 (and it looks a lot
like a gcc bug), thus it was reverted.
And #idef solution will probably be applied soon even though it is ugly.

comment:2 by reimar, 19 years ago

Resolution: fixed
Status: newclosed

Should work again with latest CVS

comment:3 by stranche@…, 19 years ago

confirmed, today CVS compiles OK

Note: See TracTickets for help on using tickets.