Port-mips archive

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

netbsd-8 gcc gets Illegal instruction on R3000



I've tried to build an application on NWS-3470D (R3000) running
NetBSD/newsmips 8.0, but gcc gets an illegal instruction error immediately:

---

% uname -mrs
NetBSD 8.0 newsmips
% sysctl -w hw.model
hw.model = news3400
% gcc --version
gcc (nb2 20180327) 5.5.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

% file /usr/libexec/cc1
/usr/libexec/cc1: ELF 32-bit MSB shared object, MIPS, MIPS-I version 1 (SYSV), dynamically linked, interpreter /usr/libexec/ld.elf_so, for NetBSD 8.0, not stripped
% cat > test.c
#include <stdio.h>
int main(){printf("Hello World.\n");}
% cc test.c
cc1: internal compiler error: Illegal instruction
no stack trace because unwind library not available
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
% 

---

Does anyone try gcc on NetBSD/mips 8.0 and R3000 hosts?

I wonder if there are still MIPS1 specific load delay botches
(I guess gxemul doesn't emulate it so that anita can't catch it).

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index