Subject: Re: Optimisations break software?
To: John Klos <jklos@netbsd.org>
From: paul beard <paulbeard@mac.com>
List: port-macppc
Date: 04/03/2002 10:38:48
I diccovered this when I was trying to debug the SANE toolkit on 
my PPC box. Optimized binaries returned incorrect values from scsi 
inquiry calls.

John Klos wrote:

<snip>

> The packages have all compiled and run just fine, but when I supped
> release-1-5 and did a make build, the system was killed because some of
> the shared libraries were mangled. When I replaced the new shared
> libraries with originals from 1.5.2 in single user mode, the system
> returned to normal.
> 
> Then I did a make build without COPTS+=-O3, and the system is fine.
> 
> Is the toolchain broken in this regard?
> 
> John Klos
> Sixgirls Computing Labs
> 
> 


-- 
Paul Beard
8040 27th Ave NE
Seattle WA 98115
206 529 8400

Peter's Law of Substitution:
	Look after the molehills, and the mountains will look after
themselves.