Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2020 19:42:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244234] devel/valgrind: Fix build with clang 10.0.0
Message-ID:  <bug-244234-7788@https.bugs.freebsd.org/bugzilla/>

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

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

Created attachment 211765
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211765&action=
=3Dedit
Fix compiler version detection hopefully forever

Every time a compiler major version is bumped, we run into this exact
same error:

=3D=3D=3D>  Configuring for valgrind-3.10.1.20160113_7,1
...
checking for a supported version of gcc... no (10.0.0)
configure: error: please use gcc >=3D 3.0 or clang >=3D 2.9

Attempt to fix this for all versions in the future.

Other fix included: don't use undefined behavior to implement offsetof,
just use the official builtin function instead.

--=20
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-244234-7788>