Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#13021 closed defect (fixed)

mplayer won't build on Mac OS X 10.5 Leopard

Reported by: fauconnier.steven@… Owned by: ecronin (Eric Cronin)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: mplayer leopard build Cc: fauconnier.steven@…, ecronin (Eric Cronin), hippoman@…, sylvain.maucourt@…, dsh@…
Port:

Description

Got the following error when doing a sudo port install mplayer on Leopard:

--->  Fetching MPlayer
--->  Attempting to fetch asmrules_fix_20061231.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch cddb_fix_20070605.diff from http://www.mplayerhq.hu/MPlayer/patches/
--->  Attempting to fetch MPlayer-1.0rc1.tar.bz2 from ftp://ftp1.mplayerhq.hu/MPlayer/releases/
--->  Verifying checksum(s) for MPlayer
--->  Extracting MPlayer
--->  Applying patches to MPlayer
--->  Configuring MPlayer
--->  Building MPlayer with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_MPlayer/work/MPlayer-1.0rc1" && make all " returned error 2
Command output: parser.c:770: warning: assignment discards qualifiers from pointer target type
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o vp3dsp.o vp3dsp.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o h264idct.o h264idct.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o rangecoder.o rangecoder.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o pnm.o pnm.c
pnm.c: In function 'pnm_encode_frame':
pnm.c:309: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:310: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c:313: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:314: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
pnm.c: In function 'pam_encode_frame':
pnm.c:395: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness
pnm.c:396: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o h263.o h263.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o msmpeg4.o msmpeg4.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o h263dec.o h263dec.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o opt.o opt.c
opt.c: In function 'opt_list':
opt.c:324: warning: passing argument 3 of 'opt_list' discards qualifiers from pointer target type
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o bitstream_filter.o bitstream_filter.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o audioconvert.o audioconvert.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o imgresample.o imgresample.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o i386/fdct_mmx.o i386/fdct_mmx.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o i386/cputest.o i386/cputest.c
cc -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include -I.  -I./libavutil -I./libavcodec   -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement -fno-PIC -O4 -march=pentium-m -mtune=pentium-m -pipe -ffast-math -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16 -DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -arch i386  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/opt/local/include/lzo -I/opt/local/include -I/usr/X11/include  -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
i386/h264dsp_mmx.c: In function 'h264_h_loop_filter_luma_mmx2':
i386/dsputil_mmx.c:634: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c:634: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
make[1]: *** [i386/dsputil_mmx.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

Error: Status 1 encountered during processing.

Attachments (1)

macports-mplayer-mmx.diff (1.9 KB) - added by qhwt macports@… 17 years ago.

Download all attachments as: .zip

Change History (21)

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: fauconnier.steven@… ecronin@… added; openmaintainerecronin@… removed
Milestone: Port Bugs
Owner: changed from macports-dev@… to ecronin@…
Summary: mplayer won't build on Leopardmplayer won't build on Mac OS X 10.5 Leopard

comment:2 Changed 17 years ago by heathkit@…

configuring with --disable-mmx and --disable-sse seems to help (when building in leopard on a core 2 duo mbp). libdemux seems to require lzop.

After installing lzop, I was able to build with "./configure --disable-mmx --disable-sse --disable-x11 --disable-xinerama"

comment:3 Changed 17 years ago by ecronin (Eric Cronin)

I believe this issue is X86-only due to changes in the assembler. Disabling all assembly code as heathkit says is a bandaid until upstream gets fixed or a general workaround is found.

I am in the middle of a time-sensitive project and will not be able to work on MacPorts until Dec 7 at the earliest. Please update the port as necessary to get things building again.

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: hippoman@… added

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: sylvain.maucourt@… added

comment:6 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #13164.

comment:7 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dsh@… added

Changed 17 years ago by qhwt macports@…

Attachment: macports-mplayer-mmx.diff added

comment:8 Changed 17 years ago by qhwt macports@…

a change to transpose4x4() for intel compiler http://lists-archives.org/mplayer-dev-eng/14875-compiling-with-intel-c.html

also seems to fix my build problem (patch attached).

Cheers.

comment:9 Changed 17 years ago by zioproto@…

It does compile on Leopard 10.5.1 with a PPC G4 Processor (Mac Mini)

It does NOT compile on Leopard 10.5.1 with Intel Core Duo Processor (MacBook)

Please give me instructions on how to report a more significative build log.

Saverio Proto

comment:10 Changed 17 years ago by ecronin (Eric Cronin)

Please try the update in #13551 and see if you still have problems. I have built 1.0rc2 on both intel and ppc 10.5.1 machines successfully.

comment:11 Changed 17 years ago by blake@…

I have tried the patch from #13551 and can confirm that it seems to work on 10.5.1 intel.

comment:12 Changed 17 years ago by joumon@…

Can somebody explain how to apply the patch #13551? I downloaded the attachment, but it was HTML file. I actually don't know how to apply the HTML patch. Any tip would be greatly appreciated in advance.

comment:13 in reply to:  12 Changed 17 years ago by boeyms@…

Replying to joumon@cs.unm.edu:

Can somebody explain how to apply the patch #13551? I downloaded the attachment, but it was HTML file.

What you actually need to do is to visit the webpage for the patch (attachment:ticket:13551:Mplayer.patch) and then save from the "Download in other formats: Original format" link at the bottom, as that is the one that will give you the patch file as it was uploaded. (For convenience in this case, I also provide the direct link.)

comment:14 Changed 17 years ago by ecronin (Eric Cronin)

This bug can be closed as soon as the patch in #13551 is applied, 1.0rc2 fixes the various errors reported here.

comment:15 Changed 17 years ago by ecronin (Eric Cronin)

Cc: ecronin@… added; ecronin@… removed
Resolution: fixed
Status: newclosed

MPlayer port is now bumped to 1.0rc2, any Leopard errors that still occur should open a new ticket.

comment:16 Changed 17 years ago by yves@…

Resolution: fixed
Status: closedreopened
Version: 1.5.01.6.0

I am failing with rc2

I have this new MacPro (which I'm quite proud of BTW ...) which probably has other MMX changes

I have to use the included mmx patch but the build fails shortly after with

ccache /usr/bin/gcc-4.0 -I../libswscale -I../libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE 
-I.. -I.. -I../libavutil -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil -pipe -mdynamic-no-pic 
-falign-loops=16 -DSYS_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H 
-I/opt/local/include/lzo -I/opt/local/include -I/usr/local/include -I/usr/X11/include -I/opt/local/include/SDL  -D_THREAD_SAFE 
-I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include  -c -o i386/dsputil_mmx.o i386/dsputil_mmx.c
In file included from i386/dsputil_mmx.c:2868:
i386/h264dsp_mmx.c: In function 'h264_loop_filter_strength_mmx2':
i386/h264dsp_mmx.c:574: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm'
i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
i386/dsputil_mmx.c:3776: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3778: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3784: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3786: warning: assignment from incompatible pointer type
make[1]: *** [i386/dsputil_mmx.o] Error 1
make: *** [libavcodec/libavcodec.a] Error 2

comment:17 Changed 17 years ago by ecronin (Eric Cronin)

I'm pretty sure the problem is that you're using -pipe, but ccache might also be throwing a wrench in it. Could you try without these?

Once the knob to disable -pipe from the Portfile makes it out of HEAD I plan to disable it automatically.

comment:18 Changed 17 years ago by yves@…

Resolution: fixed
Status: reopenedclosed

Indeed

It works without these

thanks

comment:19 Changed 16 years ago by raimue (Rainer Müller)

Disabled configure.pipe for MPlayer in r44186.

comment:20 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.