Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Jan 2022 04:58:25 -0500
From:      "Michael Fiano" <mfml@fastmail.com>
To:        ports@freebsd.org
Subject:   Re: FreeBSD Port: onetbb-2021.5.0 error build
Message-ID:  <09892e53-1f8e-4d6b-be2b-50834c61b343@www.fastmail.com>
In-Reply-To: <07e2bc01-1f1c-8d6b-a9e0-4a5baaa1c2e0@gmail.com>
References:  <07e2bc01-1f1c-8d6b-a9e0-4a5baaa1c2e0@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I can reproduce this problem. It seems identical to a recent issue that was patched: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259051

On Wed, Jan 5, 2022, at 4:19 PM, Alex V. Petrov wrote:
> ===>  Building for onetbb-2021.5.0
> [  0% 1/320] /usr/bin/c++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY 
> -I/usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/../../include -O2 
> -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe 
> -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -flto 
> -pthread -std=c++11 -MD -MT 
> src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -MF 
> src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o.d -o 
> src/tbb/CMakeFiles/tbb.dir/address_waiter.cpp.o -c 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/address_waiter.cpp
> [  0% 2/320] /usr/bin/c++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY 
> -I/usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/../../include -O2 
> -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe 
> -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -flto 
> -pthread -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o 
> -MF src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o.d -o 
> src/tbb/CMakeFiles/tbb.dir/allocator.cpp.o -c 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/allocator.cpp
> [  0% 3/320] /usr/bin/c++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY 
> -I/usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/../../include -O2 
> -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe 
> -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -flto 
> -pthread -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF 
> src/tbb/CMakeFiles/tbb.dir/arena.cpp.o.d -o 
> src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -c 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/arena.cpp
> FAILED: src/tbb/CMakeFiles/tbb.dir/arena.cpp.o
> /usr/bin/c++ -D__TBB_BUILD -D__TBB_USE_ITT_NOTIFY 
> -I/usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/../../include -O2 
> -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe 
> -fstack-protector-strong -fno-strict-aliasing -fPIC -Wall -Wextra -flto 
> -pthread -std=c++11 -MD -MT src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -MF 
> src/tbb/CMakeFiles/tbb.dir/arena.cpp.o.d -o 
> src/tbb/CMakeFiles/tbb.dir/arena.cpp.o -c 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/arena.cpp
> In file included from 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/arena.cpp:17:
> In file included from 
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/task_dispatcher.h:24:
> /usr/ports/devel/onetbb/work/oneTBB-2021.5.0/src/tbb/scheduler_common.h:230:9: 
> error: always_inline function '_tpause' requires target feature 
> 'waitpkg', but would be inlined into function 'prolonged_pause' that is 
> compiled without support for 'waitpkg'
>          _tpause(0, time_stamp + 700);
>          ^
> 1 error generated.
> ninja: build stopped: subcommand failed.
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/devel/onetbb
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/devel/onetbb
> -- 
> -----
> Alex.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?09892e53-1f8e-4d6b-be2b-50834c61b343>