Bug 242148

Summary: devel/gdb: Illegal instruction on invocation on a i586 architecture
Product: Ports & Packages Reporter: jose1711
Component: Individual Port(s)Assignee: Luca Pizzamiglio <pizzamig>
Status: Open ---    
Severity: Affects Only Me CC: jose1711
Priority: --- Flags: bugzilla: maintainer-feedback? (pizzamig)
Version: Latest   
Hardware: i386   
OS: Any   
Description Flags
gzipped coredump none

Description jose1711 2019-11-21 20:47:42 UTC
[1/1] Installing gdb-8.3.1...
[1/1] Extracting gdb-8.3.1: 100%
root@myhost:~ # gdb
Illegal instruction (core dumped)

root@myhost:~ # dmesg | tail -1
pid 26646 (gdb831), jid 0, uid 0: exited on signal 4 (core dumped)

Host is a i586-based system (Vortex86 - https://en.wikipedia.org/wiki/Vortex86) with 512 MB RAM.

Comment 1 Luca Pizzamiglio freebsd_committer 2019-11-21 21:04:38 UTC
My guess, is that ports for i386 are compiled in such a way that the binaries can be incompatible with this module. In particular, I guess is trying to identify the architecture (via some shared code with binutils) and that could trigger the issue.

I see "(core dumped)"! Would be possible to have it?

With the core dump, the chances to find a fix are much greater than without it, because I cannot reproduce the error.
Comment 2 jose1711 2019-11-21 22:31:28 UTC
Created attachment 209331 [details]
gzipped coredump