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

          Nick Kew created issue -
          George Paul made changes -
          Field Original Value New Value
          Link This issue relates to TS-11 [ TS-11 ]
          George Paul made changes -
          Assignee George Paul [ georgep ]
          George Paul made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Leif Hedstrom made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Workflow jira [ 12489809 ] TS Workflow [ 12522555 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development