delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/09/09/10:20:14

From: pavenis AT lanet DOT lv
Message-ID: <B0000100998@stargate.astr.lu.lv>
To: dj AT delorie DOT com
Date: Thu, 9 Sep 1999 16:50:27 +0300
MIME-Version: 1.0
Subject: gcc-2.95
CC: djgpp-workers AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v3.12a)
Reply-To: djgpp-workers AT delorie DOT com

Hi!

Sorry to say, but we should not mirror out binaries of port of gcc-
2.95.1. I must rebuild them for target i386-pc-msdosdjgpp

The problem was that we have found  very rare problem when 
compiler with options -march=pentium -mcpu=pentium generates code 
which doesn't run on i386. It seems to be very rare as it took half a 
year to found it (my own software written in C++ is being used on 386 
and never crashed due to similar things) as the same problem was with 
port of egcs-1.1.2

Andris

------------------  assembler code generated by gcc-2.95
	leal -16(%ecx),%ebx
	movl $-1,%eax
	leal 8(%ebx),%edx
/APP
	.byte 0xf0, 0x0f, 0xc1, 0x02
/NO_APP
	cmpl $1,%eax
	jne L712
-------------------------  what I'm getting from objdump  -----------------------
 4f7:	b8 ff ff ff ff 	movl   $0xffffffff,%eax
 4fc:	8d 53 08       	leal   0x8(%ebx),%edx
 4ff:	f0 0f c1 02    	lock xaddl %eax,(%edx)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                       This command is valid for i486++
 503:	83 f8 01       	cmpl   $0x1,%eax
 506:	75 34          	jne    53c 
<_replace__t12basic_string3ZcZt18string_char_traits1ZcZt24__defaul
t_alloc_template2b0i0UlUlPCcUl+0x1e4>

- Raw text -


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