[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-

We have the same problem on fedora-17, where gcc-4.7 is the default compiler.

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell

 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Leif Hedstrom (Commented) (JIRA)

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

Leif Hedstrom commented on TS-1185:
---

I installed Fedora Core 17, with gcc-4.7, and it builds without problem Any 
more details you can share? Special configure options, compiler options, 
platform (32-bit vs 64-bit etc.).

It seems the fixes ought to be trivial, but it'd be nice to be able to 
reproduce it.

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Leif Hedstrom (Commented) (JIRA)

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

Leif Hedstrom commented on TS-1185:
---

Eh, I checked the code, and this was changed by Igor in February:

commit fe1da80b94d368343174ada8b137a0c4ae1c387e
Author: Igor Galić iga...@apache.org
Commit: Igor Galić iga...@apache.org

TS-1116 fix clang warnings and errors, especially with make check


Are you sure this is still a problem on trunk?

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-


I cherry-picked commit cea3c71360a066a24b39e36ee116e83ea1db1bc8 and 
9e3459a1006ad2e4381d20fe5374a11994dccf88 and now it builds fine:

http://koji.fedoraproject.org/koji/taskinfo?taskID=3978895

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-10 Thread Jan-Frode Myklebust (Commented) (JIRA)

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

Jan-Frode Myklebust commented on TS-1185:
-

Arno Toell: does the trafficserver-gcc47.patch work for you?

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell
Assignee: Leif Hedstrom
 Fix For: 3.1.4

 Attachments: trafficserver-gcc47.patch


 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-03 Thread Arno Toell (Commented) (JIRA)

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

Arno Toell commented on TS-1185:


The full log is available at 
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/trafficserver_3.0.4-1_unstable-gcc47.log

Standard Debian build flags are:

{code}
CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security 
CPPFLAGS=-D_FORTIFY_SOURCE=2 
CXXFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security 
FFLAGS=-g -O2 
LDFLAGS=-Wl,-z,relro %   
{code}


 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell

 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Commented] (TS-1185) fails to build from source with gcc 4.7

2012-04-03 Thread Commented

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

Igor Galić commented on TS-1185:


{noformat}
CXXFLAGS=-D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 \
 -D_GNU_SOURCE -D_REENTRANT -Dlinux -I/usr/include/tcl8.5  -g -O2 
-fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-pipe \
 -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
-Wno-invalid-offsetof
{noformat}

 fails to build from source with gcc 4.7
 ---

 Key: TS-1185
 URL: https://issues.apache.org/jira/browse/TS-1185
 Project: Traffic Server
  Issue Type: Bug
Affects Versions: 3.1.3, 3.0.4
 Environment: Debian Unstable with gcc 4.7
Reporter: Arno Toell

 Using gcc 4.7, ATS fails to build from source. See Debian bug 667396 
 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667396) for further 
 information. gcc 4.7 fails with
 {code} 
 g++ -DHAVE_CONFIG_H -I. -I../../lib/ts  -I../../iocore/eventsystem 
 -I../../iocore/net -I../../iocore/aio -I../../iocore/hostdb 
 -I../../iocore/cache -I../../iocore/cluster -I../../iocore/utils 
 -I../../iocore/dns -I../../proxy -I../../lib/records -I../../mgmt 
 -I../../mgmt/preparse -I../../mgmt/utils -I../../proxy/hdrs 
 -I../../proxy/http/remap -I../../proxy/logging -D_FORTIFY_SOURCE=2 
 -D_LARGEFILE64_SOURCE=1 -D_COMPILE64BIT_SOURCE=1 -D_GNU_SOURCE -D_REENTRANT 
 -Dlinux -I/usr/include/tcl8.5  -g -O2 -fstack-protector 
 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
 -pipe -Wall -Werror -feliminate-unused-debug-symbols -fno-strict-aliasing 
 -Wno-invalid-offsetof -MT HttpClientSession.o -MD -MP -MF 
 .deps/HttpClientSession.Tpo -c -o HttpClientSession.o HttpClientSession.cc
 In file included from ../../lib/ts/libts.h:96:0,
  from HttpClientSession.h:35,
  from HttpClientSession.cc:35:
 ../../lib/ts/Map.h: In instantiation of 'C MapK, C, A::get(K) [with K = 
 unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:51:34:   required from here
 ../../lib/ts/Map.h:240:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:240:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:240:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h: In instantiation of 'MapElemK, C* MapK, C, A::put(K, 
 C) [with K = unsigned int; C = int; A = DefaultAlloc]':
 HttpConnectionCount.h:64:37:   required from here
 ../../lib/ts/Map.h:258:29: error: 'set_in' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:258:29: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:258:29: note: use 'this-set_in' instead
 ../../lib/ts/Map.h:263:21: error: 'set_add' was not declared in this scope, 
 and no declarations were found by argument-dependent lookup at the point of 
 instantiation [-fpermissive]
 ../../lib/ts/Map.h:263:21: note: declarations in dependent base 
 'VecMapElemunsigned int, int, DefaultAlloc, 2' are not found by 
 unqualified lookup
 ../../lib/ts/Map.h:263:21: note: use 'this-set_add' instead
 make[4]: *** [HttpClientSession.o] Error 1
 {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira