This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Cygwin crashes using own linker scripts
- To: cygwin at sourceware dot cygnus dot com, binutils at sourceware dot cygnus dot com, Klaus dot Rotter at erl9 dot siemens dot de
- Subject: Cygwin crashes using own linker scripts
- From: Dan Lewis <dan at thelewishouse dot com>
- Date: Mon, 30 Apr 2001 23:47:25 -0700
- Organization: The Lewis House
Hello,
After recently encountering a problem trying to use the "-oformat
binary" command line option of ld (from Cygwin release 2.95.3), I
searched through the email archives and found this article in which
Rotter Klaus had the exact same problem almost two years ago in August
of 1999:
http://sources.redhat.com/ml/cygwin/1999-08/msg00589.html
I found one follow-up posting that really didn't address the problem. I
assume that this is a bug in ld, not in Cygwin. Has anyone come up with
a fix yet? What I'd really like to get are corrected executable versions
of ld for Linux, Cygwin, and MingW32. If anyone can provide these, I'd
really appreciate it.
Best regards,
Dan Lewis
dan@TheLewisHouse.com
Title: Cygwin crashes using own linker scripts
This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Cygwin crashes using own linker scripts
- To: "'cygwin@sourceware.cygnus.com'" <cygwin@sourceware.cygnus.com>
- Subject: Cygwin crashes using own linker scripts
- From: Rotter Klaus <Klaus.Rotter@erl9.siemens.de>
- Date: Tue, 24 Aug 1999 08:37:26 +0200
Hello,
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 ?
-Klaus
--
Klaus Rotter, Siemens AG, ATD TD 6 EPG, Postfach 3249, 91020 Erlangen
Frauenauracherstraße 98, 91056 Erlangen
Tel.: +49 9131 18-84637, Fax: +49 9131 18-84648
mailto:Klaus.Rotter@erl9.siemens.de
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com