Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 26 Jul 2004 12:49:25 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: binutils-20040725-1 Message-ID: <20040726164925.GB1283@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <200407250525 DOT i6P5PFR00937 AT esds DOT vss DOT fsi DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i 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/