Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Sep 2015 21:30:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 202958] Fix www/varnish4 build with clang 3.7.0
Message-ID:  <bug-202958-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202958

            Bug ID: 202958
           Summary: Fix www/varnish4 build with clang 3.7.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: feld@FreeBSD.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(feld@FreeBSD.org)
          Assignee: feld@FreeBSD.org

Created attachment 160823
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160823&action=edit
Fix left-shifting of negative value in varnish4's copy of libz

During the exp-run in bug 201377, it was found that www/varnish4 gives errors
with a recent clang 3.7.0 snapshot:

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/varnish4-4.0.3_7.log

This is because it includes its own copy of libz, which does a left-shift on a
negative number, and that is undefined.  I propose a similar fix as went into
head very recently:

https://svnweb.freebsd.org/changeset/base/287541

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202958-13>