[jira] [Created] (TS-873) Wrong code in iocore/net/UnixNet.cc

2011-07-11 Thread mohan_zl (JIRA)
Wrong code in iocore/net/UnixNet.cc
---

 Key: TS-873
 URL: https://issues.apache.org/jira/browse/TS-873
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl


I think somebody write a wrong code in iocore/net/UnixNet.cc

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-837) ATS fails to compile with gcc 4.6.1 with --enable-debug

2011-07-11 Thread Kingsley Foreman (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13063647#comment-13063647
 ] 

Kingsley Foreman commented on TS-837:
-

This appears to be caused when gcc adds a -02 (or -03) flag to the compile 
options, remove that and it should work

 ATS fails to compile with gcc 4.6.1 with --enable-debug
 ---

 Key: TS-837
 URL: https://issues.apache.org/jira/browse/TS-837
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.0, 3.0.0
 Environment: Linux, Debian, Amd64 + GCC 4.6.1
Reporter: Igor Galić
 Fix For: 3.1.0


 {noformat}
 In file included from ../../proxy/ControlMatcher.h:104:0,
  from ../../proxy/ParentSelection.h:37,
  from P_Socks.h:30,
  from P_Net.h:106,
  from Connection.cc:34:
 ../../proxy/hdrs/HTTP.h: In member function 'INK_MD5 
 HTTPInfo::object_key_get()':
 ../../proxy/hdrs/HTTP.h:1375:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'int64_t 
 HTTPInfo::object_size_get()':
 ../../proxy/hdrs/HTTP.h:1405:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'void 
 HTTPInfo::object_size_set(int64_t)':
 ../../proxy/hdrs/HTTP.h:1422:51: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 cc1plus: all warnings being treated as errors
 *** [Connection.o] Error 1
 make[2]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore/net'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore'
 make: *** [all-recursive] Error 1
 {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-873) Wrong code in iocore/net/UnixNet.cc

2011-07-11 Thread Zhao Yongming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-873?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yongming resolved TS-873.
--

   Resolution: Fixed
Fix Version/s: 3.1.0
 Assignee: mohan_zl

r1145426

 Wrong code in iocore/net/UnixNet.cc
 ---

 Key: TS-873
 URL: https://issues.apache.org/jira/browse/TS-873
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
Assignee: mohan_zl
 Fix For: 3.1.0

 Attachments: TS-net2.patch


 I think somebody write a wrong code in iocore/net/UnixNet.cc

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-869) The stat code for ram_cache miss is lost

2011-07-11 Thread Zhao Yongming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-869?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yongming resolved TS-869.
--

   Resolution: Fixed
Fix Version/s: 3.1.0
 Assignee: mohan_zl

r1145427

 The stat code for ram_cache miss is lost
 

 Key: TS-869
 URL: https://issues.apache.org/jira/browse/TS-869
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
Assignee: mohan_zl
 Fix For: 3.1.0

 Attachments: ram_cache_miss.patch


 Use echo show:cache-stats | traffic_shell, i found the Misses for RAM CACHE 
 is always -1.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Resolved] (TS-870) Something wrong with the evacuate relevant codes in cache

2011-07-11 Thread Zhao Yongming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yongming resolved TS-870.
--

   Resolution: Fixed
Fix Version/s: 3.1.0
 Assignee: mohan_zl

r1145431

 Something wrong with the evacuate relevant codes in cache
 -

 Key: TS-870
 URL: https://issues.apache.org/jira/browse/TS-870
 Project: Traffic Server
  Issue Type: Bug
Reporter: mohan_zl
Assignee: mohan_zl
 Fix For: 3.1.0

 Attachments: TS-evacuate-correct.patch




--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-837) ATS fails to compile with gcc 4.6.1 with --enable-debug

2011-07-11 Thread Leif Hedstrom (JIRA)

[ 
https://issues.apache.org/jira/browse/TS-837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13063690#comment-13063690
 ] 

Leif Hedstrom commented on TS-837:
--

Can the original reporter confirm ? There really is no purpose to compile with 
-ggdb3 and -O2 (i.e out default debug build options are the right ones, -g 
-ggdb3.

 ATS fails to compile with gcc 4.6.1 with --enable-debug
 ---

 Key: TS-837
 URL: https://issues.apache.org/jira/browse/TS-837
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.0, 3.0.0
 Environment: Linux, Debian, Amd64 + GCC 4.6.1
Reporter: Igor Galić
 Fix For: 3.1.0


 {noformat}
 In file included from ../../proxy/ControlMatcher.h:104:0,
  from ../../proxy/ParentSelection.h:37,
  from P_Socks.h:30,
  from P_Net.h:106,
  from Connection.cc:34:
 ../../proxy/hdrs/HTTP.h: In member function 'INK_MD5 
 HTTPInfo::object_key_get()':
 ../../proxy/hdrs/HTTP.h:1375:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'int64_t 
 HTTPInfo::object_size_get()':
 ../../proxy/hdrs/HTTP.h:1405:24: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 ../../proxy/hdrs/HTTP.h: In member function 'void 
 HTTPInfo::object_size_set(int64_t)':
 ../../proxy/hdrs/HTTP.h:1422:51: error: dereferencing type-punned pointer 
 will break strict-aliasing rules [-Werror=strict-aliasing]
 cc1plus: all warnings being treated as errors
 *** [Connection.o] Error 1
 make[2]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore/net'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/netsrc/trafficserver-3.0.0/iocore'
 make: *** [all-recursive] Error 1
 {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (TS-874) asf-dist should be git nice

2011-07-11 Thread Zhao Yongming (JIRA)

 [ 
https://issues.apache.org/jira/browse/TS-874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhao Yongming updated TS-874:
-

Attachment: TS-874.txt

this is a small patch

 asf-dist should be git nice
 ---

 Key: TS-874
 URL: https://issues.apache.org/jira/browse/TS-874
 Project: Traffic Server
  Issue Type: Improvement
  Components: Build
Affects Versions: 3.1.0
Reporter: Zhao Yongming
Assignee: Zhao Yongming
Priority: Trivial
 Attachments: TS-874.txt


 the asf-dist make target should be git nice, I think many of us on git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Created] (TS-874) asf-dist should be git nice

2011-07-11 Thread Zhao Yongming (JIRA)
asf-dist should be git nice
---

 Key: TS-874
 URL: https://issues.apache.org/jira/browse/TS-874
 Project: Traffic Server
  Issue Type: Improvement
  Components: Build
Affects Versions: 3.1.0
Reporter: Zhao Yongming
Assignee: Zhao Yongming
Priority: Trivial
 Attachments: TS-874.txt

the asf-dist make target should be git nice, I think many of us on git.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira