[Bug 202959] Fix net/pimd build with clang 3.7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 7 21:40:19 UTC 2015


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

            Bug ID: 202959
           Summary: Fix net/pimd 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: freebsd-ports-bugs at FreeBSD.org
          Reporter: dim at FreeBSD.org
                CC: olivier at cochard.me
             Flags: maintainer-feedback?(olivier at cochard.me)
                CC: olivier at cochard.me

Created attachment 160824
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=160824&action=edit
Fix left-shifting of negative value in pimd.h

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

http://package18.nyi.freebsd.org/data/headi386PR201377-default/2015-08-20_15h42m20s/logs/errors/pimd-2.2.0.log

This is because pimd.h attempts to left-shift a negative value, which is
undefined.  It is easy to fix, as in the attached patch.

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


More information about the freebsd-ports-bugs mailing list