From: "Chris January" <chris@atomice.net>
To: <cygwin@cygwin.com>
Subject: RE: Problems compiling trivial C program.
Date: Sun, 09 Feb 2003 22:46:00 -0000 [thread overview]
Message-ID: <LPEHIHGCJOAIPFLADJAHOEMEDEAA.chris@atomice.net> (raw)
In-Reply-To: <20030207151106.GC5098@redhat.com>
> >I'm having trouble compiling this test program:
> >
> >void f(){}
> >
> >using the command line:
> >gcc test.c -c -o test.o
> >
> >using 1.3.19 or latest Cygwin snapshot (2003-Feb-07) (same error with
> >both) and gcc-3.2-3.
> >
> >The error I see is:
> >
> >16 bit MS-DOS Subsystem
> >/usr/src/cygwin-cvs/obj
> >The NTVDM CPU has encountered an illegal instruction.
> >CS:0000 IP:0077 OP:f0 37 05 0e 02 Choose 'Close' to terminate the
> >application.
> >Close | Ignore
> >
> >AFAICT the command that is failing is:
> >/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bi
> n/as.exe,
> >P:\ccj00\cygwin\usr\i686-pc-cygwin\bin\as.exe --traditional-format -o
> >test.o /cygdrive/c/DOCUME~1/ccj00/LOCALS~1/Temp/cc50BUPU.s
> >See the following strace portion:
> >39542 4773296 [main] gcc 1428 spawn_guts: 1428 = spawn_guts
> >(/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/b
> in/as.exe,
>
> ^^^^^^
>
> Sounds like a corrupted symlink.
Apologies if mails on this are sporadic, but I can only test this at
college. Would reinstalling gcc solve the corrupted symlink problem as I
have already tried that and I still get the same error. A process is
actually being spawned (the as.exe process) so it doesn't sound like the
symlinks are corrupted.
Do you (Chris) or anyone else have any good tips I can use to debug this? I
can't compile the Cygwin DLL on the college machines (because of this
problem) so I can't build a debug version. Also the processes that are
crashing don't seem to reach the Cygwin DLL initialisation stage anyway. I
can supply any further information you need to debug this, but I need to
know what would be helpful.
Chris
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2003-02-09 22:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-07 13:33 Christopher January
2003-02-07 14:12 ` Max Bowsher
2003-02-07 15:10 ` Christopher Faylor
2003-02-09 22:46 ` Chris January [this message]
2003-02-09 23:36 ` Christopher Faylor
2003-02-10 17:47 ` Brian Keener
2003-02-10 17:56 ` Max Bowsher
2003-02-10 22:15 ` Brian Keener
2003-02-10 22:36 ` Igor Pechtchanski
2003-02-10 15:11 ` Dario Alcocer
2003-02-07 15:06 Keen Wayne A Contr AFRL/MNGG
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=LPEHIHGCJOAIPFLADJAHOEMEDEAA.chris@atomice.net \
--to=chris@atomice.net \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).