[ 
https://issues.apache.org/jira/browse/DISPATCH-2105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17361061#comment-17361061
 ] 

ASF subversion and git services commented on DISPATCH-2105:
-----------------------------------------------------------

Commit 0c2a5d9c2b0e6b716912101465cb661590d433b6 in qpid-dispatch's branch 
refs/heads/main from Ganesh Murthy
[ https://gitbox.apache.org/repos/asf?p=qpid-dispatch.git;h=0c2a5d9 ]

DISPATCH-2105: Removed variable length arrays wherever possible. This closes 
#1249


> [s390s] Compilation failure on Ubuntu Xenial: argument 1 range 
> [18446744071562067968, 18446744073709551615] exceeds maximum object size 
> 9223372036854775807 [-Werror=alloc-size-larger-than=]
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-2105
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-2105
>             Project: Qpid Dispatch
>          Issue Type: Bug
>    Affects Versions: 1.16.0
>            Reporter: Jiri Daněk
>            Priority: Major
>             Fix For: 1.17.0
>
>
> https://travis-ci.com/github/apache/qpid-dispatch/jobs/503619678#L1658
> {code}
> [ 19%] Building C object 
> src/CMakeFiles/qpid-dispatch.dir/connection_manager.c.o
> /home/travis/build/apache/qpid-dispatch/src/connection_manager.c: In function 
> ‘qd_entity_refresh_connector’:
> /home/travis/build/apache/qpid-dispatch/src/connection_manager.c:804:10: 
> error: argument 1 range [18446744071562067968, 18446744073709551615] exceeds 
> maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]
>      char failover_info[arr_length + 1];
>           ^~~~~~~~~~~~~
> /home/travis/build/apache/qpid-dispatch/src/connection_manager.c:804:10: 
> note: in a call to built-in allocation function ‘__builtin_alloca_with_align’
> cc1: all warnings being treated as errors
> src/CMakeFiles/qpid-dispatch.dir/build.make:439: recipe for target 
> 'src/CMakeFiles/qpid-dispatch.dir/connection_manager.c.o' failed
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to