Port-pmax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-8 gcc gets Illegal instruction on R3000

I wrote:

> I've tried to build an application on NWS-3470D (R3000) running
> NetBSD/newsmips 8.0, but gcc gets an illegal instruction error immediately:
> % cc test.c
> cc1: internal compiler error: Illegal instruction

It turns out that /usr/libexec/cc1 binary on my NWS-3470D
(installed via sysinst) is somewhat broken:

% ls -l /usr/libexec/cc1 /usr/libexec/cc1.orig
-r-xr-xr-x  1 root  wheel  19382412 Jul 17 23:59 /usr/libexec/cc1*
-r-xr-xr-x  1 root  wheel  19382412 Jul 17 23:59 /usr/libexec/cc1.orig*
% md5 /usr/libexec/cc1 /usr/libexec/cc1.orig
MD5 (/usr/libexec/cc1) = 47e06de4b15033e8e10b0ff878c67c94
MD5 (/usr/libexec/cc1.orig) = 275f55654dcb49f56df1735b264ed311


Re-extracting cc1 binary from NetBSD/newsmips 8.0 comp.tgz
resolve the issue.

It looks there are still random segfaults on building
applications, but I'll check how often it happens.


Izumi Tsutsui

Home | Main Index | Thread Index | Old Index