www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/18/10:10:51

Message-Id: <m0zK1Ew-000S4fC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: rylan AT inbtekom DOT co DOT za, djgpp AT delorie DOT com
Date: Fri, 18 Sep 1998 11:13:37 +0000
MIME-Version: 1.0
Subject: Re: -O3 and -O2 breaks my NASM code
In-reply-to: <6ttip0$ng8$1@news2.saix.net>

"Rylan" <rylan AT intekom DOT co DOT za> wrote:

> I've ran into a situation where attempting to use -O3 and even -O2 with ANY
> code that calls NASM compiled functions (in their own, seperate .O) compiles
> fine but crashes the moment the NASM code is reached. This happens without a
> stack trace, nothing - the whole program just stops. Unoptimized compiles of
> the same code runs 100%.
> 
> Any ideas why, and how I can get NASM code to coexist with optimised DJGPP
> code?

Narrow it to the smallest possible program (main calling a simple assembler 
routine for example), then if it crash disassemble it with objdump and look 
what a hell is wrong. Post the assembler if you can't figure out (cut the 
unneeded stuff! just the main and the NASM routine).

SET 
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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