Compiling issues on sh4

John Klos <[email protected]> Sun, 26 Jun 2011 07:05:03 +0000 (UTC)
Newsgroups gmane.os.netbsd.ports.sh3
Message-ID <[email protected]>
Hi,

I'm running one of my landisk (Plextor) machines in PIO mode and so far 
the filesystem has not exhibited any issues. But now when compiling 
pkgsrc/lang/perl58, I'm running into problems I've never seen before:

           CCCMD =  cc -DPERL_CORE -c -Os -freorder-blocks -pthread 
-I/usr/include -fno-strict-aliasing -pipe -fstack-protector  -std=c89 -Os 
-freorder-blocks  -pthread  -I/usr/include -Wall -ansi -W -Wextra 
-Wdeclaration-after-statement -Wendif-labels -Wc++-compat
{standard input}: Assembler messages:
{standard input}:19353: Warning: end of file not at end of a line; newline 
inserted
{standard input}:20279: Error: displacement to undefined symbol .L5722 
overflows 12-bit field
{standard input}:20347: Error: displacement to undefined symbol .L5724 
overflows 12-bit field
{standard input}:20372: Error: displacement to undefined symbol .L5725 
overflows 12-bit field
{standard input}:20384: Error: displacement to undefined symbol .L5726 
overflows 12-bit field
{standard input}:20401: Warning: overflow in branch to .L5716; converted 
into longer instruction sequence
{standard input}:20422: Error: displacement to undefined symbol .L5727 
overflows 12-bit field
{standard input}:20483: Error: displacement to undefined symbol .L5728 
overflows 12-bit field
{standard input}:20537: Error: displacement to undefined symbol .L5729 
overflows 8-bit field
{standard input}:20551: Error: displacement to undefined symbol .L5730 
overflows 8-bit field
{standard input}:20580: Error: displacement to defined symbol .L580 
overflows 12-bit field
{standard input}:20237: Error: pcrel too far
{standard input}:20541: Error: pcrel too far
{standard input}:20544: Error: pcrel too far
{standard input}:20552: Error: pcrel too far
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
*** Error code 1


Any ideas or suggestions about how to fix this? The only other machine I 
have which is in the same processor family is an hpcsh machine with 
netbsd-5 compiled from 6-June-2011; the Plextor landisk machine has 
netbsd-5 compiles from 12-June-2011. The hpcsh machine compiled perl just 
fine.

Thanks,
John Klos