www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/24/12:27:20

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 24 Aug 1999 12:27:31 -0400
To: Rotter Klaus <Klaus DOT Rotter AT erl9 DOT siemens DOT de>
Cc: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Cygwin crashes using own linker scripts
Message-ID: <19990824122731.B850@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Rotter Klaus <Klaus DOT Rotter AT erl9 DOT siemens DOT de>,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
References: <1B6FF887D79FD2119FDB00805FBED48B01C129B1 AT erlm511a DOT erl9 DOT siemens DOT de>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <1B6FF887D79FD2119FDB00805FBED48B01C129B1@erlm511a.erl9.siemens.de>; from Rotter Klaus on Tue, Aug 24, 1999 at 08:37:26AM +0200

If the linker is crashing, it's undoubtedly a bug.

You might try sending a detailed problem report to the EGCS mailing
list.

-chris

On Tue, Aug 24, 1999 at 08:37:26AM +0200, Rotter Klaus wrote:
>I have discovered a problem with cygwin. I use cygwin for embedded developmend.
>The standard out-of-the-box cygwin seems to have a problem with linker scripts (and/or absolute linking). If I do the following (or use an absoulte linker script), cygwin crashes:
>
>10:15:13://h/c-src> ld -oformat binary -Tbss 0x1000 -Tdata 0x2000 -Ttext 0x3000 test2.o -o test2.abs
>[main] D:\users\rku65670\cygnus\CYGWIN~1\H-I586~1\bin\ld.exe 9008 (0) handle_exc
>eptions: Exception: STATUS_ACCESS_VIOLATION
>[main] ld 9008 (0) handle_exceptions: Dumping stack trace to ld.exe.core
>
>ld --help says:
>
>[...]
>ld: supported targets: pe-i386 pei-i386 srec symbolsrec tekhex binary ihex
>ld: supported emulations: i386pe
>ld: emulation specific options:
>[...]
>
>I have recompiled cygwins B20 ld and also gcc 2.95 ld (just ./configure). The result 
>is the same: crash.
>
>Then I recompiled gcc 2.95 ld with "./configure --target=i386-linux-coff" and now it works.
>
>ls-new --help says:
>[...]
>ld-new: supported targets: coff-i386 srec symbolsrec tekhex binary ihex
>ld-new: supported emulations: i386coff
>[...]
>
>So, is there a bug or do I have missed something ?

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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