[Bug 251636] archivers/c-blosc: fails to build with CPUTYPE=haswell
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sun Dec 6 12:14:01 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251636
Bug ID: 251636
Summary: archivers/c-blosc: fails to build with CPUTYPE=haswell
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: greg at unrelenting.technology
CC: iblis at hs.ntnu.edu.tw
Flags: maintainer-feedback?(iblis at hs.ntnu.edu.tw)
CC: iblis at hs.ntnu.edu.tw
/usr/ports/archivers/c-blosc/work/c-blosc-1.15.0/blosc/shuffle.c:171:1: error:
function cannot return function type 'int (uint32_t)' (aka 'int (unsigned
int)')
/usr/local/llvm11/lib/clang/11.0.0/include/xsaveintrin.h:35:42: note: expanded
from macro '_xgetbv'
#define _xgetbv(A) __builtin_ia32_xgetbv((long long)(A))
^
/usr/ports/archivers/c-blosc/work/c-blosc-1.15.0/blosc/shuffle.c:171:1: error:
definition of builtin function '__builtin_ia32_xgetbv'
/usr/local/llvm11/lib/clang/11.0.0/include/xsaveintrin.h:35:20: note: expanded
from macro '_xgetbv'
#define _xgetbv(A) __builtin_ia32_xgetbv((long long)(A))
^
/usr/ports/archivers/c-blosc/work/c-blosc-1.15.0/blosc/shuffle.c:171:1:
warning: omitting the parameter name in a function definition is a C2x
extension [-Wc2x-extensions]
/usr/local/llvm11/lib/clang/11.0.0/include/xsaveintrin.h:35:43: note: expanded
from macro '_xgetbv'
#define _xgetbv(A) __builtin_ia32_xgetbv((long long)(A))
^
/usr/ports/archivers/c-blosc/work/c-blosc-1.15.0/blosc/shuffle.c:181:10: error:
use of undeclared identifier 'xcr'
"c" (xcr)
^
2 warnings and 3 errors generated.
As a workaround, we can force unset cpu flags with
_CPUCFLAGS:=
as I've suggested for bug 251590 also.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list