[Bug 244234] devel/valgrind: Fix build with clang 10.0.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Feb 19 19:42:51 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244234
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 at FreeBSD.org
Reporter: dim at FreeBSD.org
Flags: maintainer-feedback?(zeising at FreeBSD.org)
Assignee: zeising at FreeBSD.org
Created attachment 211765
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211765&action=edit
Fix compiler version detection hopefully forever
Every time a compiler major version is bumped, we run into this exact
same error:
===> 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 >= 3.0 or clang >= 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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list