Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-2105

[s390s] Compilation failure on Ubuntu Xenial: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Werror=alloc-size-larger-than=]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.16.0
    • 1.17.0
    • None
    • None

    Description

      https://travis-ci.com/github/apache/qpid-dispatch/jobs/503619678#L1658

      [ 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
      

      Attachments

        Activity

          People

            gmurthy Ganesh Murthy
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: