[asterisk-bugs] [JIRA] (DAHTOOL-86) dahdi-tools fails to build against musl due to backtrace() (failure to include execinfo.h)
Jaco Kroon (JIRA)
noreply at issues.asterisk.org
Sat Mar 28 16:05:25 CDT 2020
[ https://issues.asterisk.org/jira/browse/DAHTOOL-86?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jaco Kroon updated DAHTOOL-86:
------------------------------
Attachment: dahdi-tools-3.1.0-cplusplusexternc.patch
__BEGIN_DECLS and __END_DECLS are seemingly glibc specific (musl at least doesn't follow this).
Both patches is required to build successfully with musl.
> dahdi-tools fails to build against musl due to backtrace() (failure to include execinfo.h)
> ------------------------------------------------------------------------------------------
>
> Key: DAHTOOL-86
> URL: https://issues.asterisk.org/jira/browse/DAHTOOL-86
> Project: DAHDI-Tools
> Issue Type: Improvement
> Security Level: None
> Components: General
> Affects Versions: 3.0.0
> Environment: Gentoo Linux with musl libc.
> Reporter: Jaco Kroon
> Assignee: Keith Morgan
> Severity: Minor
> Labels: patch
> Attachments: dahdi-tools-3.1.0-cplusplusexternc.patch, dahdi-tools-3.1.0-execinfo.patch
>
>
> The musl team on Gentoo picked up that dahdi-tools 3.1.0 won't compile against musl. Note I've marked affected version as 3.0.0 due to lack of 3.1.0 on the drop-down.
> The issue is simply that execinfo.h isn't available. I've engaged them regarding possible solutions and will provide a patch soonest possible.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list