[jira] [Commented] (TS-1116) Fix build issues with clang (particularly on OSX)
[ https://issues.apache.org/jira/browse/TS-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13252322#comment-13252322 ] Jan-Frode Myklebust commented on TS-1116: - Brian, please see patch in TS-1185. I've cherry picked commit 9e3459a1006ad2e4381d20fe5374a11994dccf88 and cea3c71360a066a24b39e36ee116e83ea1db1bc8 into v3.0.4 to make it build on fedora-17 which has gcc-4.7. It would be great if you could include these patches in the upcoming v3.0.5 release. Fix build issues with clang (particularly on OSX) - Key: TS-1116 URL: https://issues.apache.org/jira/browse/TS-1116 Project: Traffic Server Issue Type: Improvement Affects Versions: 3.0.4, 3.0.3 Reporter: Leif Hedstrom Assignee: Brian Geffon Fix For: 3.1.3 Attachments: TS-1116.diff We should get it to compile with clang again, specially since on OSX, clang is the 'future'. -- 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
[ 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
[ 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
[ 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