[Bug 216641] www/trafficserver: fails to build with clang 4.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 31 00:02:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216641

            Bug ID: 216641
           Summary: www/trafficserver: fails to build with clang 4.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
                CC: gaod at hychen.org
            Blocks: 216008
             Flags: maintainer-feedback?(gaod at hychen.org)
                CC: gaod at hychen.org

ClusterCache.cc:440:26: error: ordered comparison between pointer and zero
('Continuation *' and 'int')
    ink_release_assert(c > 0);
                       ~ ^ ~
../../lib/ts/ink_assert.h:54:47: note: expanded from macro 'ink_release_assert'
#define ink_release_assert(EX) ((void)(likely(EX) ? (void)0 : _ink_assert(#EX,
__FILE__, __LINE__)))
                                              ^~
../../lib/ts/ink_apidefs.h:34:39: note: expanded from macro 'likely'
#define likely(x) __builtin_expect(!!(x), 1)
                                      ^
ClusterCache.cc:503:26: error: ordered comparison between pointer and zero
('Continuation *' and 'int')
    ink_release_assert(c > 0);
                       ~ ^ ~
../../lib/ts/ink_assert.h:54:47: note: expanded from macro 'ink_release_assert'
#define ink_release_assert(EX) ((void)(likely(EX) ? (void)0 : _ink_assert(#EX,
__FILE__, __LINE__)))
                                              ^~
../../lib/ts/ink_apidefs.h:34:39: note: expanded from macro 'likely'
#define likely(x) __builtin_expect(!!(x), 1)
                                      ^

build log:
http://package18.nyi.freebsd.org/data/headamd64PR216008-default/2017-01-29_16h09m05s/logs/errors/trafficserver-6.2.0.log
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216008
[Bug 216008] [exp-run] Update llvm/clang/compiler-rt/libc++/lld/lldb in base to
4.0.0
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list