Date: Mon, 07 Sep 2015 21:40:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 202959] Fix net/pimd build with clang 3.7.0 Message-ID: <bug-202959-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@FreeBSD.org Reporter: dim@FreeBSD.org CC: olivier@cochard.me Flags: maintainer-feedback?(olivier@cochard.me) CC: olivier@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-202959-13>