Date: Thu, 30 Jul 2015 01:04:20 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 201981] [MAINTAINER] sysutils/b2sum: build fix Message-ID: <bug-201981-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201981 Bug ID: 201981 Summary: [MAINTAINER] sysutils/b2sum: build fix 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: matthew@reztek.cz Attachment #159377 maintainer-approval+ Flags: Created attachment 159377 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=159377&action=edit sysutils/b2sum build fix Build with 9.x's older Clang fails in SSE path (default on amd64) without -flax-vector-conversions. Ideally the addition of that CFLAG could be conditional upon CHOSEN_COMPILER_TYPE == "clang" && COMPILER_VERSION < 34, but those variables cannot be checked without a USES=compiler, which we only have in the OPENMP case, but in that case we know CHOSEN_COMPILER_TYPE == "gcc". Or, at least it should... compiler:openmp selects GCC on 10.x but selects Clang on 9.x. So, just add -flax-vector-conversions to CFLAGS for the whole SSE path, it should be harmless for newer compilers. While here, update the distfile. Upstream rolled a new one dated a few days later. The previous distfile had a few binaries in it. -- 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-201981-13>