[asterisk-bugs] [JIRA] (ASTERISK-26104) Build: A Fedora GLIBC update to 2.22-17 causes a compile failure

Alexander Traud (JIRA) noreply at issues.asterisk.org
Fri Jun 10 15:08:56 CDT 2016


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

Alexander Traud commented on ASTERISK-26104:
--------------------------------------------

You do not need to know the layout of {{sockaddr_storage}}. That is the point of this issue report. The rest of the code uses {noformat}{ {0,} }{noformat}as [recommended|http://www.ex-parrot.com/~chris/random/initialise.html]. If the Asterisk team wants to use memset, please add that to the Asterisk Coding Style Guides.

> Build:  A Fedora GLIBC update to 2.22-17 causes a compile failure
> -----------------------------------------------------------------
>
>                 Key: ASTERISK-26104
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26104
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: SVN, 11.21.2, 13.9.1
>            Reporter: George Joseph
>            Assignee: George Joseph
>
> The Fedora update to GLIBC 2.22-17 change the order of the members in sockaddr_storage.  Unfortunately there are a few places where we use an initializer for ast_sockaddr like '\{ \{ 0, 0 } }' which now fail.
> They need to be changed to memsets.



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



More information about the asterisk-bugs mailing list