Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-365

don't use __sync_fetch_and_add for 64-bit when on gcc 4.1 on 32-bit x86.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      It looks like there is a bug with 64-bit atomics on 32-bit gcc 4.1. We need to fall back and use our locked code with this. (RHEL 5 ships this compiler). The bug was apparently fixed in 4.2.

            Assignee:
            christian.hergert@10gen.com Christian Hergert
            Reporter:
            christian.hergert@10gen.com Christian Hergert
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: