Traffic Server
  1. Traffic Server
  2. TS-126

Solaris build ink_queue fails on freelist definition

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Core
    • Labels:
      None
    • Environment:

      OpenSolaris with Sun CC on AMD64

      Description

      configure.ac contains the following line:
      common_opt="-mt -m32 -D__WORDSIZE=32" # FIXME: This should be detected

      This specifies 32-bit build, which fails with
      "ink_queue.cc", line 136: Error: s is not a member of volatile head_p.
      (repeated many times).

      This is a define at line 74 of ink_queue.h. I'm struggling to follow the significance of all the #defines in this code, but there's evidently an inconsistency.

      It compiles just fine with
      common_opt="-mt -m64 -D__WORDSIZE=64" # FIXME: This should be detected

      though I have yet to run it in 64 bits!

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              George Paul
              Reporter:
              Nick Kew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development