Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-126

Solaris build ink_queue fails on freelist definition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • Core
    • None
    • 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!

      Attachments

        Issue Links

          Activity

            People

              georgep George Paul
              nick@webthing.com Nick Kew
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: