[asterisk-bugs] [JIRA] (ASTERISK-24753) warning happens when compiling with don't optimize

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Feb 2 16:53:35 CST 2015


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

Matt Jordan closed ASTERISK-24753.
----------------------------------

    Resolution: Not A Bug

Asterisk does not fortify the source. I'm not sure what modifications you've made or what proprietary modules you are compiling, but that exists outside of the Asterisk tree and is not a bug with Asterisk.

And, as the warning implies, if you have a module that is attempting to fortify the source, it requires that the optimization be enabled.

> warning happens when compiling with don't optimize
> --------------------------------------------------
>
>                 Key: ASTERISK-24753
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24753
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 13.1.1
>         Environment: Fedora 20
>            Reporter: Private Name
>            Severity: Minor
>
> This warning gets printed hundreds of times when I chose "don't optimize". I think the flag "FORTIFY_SOURCE" should not be on if we are not optimizing
>             from func_sorcery.c:33:
> /usr/include/features.h:327:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
>  #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
>     ^
>    [LD] func_sorcery.o -> func_sorcery.so
>    [CC] func_shell



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



More information about the asterisk-bugs mailing list