[parisc-linux] spinlock align code triggering bug in gcc?
John David Anglin
dave at hiauly1.hia.nrc.ca
Sun Mar 28 15:48:36 MST 2004
> I'm not yet 100% sure about this one, but it seems like with the new
> self-aligning spinlock code in the kernel, if you build the kernel with
> hppa64-linux-gcc 3.3.3, the kernel generates incorrectly aligned code
> when you bulid with -O2. You see something like this...
>
> legolas[11:47] linux-2.6% make drivers/block/loop.o
> CC drivers/block/loop.o
> {standard input}: Assembler messages:
> {standard input}:3701: Error: Field not properly aligned [8] (-183).
> {standard input}:3701: Error: Invalid operands
Take a look at the assembler output for the above line.
Dave
--
J. David Anglin dave.anglin at nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)
More information about the parisc-linux
mailing list