[MPlayer-dev-eng] mplayer fails to link with newer binutils (decwin)

Soeren Sonnenburg mplayer at nn7.de
Sun Dec 22 02:36:33 CET 2002


On Sat, 2002-12-21 at 17:14, seru wrote:
> El sáb, 21 de dic de 2002, a las 12:54:18 +0100, Soeren Sonnenburg dijo:
> > On Sat, 2002-12-21 at 11:36, seru wrote:
> > > El sáb, 21 de dic de 2002, a las 08:18:33 +0100, Soeren Sonnenburg dijo:
> > > > Hi!
> > > > 
> > > > I investigated this problem a but further and found out, that in older
> > > > binutils ld versions 2.12.90 mplayer does link but produces a number of
> > > > warnings. In newer versions these warnings are taken to be hard errors
> > > > and linking fails as of binutils 2.13.xx .
> > > I have binutils 2.12.1, and I indeed only get some warnings. 
> [...]
> > 
> > This doesn't help at all (I tried it out: make distclean ; ./configure ;
> > make) ... I mean it doesn't fail at anything like a locale... and it
> > works if I comment out the decwin stuff...
> True, can't be the locale, so it must be the code :). Here are the warnings i get, for the record
> I'll CC this to nick.
> 
> make -C mp3lib
> make[1]: Entering directory `/usr/src/MPlayer-CVS/main/mp3lib'
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o sr1.o sr1.c
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o decode_i586.o decode_i586.c
> /tmp/cceyIsPm.s: Assembler messages:
> /tmp/cceyIsPm.s:38: Warning: missing operand; zero assumed
> /tmp/cceyIsPm.s:41: Warning: missing operand; zero assumed
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o decode_MMX.o decode_MMX.c
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o dct64_MMX.o dct64_MMX.c
> /tmp/ccCz4mNs.s: Assembler messages:
> /tmp/ccCz4mNs.s:14: Warning: missing operand; zero assumed
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o tabinit_MMX.o tabinit_MMX.c
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o dct36_3dnow.o dct36_3dnow.s
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o dct64_3dnow.o dct64_3dnow.c
> /tmp/cceZfUEz.s: Assembler messages:
> /tmp/cceZfUEz.s:24: Warning: missing operand; zero assumed
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o dct36_k7.o dct36_k7.s
> gcc -c -Os -march=athlon-tbird -s -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -o dct64_k7.o dct64_k7.c
> /tmp/ccVnj0BE.s: Assembler messages:
> /tmp/ccVnj0BE.s:24: Warning: missing operand; zero assumed
> ar r libMP3.a sr1.o decode_i586.o decode_MMX.o dct64_MMX.o tabinit_MMX.o dct36_3dnow.o dct64_3dnow.o dct36_k7.o dct64_k7.o

The problem is more with linking... 

/usr/bin/ld: mp3lib/libMP3.a(sr1.o)(.text+0x74): unresolvable relocation
against symbol `decwin'
/usr/bin/ld: mp3lib/libMP3.a(sr1.o)(.text+0x82): unresolvable relocation
against symbol `decwin'
/usr/bin/ld: mp3lib/libMP3.a(sr1.o)(.text+0x105): unresolvable
relocation against symbol `decwin'
/usr/bin/ld: mp3lib/libMP3.a(sr1.o)(.text+0x7a6e): unresolvable
relocation against symbol `decwin'
/usr/bin/ld: mp3lib/libMP3.a(decode_i586.o)(.text+0x8d): unresolvable
relocation against symbol `decwin'

Would be nice to see this fixed in the upcoming rc2

S.




More information about the MPlayer-dev-eng mailing list