[Bug 252648] Intel oneAPI tbb - Migrating from devel/tbb to devel/onetbb (main PR)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 21 17:11:15 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252648

--- Comment #13 from Thierry Thomas <thierry at FreeBSD.org> ---
To handle PR 252870, I tried to build devel/onetbb and it failed on -CURRENT
(clang 11):

[97/308] /usr/local/libexec/ccache/c++ 
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/..
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wshadow
-Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wno-parentheses -pthread
-std=c++11 -MD -MT
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o
-MF
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o.d
-o
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o
-c
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/conformance/conformance_blocked_rangeNd.cpp
FAILED:
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o 
/usr/local/libexec/ccache/c++ 
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/..
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -Wall -Wextra -Wshadow
-Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor -Wno-parentheses -pthread
-std=c++11 -MD -MT
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o
-MF
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o.d
-o
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o
-c
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/conformance/conformance_blocked_rangeNd.cpp
Assertion failed: (isa<X>(Val) && "cast<Ty>() argument of incompatible type!"),
function cast, file
/usr/src/contrib/llvm-project/llvm/include/llvm/Support/Casting.h, line 269.
PLEASE submit a bug report to https://bugs.freebsd.org/submit/ and include the
crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: /usr/bin/c++ -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-Wall -Wextra -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor
-Wno-parentheses -pthread -std=c++11
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/..
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test
-I/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include -c -o
test/CMakeFiles/conformance_blocked_rangeNd.dir/conformance/conformance_blocked_rangeNd.cpp.o
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/test/conformance/conformance_blocked_rangeNd.cpp 
1.     
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include/oneapi/tbb/blocked_rangeNd.h:69:62:
current parser token ':'
2.     
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include/oneapi/tbb/blocked_rangeNd.h:34:1:
parsing namespace 'tbb'
3.     
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include/oneapi/tbb/blocked_rangeNd.h:35:1:
parsing namespace 'tbb::detail'
4.     
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include/oneapi/tbb/blocked_rangeNd.h:36:1:
parsing namespace 'tbb::detail::d1'
5.     
/usr/ports/devel/onetbb/work/oneTBB-2021.1.1/src/tbb/../../include/oneapi/tbb/blocked_rangeNd.h:55:1:
parsing struct/union/class body 'tbb::detail::d1::blocked_rangeNd_impl<Value,
N, detail::index_sequence<Is...>>'
#0 0x00000000041d495e PrintStackTrace
/usr/src/contrib/llvm-project/llvm/lib/Support/Unix/Signals.inc:564:13
#1 0x00000000041d2bb5 RunSignalHandlers
/usr/src/contrib/llvm-project/llvm/lib/Support/Signals.cpp:69:18
#2 0x000000000417209e HandleCrash
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:77:5
#3 0x0000000004172221 CrashRecoverySignalHandler
/usr/src/contrib/llvm-project/llvm/lib/Support/CrashRecoveryContext.cpp:0:51
#4 0x0000000805690bd0 handle_signal /usr/src/lib/libthr/thread/thr_sig.c:0:3
c++: error: clang frontend command failed due to signal (use -v to see
invocation)
FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git
llvmorg-11.0.0-0-g176249bd673)
Target: x86_64-unknown-freebsd13.0
Thread model: posix
InstalledDir: /usr/bin
c++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
c++: note: diagnostic msg: /tmp/conformance_blocked_rangeNd-c82975.cpp
c++: note: diagnostic msg: /tmp/conformance_blocked_rangeNd-c82975.sh
c++: note: diagnostic msg:

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-fortran mailing list