Subject: Re: Testers needed for GCC patch
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: port-powerpc
Date: 03/07/2000 16:16:54
On Mon, Mar 06, 2000 at 10:52:26PM -0800, Jason Thorpe wrote:
> Hi folks...
>
> I've backported David's changes to fix unaligned accesses for certain
> access modes on the PowerPC port to the EGCS we have in the NetBSD source
> tree. But I can't easily test it.
>
> Could someone apply the following patch to their -current source tree,
> rebuild the compiler, and then rebuild any problem apps that were causing
> the unaligned accesses?
>
> Let me know how it goes; I'd like to have this in the tree for 1.5.
Well, not too well -- lots of:
In file included from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/rs6000/netbsd.h:2,
from /home/src/gnu/usr.bin/egcs/common/../arch/powerpc/tm.h:3,
from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/rs6000/xm-rs6000.h:38,
from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/rs6000/xm-netbsd.h:1,
from /home/src/gnu/usr.bin/egcs/common/../arch/powerpc/tconfig.h:3,
from /home/src/gnu/usr.bin/egcs/common/../arch/config.h:4,
from /home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/alias.c:22:
/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/rs6000/sysv4.h:409: warning: `SLOW_UNALIGNED_ACCESS' redefined
/home/src/gnu/usr.bin/egcs/common/../../../dist/gcc/config/rs6000/rs6000.h:646: warning: this is the location of the previous definition
It does a lot of these, but then -Werror kicks in and aborts the compilation.
- Erik