Summary: | usr.bin/addr2line: build fail without capsicum | ||
---|---|---|---|
Product: | Base System | Reporter: | Ivan Rozhuk <rozhuk.im> |
Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | Closed FIXED | ||
Severity: | Affects Some People | CC: | emaste, imp, jonathan, markj, oshogbo, rozhuk.im |
Priority: | --- | ||
Version: | 12.1-STABLE | ||
Hardware: | Any | ||
OS: | Any | ||
URL: | https://reviews.freebsd.org/D21104 |
Description
Ivan Rozhuk
2020-02-21 01:58:51 UTC
A commit references this bug: Author: markj Date: Fri Feb 21 14:40:08 UTC 2020 New revision: 358221 URL: https://svnweb.freebsd.org/changeset/base/358221 Log: Revert r350515 for now. It seems to cause build failures when Capsicum support is disabled in src.conf. PR: 244258 Reported by: rozhuk.im@gmail.com, Giacomo Olgeni <olgeni@olgeni.com> Changes: _U stable/12/ stable/12/contrib/elftoolchain/addr2line/addr2line.c I reverted the change for now. I'm not sure exactly what is causing it, but I suspect it is related to PR 242971. In particular, even if you have set WITHOUT_CASPER, we should be installing libcasper.h to /usr/include. If you run make delete-old, libcasper.h may have been removed due to this bug. Thanks, fixed. There is other system tools that casper capable, they have #ifdef for this, as I remember. (In reply to rozhuk.im from comment #3) addr2line doesn't use casper, just capsicum, and we had no such problem in HEAD. We do not use ifdefs for include capsicum_helpers.h. Again, I suspect the failure is caused by the fact that you do not have capsicum_helpers.h installed, due to a bug that is now fixed on stable/12. |