Solaris build ink_queue fails on freelist definition
----------------------------------------------------

                 Key: TS-126
                 URL: https://issues.apache.org/jira/browse/TS-126
             Project: Traffic Server
          Issue Type: Bug
          Components: Core
         Environment: OpenSolaris with Sun CC on AMD64
            Reporter: Nick Kew


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!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to