Date: Sun, 06 Dec 2020 12:13:57 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 251636] archivers/c-blosc: fails to build with CPUTYPE=haswell Message-ID: <bug-251636-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251636 Bug ID: 251636 Summary: archivers/c-blosc: fails to build with CPUTYPE=3Dhaswell Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: greg@unrelenting.technology CC: iblis@hs.ntnu.edu.tw Flags: maintainer-feedback?(iblis@hs.ntnu.edu.tw) CC: iblis@hs.ntnu.edu.tw /usr/ports/archivers/c-blosc/work/c-blosc-1.15.0/blosc/shuffle.c:171:1: err= or: 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: expan= ded 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: err= or: definition of builtin function '__builtin_ia32_xgetbv' /usr/local/llvm11/lib/clang/11.0.0/include/xsaveintrin.h:35:20: note: expan= ded 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: expan= ded 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: er= ror: use of undeclared identifier 'xcr' "c" (xcr) ^ 2 warnings and 3 errors generated. As a workaround, we can force unset cpu flags with _CPUCFLAGS:=3D as I've suggested for bug 251590 also. --=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-251636-7788>