NetBSD-Bugs archive

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

toolchain/55666: illegal instructions on armv5 after gcc switch



>Number:         55666
>Category:       toolchain
>Synopsis:       illegal instructions on armv5 after gcc switch
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    toolchain-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 17 06:20:00 +0000 2020
>Originator:     Martin Husemann
>Release:        NetBSD 9.99.72
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD unpluged.duskware.de 9.99.72 NetBSD 9.99.72 (UNPLUGED) #340: Wed Sep 16 13:35:07 CEST 2020 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/evbarm/compile/UNPLUGED evbarm
Architecture: earmv5
Machine: evbarm
>Description:

Not really sure if actually the compiler switch is to blame - the machine was
off for ~1 week as it had a broken fan.

Unfortunately gdb is not helpful and core dumps seem to be bad (or something).

# makemandb -Q
Illegal instruction (core dumped)
# gdb makemandb makemandb.core
[..]
Reading symbols from makemandb...
Reading symbols from /usr/libdata/debug//usr/sbin/makemandb.debug...
[New process 577]
Core was generated by `makemandb'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0xbb766ae4 in ?? ()
(gdb) info reg
r0             0x7b2               1970
r1             0xbfffe6f4          3221219060
r2             0x0                 0
r3             0x0                 0
r4             0xbb9c9da0          3147603360
r5             0xbb9b0290          3147498128
r6             0xbfffe6f4          3221219060
r7             0xbb9aa75c          3147474780
r8             0xbfffe764          3221219172
r9             0xbbd95208          3151581704
r10            0xbb9c9e60          3147603552
r11            0x0                 0   
r12            0xbb766ae0          3145100000
sp             0xbfffe6e0          0xbfffe6e0
lr             0xbb82eba8          3145919400
pc             0xbb766ae4          0xbb766ae4
cpsr           0x60000010          1610612752
(gdb) x/i 0xbb766ae4
=> 0xbb766ae4:  Cannot access memory at address 0xbb766ae4
(gdb) bt
#0  0xbb766ae4 in ?? ()
#1  0xbb82eba8 in ?? ()
# gdb makemandb
GNU gdb (GDB) 8.3
[..]
Type "apropos word" to search for commands related to "word"...
Reading symbols from makemandb...
Reading symbols from /usr/libdata/debug//usr/sbin/makemandb.debug...
(gdb) run -Q
Starting program: /usr/sbin/makemandb -Q
[ 393.9858161] sorry, pid 1818 was killed: orphaned traced process
Illegal instruction (core dumped)
[..]
Reading symbols from gdb...
Reading symbols from /usr/libdata/debug//usr/bin/gdb.debug...
[New process 895]
Cannot access memory at address 0xfe800f54
Cannot access memory at address 0xfe800f50
Core was generated by `gdb'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0xbb8e6ae4 in ?? ()


>How-To-Repeat:
s/a

>Fix:
n/a



Home | Main Index | Thread Index | Old Index