[MPlayer-dev-eng] MPlayer linking takes forever on MinGW

Georgi Petrov gogothebee at gmail.com
Mon Nov 29 14:12:40 CET 2010


> What about if you use wildcards, eg *.o *.a or use a response file? Response
> file has a @ prefix, eg @foo and one argument per line and invoked as ld
> @foo. I don't know if your build of ld supports either response files or
> wildcards.
> Dave

Hi Dave,

Yes, I know about the response file syntax and unfortunately ld still
hangs. This "trick" (or something similar) also doesn't work:

cat arguments.txt | xargs gcc -o mplayer.exe

After more investigation, now I'm sure - the number of arguments is
irrelevant. The summarized bytes of object code are. If I remove only
3-4 big .a libraries, ld finishes with error. However, I have to
remove many, many, many small .o files to achieve the same.

This leaves only one conclusion - I have to compile MPlayer with the
least possible code.

Well, I tried. Hard.

./configure --yasm='' --disable-mencoder --disable-largefiles
--disable-iconv --disable-langinfo --disable-tv --disable-smb
--disable-vcd --disable-bluray --disable-dvdnav --disable-dvdread
--disable-cdparanoia --disable-cddb --disable-inet6 --disable-ftp
--disable-ass --disable-win32dll --disable-libvorbis  --disable-speex
--disable-faad-internal --disable-pnm  --disable-gl --disable-vidix
--disable-vidix-pcidb --disable-tremor-internal
--disable-libdvdcss-internal --disable-dvdread-internal
--disable-libmpeg2-internal --disable-yuv4mpeg --disable-md5sum
--disable-tga --disable-decoder=aasc     --disable-decoder=asv1
--disable-decoder=asv2     --disable-decoder=avs
--disable-decoder=bmp     --disable-decoder=cavs
--disable-decoder=cinepak     --disable-decoder=cljr
--disable-decoder=cscd     --disable-decoder=cyuv
--disable-decoder=dca     --disable-decoder=dsicinvideo
--disable-decoder=dvvideo     --disable-decoder=dxa
--disable-decoder=eightbps     --disable-decoder=ffv1
--disable-decoder=ffvhuff     --disable-decoder=flashsv
--disable-decoder=flic         --disable-decoder=fourxm
--disable-decoder=fraps     --disable-decoder=gif
--disable-decoder=h261     --disable-decoder=h263
--disable-decoder=h263i     --disable-decoder=h263p
--disable-decoder=h264     --disable-decoder=huffyuv
--disable-decoder=idcin     --disable-decoder=indeo2
--disable-decoder=indeo3     --disable-decoder=interplay_video
--disable-decoder=jpegls     --disable-decoder=kmvc
--disable-decoder=ljpeg     --disable-decoder=loco
--disable-decoder=mdec     --disable-decoder=mjpeg
--disable-decoder=mjpegb     --disable-decoder=mmvideo
--disable-decoder=mpeg_xvmc     --disable-decoder=mpeg1video
--disable-decoder=mpeg2video     --disable-decoder=mpeg4
--disable-decoder=mpegvideo     --disable-decoder=msmpeg4v1
--disable-decoder=msmpeg4v2     --disable-decoder=msmpeg4v3
--disable-decoder=msrle     --disable-decoder=msvideo1
--disable-decoder=mszh     --disable-decoder=nuv
--disable-decoder=pam     --disable-decoder=pbm
--disable-decoder=pgm     --disable-decoder=pgmyuv
--disable-decoder=png     --disable-decoder=ppm
--disable-decoder=qdraw     --disable-decoder=qpeg
--disable-decoder=qtrle     --disable-decoder=rawvideo
--disable-decoder=roq     --disable-decoder=rpza
--disable-decoder=rv10     --disable-decoder=rv20
--disable-decoder=smacker     --disable-decoder=smc
--disable-decoder=snow     --disable-decoder=sp5x
--disable-decoder=svq1     --disable-decoder=svq3
--disable-decoder=targa     --disable-decoder=theora
--disable-decoder=tiertexseqvideo     --disable-decoder=tiff
--disable-decoder=truemotion1     --disable-decoder=truemotion2
--disable-decoder=tscc     --disable-decoder=ulti
--disable-decoder=vc1     --disable-decoder=vcr1
--disable-decoder=vmdvideo     --disable-decoder=vmnc
--disable-decoder=vp3     --disable-decoder=vp5
--disable-decoder=vp6     --disable-decoder=vp6f
--disable-decoder=vqa     --disable-decoder=wmv1
--disable-decoder=wmv2     --disable-decoder=wmv3
--disable-decoder=wnv1     --disable-decoder=x264
--disable-decoder=xan_wc3     --disable-decoder=xl
--disable-decoder=xvid     --disable-decoder=zlib
--disable-decoder=zmbv     --disable-decoder=dvbsub
--disable-decoder=dvdsub     --disable-decoder=pcm_alaw
--disable-decoder=pcm_mulaw     --disable-decoder=pcm_s8
--disable-decoder=pcm_s16be     --disable-decoder=pcm_s16le
--disable-decoder=pcm_s24be     --disable-decoder=pcm_s24daud
--disable-decoder=pcm_s24le     --disable-decoder=pcm_s32be
--disable-decoder=pcm_s32le     --disable-decoder=pcm_u8
--disable-decoder=pcm_u16be     --disable-decoder=pcm_u16le
--disable-decoder=pcm_u24be     --disable-decoder=pcm_u24le
--disable-decoder=pcm_u32be     --disable-decoder=pcm_u32le
--disable-decoder=interplay_dpcm     --disable-decoder=roq_dpcm
--disable-decoder=sol_dpcm     --disable-decoder=xan_dpcm
--disable-decoder=adpcm_4xm     --disable-decoder=adpcm_adx
--disable-decoder=adpcm_ct     --disable-decoder=adpcm_ea
--disable-decoder=adpcm_g726     --disable-decoder=adpcm_ima_dk3
--disable-decoder=adpcm_ima_dk4     --disable-decoder=adpcm_ima_qt
--disable-decoder=adpcm_ima_smjpeg     --disable-decoder=adpcm_ima_wav
    --disable-decoder=adpcm_ima_ws     --disable-decoder=adpcm_ms
--disable-decoder=adpcm_sbpro_2     --disable-decoder=adpcm_sbpro
--disable-encoder=vorbis --disable-encoder=snow
--disable-demuxer=lavf --disable-demuxer=mov

It didn't work.


More information about the MPlayer-dev-eng mailing list