[asterisk-bugs] [JIRA] (ASTERISK-27641) BuildSystem: Enable Better Backtraces in FreeBSD.

Friendly Automation (JIRA) noreply at issues.asterisk.org
Mon Mar 19 10:04:13 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=242628#comment-242628 ] 

Friendly Automation commented on ASTERISK-27641:
------------------------------------------------

Change 8489 merged by Jenkins2:
BuildSystem: Enable dladdr on non-Linux platforms like FreeBSD.

[https://gerrit.asterisk.org/8489|https://gerrit.asterisk.org/8489]

> BuildSystem: Enable Better Backtraces in FreeBSD.
> -------------------------------------------------
>
>                 Key: ASTERISK-27641
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27641
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: 13.19.0
>         Environment: FreeBSD 11.1
>            Reporter: Alexander Traud
>            Severity: Minor
>              Labels: patch
>         Attachments: FreeBSD_enable_better-backtraces.patch
>
>
> {{./configure}} does not detect the function _dladdr(.)_, because it asks for the shared library _libdl.so_ which is not available on FreeBSD.
> Attached is a fix for those using FreeBSD and do not use the Asterisk port but built Asterisk themselves: {code}fetch --no-verify-peer https://issues.asterisk.org/jira/secure/attachment/57050/FreeBSD_enable_better-backtraces.patch
> patch -p0 <./FreeBSD_enable_better-backtraces.patch
> ./bootstrap.sh
> ./configure{code}It is a specific fix for FreeBSD, which cannot be added to Asterisk in general. The correct approach would be to change {{configure.ac}}, either by adding yet another state or by re-writing that whole part.
> Hopefully someone actually using Better Backtraces, shares his time to do this change here.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list