Uploaded image for project: 'Software Support'
  1. Software Support
  2. SUP-2408 some eccodes tests fail on i686 platform
  3. SUP-3563

bitsPerValue test: restrict max value to 31 on linux 32 bit

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Won't Fix
    • Icon: Medium Medium
    • ECC
    • Linux 32 bit / 64 bit / Windows

    • Other

      On grib_bitsPerValue.sh, restrict maximum bitsPerValue value
      (MAX_BPV) to 31 on linux 32 bit, higher value is not supported.

      Note that currently on Windows system, MAX_BPV is set to 26 instead
      of 31, but this should be able to be changed to 31 as well on
      Windows as this should be fixed with
      "decode_long_array: avoid overflow on 32 bit when overread" change.

      Also, on linux 64 bit system, change MAX_BPV to 63. This should also
      be fixed with the above change.

      The proposal patch fixes the following test failure on Linux 32 bit:

      # 153 - eccodes_t_grib_bitsPerValue
      

            usv Daniel Varela Santoalla
            mtasaka@fedoraproject.org Mamoru TASAKA
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: