Bug 264204 - devel/gdb: Unable to build for aarch64
Summary: devel/gdb: Unable to build for aarch64
Status: Closed DUPLICATE of bug 264095
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Luca Pizzamiglio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-24 14:12 UTC by Naram Qashat
Modified: 2022-05-24 15:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naram Qashat 2022-05-24 14:12:55 UTC
Since the update of devel/gdb to 12.1, I am unable to build it for my Raspberry Pi 4's aarch64 architecture via Poudriere. I am building for FreeBSD 13.0. The build error I get is:

[00:05:20]   CXX    aarch64-fbsd-nat.o
[00:05:21] /wrkdirs/usr/ports/devel/gdb/work/gdb-12.1/gdb/aarch64-fbsd-nat.c:79:31: error: no member named 'debug_regs_probed' in 'aarch64_fbsd_nat_target'
[00:05:21] bool aarch64_fbsd_nat_target::debug_regs_probed;
[00:05:21]      ~~~~~~~~~~~~~~~~~~~~~~~~~^
[00:05:21] 1 error generated.
[00:05:21] gmake[3]: *** [Makefile:1655: aarch64-fbsd-nat.o] Error 1

A full build log can be found here: https://poudriere.cyberbotx.com:8766/data/local_aarch64-default/2022-05-24_09h56m52s/logs/errors/gdb-12.1.log
Comment 1 Luca Pizzamiglio freebsd_committer freebsd_triage 2022-05-24 15:01:34 UTC

*** This bug has been marked as a duplicate of bug 264095 ***