[parisc-linux] Current Debian still broken?

John David Anglin dave@hiauly1.hia.nrc.ca
Sat, 10 Nov 2001 17:56:08 -0500 (EST)


> when trying to compile the new 2.2.14 based parisc tree, i get the
> following error:
> 
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
> -D__linux__ -pipe -fno-strength-reduce -mno-space-regs
> -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=1.1
> -mschedule=7100    -c -o sd.o sd.c
> {standard input}: Assembler messages:
> {standard input}:583: Error: Invalid operands
> {standard input}:607: Error: Invalid operands
> make[3]: *** [sd.o] Error 1

Don't know if this is the fix but it fixed an invalid operand error in
the gcc mainline code:

2001-10-31  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* pa.c (output_move_double): Fix typo in double load.

--- pa.c.save	Wed Oct 31 11:24:25 2001
+++ pa.c	Wed Oct 31 12:47:53 2001
@@ -1979,7 +1979,7 @@
 		 save a register file writeback)  */
 	      if (GET_CODE (addr) == POST_INC)
 		return "{ldws|ldw},ma 8(%1),%0\n\tldw -4(%1),%R0";
-	      return "{ldws|ldw},ma -8(%1),%0\n\tldw 12(%1),%R0}";
+	      return "{ldws|ldw},ma -8(%1),%0\n\tldw 12(%1),%R0";
 	    }
 	  else
 	    {

If that isn't it, dump the assembler output with '-S' and look at the
lines causing the error.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)