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

Private Name (JIRA) noreply at issues.asterisk.org
Mon Feb 2 16:59:35 CST 2015


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

Private Name commented on ASTERISK-24753:
-----------------------------------------

I am compiling a clear svn copy, nothing added to it.
What you say this "fortification" is from an outside source?
Asterisk is the only app in the machine.

> 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