Created attachment 229272 [details] devel/libunwind: enable on armv6 With the attached patch, devel/libunwind succesfully builds on armv6 FreeBSD 13. Please apply the patch so the port can be used there. Please MFH if possible.
This is however unsupported by upstream https://github.com/libunwind/libunwind#libunwind ?
(In reply to Daniel Engberg from comment #1) It has been successfully used for months with armv7. So even if it's not officially supported, it does seem to work.
(In reply to Robert Clausecker from comment #2) > It has been successfully used for months with armv7. To be clear, did you use it on armv6?
(In reply to Po-Chuan Hsieh from comment #3) No, only on armv7. But there is actually a port to FreeBSD/armv6 in the upstream code base, see this commit: https://github.com/libunwind/libunwind/commit/fd02fd59e7462f49311d4e0d6547aacf48fe072b
(In reply to Po-Chuan Hsieh from comment #3) Can we move ahead with this patch? It would be great to have it in so I can continue with testing the ports that depend on devel/libunwind on armv6.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=811eadd958852e0974380e7b416b193d64236fea commit 811eadd958852e0974380e7b416b193d64236fea Author: Robert Clausecker <fuz@fuz.su> AuthorDate: 2021-12-21 18:55:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-12-21 18:55:05 +0000 devel/libunwind: Allow build on armv6 PR: 259650 devel/libunwind/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Committed. Thanks!