[Bug 224828] devel/valgrind devel/valgrind-devel: Fix build with clang 6.0.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jan 1 19:58:00 UTC 2018


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

            Bug ID: 224828
           Summary: devel/valgrind devel/valgrind-devel: Fix build with
                    clang 6.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery at FreeBSD.org
          Reporter: dim at FreeBSD.org
             Flags: maintainer-feedback?(bdrewery at FreeBSD.org)
          Assignee: bdrewery at FreeBSD.org

Created attachment 189325
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=189325&action=edit
Fix detection of clang 6 and higher for valgrind

While testing the new clang600-import branch (see bug 224669), I noticed that
valgrind and valgrind-devel fail to compile, due clang 6.0.0 not being detected
properly:

checking for a supported version of gcc... no (6.0.0)
configure: error: please use gcc >= 3.0 or clang >= 2.9
===>  Script "configure" failed unexpectedly.

Here is a patch to fix it, which should work until clang 10.0.0 gets released.

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


More information about the freebsd-ports-bugs mailing list