Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-966

Native code in bson gem does not work on big-endian platforms

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 12_01_17
    • Affects Version/s: bson-3.1.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Linux s390x

      We built the Ruby driver on Linux on z Systems (s390x), but it does not work correctly when the native code is used. Deleting the native shared object in the gem allows the code to fall back to pure Ruby, and it would then function correctly. The problem looks like it could be caused by endianness issue in ext/bson/native.c.

            Assignee:
            durran.jordan@mongodb.com Durran Jordan
            Reporter:
            bryanpkc Bryan Chan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: