Bug 242148 - devel/gdb: Illegal instruction on invocation on a i586 architecture
Summary: devel/gdb: Illegal instruction on invocation on a i586 architecture
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: Luca Pizzamiglio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-21 20:47 UTC by jose1711
Modified: 2019-11-21 22:31 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (pizzamig)


Attachments
gzipped coredump (341.69 KB, application/gzip)
2019-11-21 22:31 UTC, jose1711
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.

12.1-RELEASE-p1
Comment 1 Luca Pizzamiglio freebsd_committer freebsd_triage 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