[asterisk-bugs] [JIRA] (ASTERISK-29577) Scope Tracing: illegal storage on function

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Sat Aug 14 14:36:33 CDT 2021


     [ https://issues.asterisk.org/jira/browse/ASTERISK-29577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua C. Colp updated ASTERISK-29577:
--------------------------------------

    Status: Open  (was: Triage)

> Scope Tracing: illegal storage on function
> ------------------------------------------
>
>                 Key: ASTERISK-29577
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29577
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Logging
>    Affects Versions: 16.20.0, 18.6.0
>         Environment: Clang 12.0.0-3 of Ubuntu 21.04
>            Reporter: Alexander Traud
>              Labels: patch
>         Attachments: remove_scope_trace.patch
>
>
> This issue was introduced with [GERRIT-14463|https://gerrit.asterisk.org/14463]. The current implementation of the macro SCOPE_TRACE is not portable, for example the compiler Clang errors on it.
> *Steps to Reproduce* (see {{contrib/scripts/install_prereq}}):
> {code}
> sudo apt install make clang libblocksruntime-dev pkg-config
> sudo apt install libedit-dev libjansson-dev libsqlite3-dev uuid-dev libxml2-dev
> CC=clang CXX=clang++ ./configure --enable-dev-mode=noisy
> make
> {code}
> I could limit SCOPE_TRACE to the compiler GCC. Or we ignore this issue because nobody (?) is using Clang with the Developer Mode of Asterisk. Not sure about that one. Any suggestions?
> Until decided, the attached patch simply disables just SCOPE_TRACE, for those using Asterisk:
> # not in normal mode but in developer mode
> # not with compiler GCC but with Clang



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



More information about the asterisk-bugs mailing list