[XviD-devel] Error linking win32 code with GNU ld 2.14.x
Edouard Gomez
ed.gomez at free.fr
Thu Oct 16 03:35:42 CEST 2003
Hello,
I tried to compile xvid for win32 with more recent tools than debian
ships. So I compiled GNU binutils 2.14 (release or latest CVS) and gcc
3.3.1. But with GNU binutils 2.13, all works fine.
$ i386-mingw32-ld --version
GNU ld version 2.14.90 20031015
or
$ i386-mingw32-ld --version
GNU ld version 2.14
or
$ i386-mingw32-ld --version
GNU ld version 2.14 + mingw patch binutils-2.14.90-20030807-1
Here is the error with this ld version:
/opt/mingw32-cross/lib/gcc-lib/i386-mingw32/3.3.1/../../../../i386-mingw32/bin/ld:
utils/x86_asm/cpuid.obj: bad reloc address 0xa1 in section `.text'
$ i386-mingw32-ld --version
GNU ld version 2.13
No error.
I know this bug exists on cygwin as well. I would like someone to
investigate which tool is the cause. I just suspect ld, but it could be
nasm that generates a faulty pe-i386 object file.
--
Edouard Gomez
More information about the XviD-devel
mailing list