delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/26/12:50:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cgf-no-personal-reply-please AT cygwin DOT com>
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> <ce2lg4$ilh$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0
In-Reply-To: <ce2lg4$ilh$1@sea.gmane.org>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019