On Fri, Apr 20, 2001 at 05:03:40PM -0400, Jeff Sutherland wrote:
> When cross-compiling the net-tools-1.60 for arm-linux the compiler
> stumbles in netstat.c with the following error:
>
> arm-linux-gcc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/
> -Ilib -march=armv4 -mtune=strongarm1100 -s -c -o netstat.o netstat.c
> netstat.c: In function `prg_cache_load':
> netstat.c:436: internal error--unrecognizable insn:
> (insn 806 803 57 (set (reg:QI 2 r2)
> (mem:QI (plus:SI (reg:SI 2 r2)
> (const_int -612 [0xfffffd9c])) 0)) -1 (nil)
> (nil))
> make: *** [netstat.o] Error 1
>
> I ran into the same problem trying to build net-tools-1.57 with the
> toolchain listed above. 1.57 builds fine with
> binutils-2.10.1/gcc-2.95.2/glibc-2.1.3. I hacked all around in
> 'prg_cache_load' trying various things. Commenting out most of the
> function allows the build to complete, but I haven't been able to nail
> down a specific line of the code that trips up the compiler. I
> commented out all the way down to the big 'while' block before I got the
> error, but then was forced to retreat upwards when I started enabling
> code at the bottom of the while block.
Try compiling that particular file by hand with -O1 or without any -O
option at all. It sometimes solves the problem.
> Some insight into the nature of the compiler error would be appreciated.
Yeah, I'm also curious what this error message means and how it is
triggered.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: [EMAIL PROTECTED]
WWW: http://www-ict.its.tudelft.nl/~erik/
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.