This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] Updated: binutils-20040725-1


On Mon, Jul 26, 2004 at 10:13:24AM +0000, Alexander Gottwald wrote:
>Christopher Faylor wrote:
>> I've made a new version of binutils available for installation.
>> This version is a refresh from CVS on sources.redhat.com.
>
>With the new binutils I get these errors when compiling xorg-x11
>
>Bitmap.o(.data+0x298):Bitmap.c: variable '_XtStrings' can't be 
>auto-imported. Please read the documentation for ld's 
>--enable-auto-import for details.
>
>DLL build commandline:
>gcc -shared -Wl,--out-implib=libXt-6.dll.a -Wl,--enable-auto-import,
>--enable-runtime-pseudo-reloc --def Xt.def -Wl,--exclude-libs,ALL 
>-o cygXt-6.dll    ActionHook.o    Alloc.o         ArgList.o  [...]
>ResConfig.o  -L../../exports/lib  -lSM -lICE -lX11
>
>Exe build commandline:
>gcc -o bitmap.exe -O2 -fno-strength-reduce -Wall -Wpointer-arith     
>-L../../exports/lib   BitEdit.o CutPaste.o Graphics.o ReqMach.o Bitmap.o
>Dialog.o Handlers.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 
>-L/usr/X11R6/lib     -Wl,--enable-auto-import
>
>switching back to binutils-20040312-1 solved this. 
>
>I'm using a crosscompiled version of binutils-20040725-1 on linux 
>at home where I did not notice these symptoms.

Apparently I dropped a minor patch to ldmain.c which turns on the
--enable-runtime-pseudo-reloc by default.

Adding -Wl,--enable-runtime-pseudo-reloc to the command line should
fix this problem.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]