delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/14/15:01:56

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: SIGILL 386 (illegal opcode)
Date: 14 May 2003 16:13:27 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 27
Message-ID: <b9tpv7$j93$1@antares.lu.erisoft.se>
References: <b8oqgi$1s2b$1 AT hq DOT mark-itt DOT ru> <3eb08a5a$0$79355$cc7c7865 AT news DOT luth DOT se> <b8qpgj$2tb4$1 AT hq DOT mark-itt DOT ru> <b9gd33$n3c$1 AT antares DOT lu DOT erisoft DOT se> <b9qi83$cgq$1 AT antares DOT lu DOT erisoft DOT se> <b9tirj$q54$1 AT hq DOT mark-itt DOT ru>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alexei K. (kzua AT kzua DOT udm DOT ru) wrote:
: Thanks a lot. As I see it is not problem of DJGPP libstdcxx.
: I found in libstdc++-v3 FAQ the following article:

: "Threading is broken on i386

:    Support for atomic integer operations is/was broken on i386 platforms.
:    The assembly code accidentally used opcodes that are only available on
:    the i486 and later. So if you configured GCC to target, for example,
:    i386-linux, but actually used the programs on an i686, then you would
:    encounter no problems. Only when actually running the code on a i386
:    will the problem appear.

:    This is fixed in 3.2.2."

Well. Yes and no. It's wrong in the header file that should be
used (the one for 386). But that won't help as the header file for 486
is used.

: But really it is not fixed. (may be in 3.2.3?)

(Not yet.)


Right,

						MartinS

- Raw text -


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