Subject: Re: Status of hppa toolchain
To: None <tech-toolchain@NetBSD.org>
From: Jochen Kunz <jkunz@unixag-kl.fh-kl.de>
List: tech-toolchain
Date: 12/21/2004 12:56:42
On Tue, Dec 21, 2004 at 12:32:41PM +0100, Martin Husemann wrote:

> So what is the status of hppa--netbsd?
There are at least two clases of bugs: The first is triggered by
cross compiling on a 64 bit machine for hppa target. This is the bug
you are refering to. I tried this on sparc64 and Alpha and got this
"internal compiler errors". If you get an error like this while
building with -Ox you can get around it by using -Oy for that
particular file. (Where x != y and x, y = {0, 1, 2, 3})

Then there are bugs in the optimizer. -O0 works, but if you try to use
-O[123] the compiler sometimes generates invalid assembler code or valid
assembler code that the assembler can't understand. Most likely the
former is the case. Some files don't compile with -O1 but -O2 works,
some don't compile with -O2 but -O1 works. Code compiled with -O[123]
can't be trusted, sometimes invalid object code gets generated leading
to odd runtime errors. I think skrll@ can tell you about this.
-- 



tschüß,
         Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/