Quantcast
Channel: Armbian news
Viewing all articles
Browse latest Browse all 486

debugging fails with illegal instruction

$
0
0

In the "next" Vanilla version of Armbian for CB1:

 

cubie@cubieboard:~/Apps/test-gdb$ uname -a
Linux cubieboard 4.5.4-sunxi #1 SMP Wed May 11 16:51:05 EDT 2016 armv7l GNU/Linux
cubie@cubieboard:~/Apps/test-gdb$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 8.4 (jessie)
Release: 8.4
Codename: jessie

 

The following option is not set in the kernel configuration:

 

CONFIG_OABI_COMPAT=y

 

When this is commented out, debugging fails with an illegal instruction if you do anything other than run, just about.

 

Possibly a coincidence  is that "less /proc/config.gz" stops working when that option is set --- dunno. Don't have time to elaborate the options right now.

 

See https://github.com/raspberrypi/linux/issues/766for a discussion.

 

Unless other things break with that option, I prefer being able to debug than to have the convenience of just typing "less /proc/config.gz".

 

Chris


Viewing all articles
Browse latest Browse all 486

Trending Articles