Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure #157

Open
lemonshushu opened this issue Jan 13, 2025 · 5 comments
Open

Build failure #157

lemonshushu opened this issue Jan 13, 2025 · 5 comments

Comments

@lemonshushu
Copy link

Hi, I am currently struggling to build the master branch of libOTe.

GCC version: 12.2.0
Build command I used: python build.py --all -DCMAKE_CXX_STANDARD=20

Error message:

...
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/eager_task_tests.cpp.o
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/async_scope_tests.cpp.o
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/result_tests.cpp.o
[ 16%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/channel_mpsc_tests.cpp.o
/home/subin/workspace/libOTe/out/macoro/tests/await_lifetime_tests.cpp: In lambda function:
/home/subin/workspace/libOTe/out/macoro/tests/await_lifetime_tests.cpp:806:42: error: use of deleted function ‘macoro::tests::{anonymous}::RefOnlyAwaiter::RefOnlyAwaiter(const macoro::tests::{anonymous}::RefOnlyAwaiter&)’
  806 |                                 co_await ref;
      |                                          ^~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:132: macoro/tests/CMakeFiles/macoroTests.dir/await_lifetime_tests.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
[ 16%] Linking C static library libKyberOT.a
[ 16%] Built target KyberOT
In file included from /home/subin/workspace/libOTe/out/macoro/tests/eager_task_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<int, false>&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:210:61:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<int, false>&]’
/home/subin/workspace/libOTe/out/macoro/tests/eager_task_tests.cpp:25:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<int, false>&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<int, false>&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:118: macoro/tests/CMakeFiles/macoroTests.dir/eager_task_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/channel_spsc_tests.cpp:7:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/channel_spsc_tests.cpp:123:13:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:202: macoro/tests/CMakeFiles/macoroTests.dir/channel_spsc_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/async_scope_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = scoped_task<int>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = scoped_task<int>]’
/home/subin/workspace/libOTe/out/macoro/tests/async_scope_tests.cpp:79:23:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::scoped_task<int>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::scoped_task<int>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:230: macoro/tests/CMakeFiles/macoroTests.dir/async_scope_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/when_all_tests.cpp:4:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<std::tuple<detail::when_all_task<int>, detail::when_all_task<bool&> > >&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<std::tuple<detail::when_all_task<int>, detail::when_all_task<bool&> > >]’
/home/subin/workspace/libOTe/out/macoro/tests/when_all_tests.cpp:76:23:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<std::tuple<macoro::detail::when_all_task<int>, macoro::detail::when_all_task<bool&> > >&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<std::tuple<macoro::detail::when_all_task<int>, macoro::detail::when_all_task<bool&> > >&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:160: macoro/tests/CMakeFiles/macoroTests.dir/when_all_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/result_tests.cpp:5:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = wrapped_awaitable<task<int> >&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = wrapped_awaitable<task<int> >]’
/home/subin/workspace/libOTe/out/macoro/tests/result_tests.cpp:69:29:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::wrapped_awaitable<macoro::task<int> >&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::wrapped_awaitable<macoro::task<int> >&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:146: macoro/tests/CMakeFiles/macoroTests.dir/result_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/sequence_tests.cpp:6:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/sequence_tests.cpp:133:13:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:188: macoro/tests/CMakeFiles/macoroTests.dir/sequence_tests.cpp.o] Error 1
/home/subin/workspace/libOTe/out/macoro/tests/take_until_tests.cpp: In function ‘macoro::task<int> macoro::tests::makeTask(macoro::thread_pool&, macoro::stop_source, bool)’:
/home/subin/workspace/libOTe/out/macoro/tests/take_until_tests.cpp:31:77: error: use of deleted function ‘macoro::detail::thread_pool_post_after::thread_pool_post_after(macoro::detail::thread_pool_post_after&&)’
   31 |                                 co_await(ex.schedule_after(milliseconds(15)));
      |                                                                             ^
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:174: macoro/tests/CMakeFiles/macoroTests.dir/take_until_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/task_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<int>&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:210:61:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<int>&]’
/home/subin/workspace/libOTe/out/macoro/tests/task_tests.cpp:319:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<int>&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<int>&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:104: macoro/tests/CMakeFiles/macoroTests.dir/task_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/channel_mpsc_tests.cpp:6:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/channel_mpsc_tests.cpp:167:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:216: macoro/tests/CMakeFiles/macoroTests.dir/channel_mpsc_tests.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:403: macoro/tests/CMakeFiles/macoroTests.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....

Thank you very much :)

@ladnir
Copy link
Member

ladnir commented Jan 13, 2025

are you delete the out folder and then provide the full output of the build process?

@lemonshushu
Copy link
Author

lemonshushu commented Jan 14, 2025

Here is the full output, thank you.

$ rm -rf out/
$ python build.py --all -DCMAKE_CXX_STANDARD=20


====== build.py (libOTe) ========
mkdir -p out/build/linux
cmake -S . -B out/build/linux  -DENABLE_ALL_OT=ON -DCMAKE_CXX_STANDARD=20 -DSUDO_FETCH=OFF -DFETCH_AUTO=ON -DPARALLEL_FETCH=20 -DCMAKE_BUILD_TYPE=Release
cmake --build out/build/linux   --parallel 20 
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv


-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Building for x86-64
-- cryptoTools options
=======================================================
-- Option: CRYPTO_TOOLS_STD_VER  = 20

-- Option: NO_SYSTEM_PATH    = 
-- Option: FETCH_AUTO        = ON
-- Option: VERBOSE_FETCH     = ON

-- Option: FETCH_RELIC       = 
-- Option: FETCH_SODIUM      = 
-- Option: FETCH_BOOST       = 
-- Option: FETCH_COPROTO     = 
-- Option: FETCH_LIBDIVIDE   = ON

-- Option: CMAKE_BUILD_TYPE  = Release
	Release
	Debug
	RelWithDebInfo
-- Option: ENABLE_SPAN_LITE  = OFF
-- Option: ENABLE_GMP        = OFF
-- Option: ENABLE_RELIC      = OFF
-- Option: ENABLE_SODIUM     = OFF
-- Option: ENABLE_BOOST      = OFF
-- Option: ENABLE_OPENSSL    = OFF
-- Option: ENABLE_COPROTO    = true
-- Option: ENABLE_CIRCUITS   = OFF
-- Option: ENABLE_ARM_AES    = OFF
-- Option: ENABLE_SSE        = ON
-- Option: ENABLE_AVX        = ON
-- Option: ENABLE_PIC        = OFF
-- Option: ENABLE_ASAN       = OFF


============= Building coproto =============
Cloning https://github.com/ladnir/coproto.git
'/usr/bin/git' 'clone' 'https://github.com/ladnir/coproto.git'
Cloning into 'coproto'...
'/usr/bin/git' 'show-ref' '--tags' 'c9e646b2f350c998e5225a67166573ad88ac9dbd' '--quiet'
CHECK_TAG_REUSLT=1
'/usr/bin/git' 'fetch'
Checkout c9e646b2f350c998e5225a67166573ad88ac9dbd 
'/usr/bin/git' 'checkout' 'c9e646b2f350c998e5225a67166573ad88ac9dbd'
Note: switching to 'c9e646b2f350c998e5225a67166573ad88ac9dbd'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at c9e646b macoro bump
-- Option: CMAKE_INSTALL_PREFIX    = /usr/local
-- Option: CMAKE_BUILD_TYPE        = Release
	Release
	Debug
	RELWITHDEBINFO
-- Option: COPROTO_NO_SYSTEM_PATH  = 	  ~ do not look in system paths for dependencies
-- Option: COPROTO_FETCH_AUTO      = 	  ~ automatically fetch dependencies
-- Option: COPROTO_FETCH_SPAN      = OFF	  ~ always fetch span
-- Option: COPROTO_FETCH_FUNCTION2 = ON	  ~ always fetch function2
-- Option: COPROTO_FETCH_MACORO    = ON	  ~ always fetch macoro
-- Option: COPROTO_FETCH_BOOST     = OFF	  ~ always fetch boost

-- Option: COPROTO_CPP_VER         = 20
-- Option: COPROTO_PIC             = OFF
-- Option: COPROTO_ASAN            = OFF
-- Option: COPROTO_ENABLE_BOOST    = OFF
-- Option: COPROTO_ENABLE_SPAN     = 
-- Option: COPROTO_ENABLE_OPENSSL  = OFF
-- Option: COPROTO_ENABLE_ASSERTS  = ON

-- Option: COPROTO_STAGE = /home/subin/workspace/libOTe/cmake/../out/install/linux
============= Building macoro =============
Cloning https://github.com/ladnir/macoro.git
'/usr/bin/git' 'clone' 'https://github.com/ladnir/macoro.git'
Cloning into 'macoro'...
Checkout 305b716ec78e9d65275943bd53fa0ed4a7defee8 
'/usr/bin/git' 'checkout' '305b716ec78e9d65275943bd53fa0ed4a7defee8'
Note: switching to '305b716ec78e9d65275943bd53fa0ed4a7defee8'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 305b716 added missing header utility

Options
---------------------------
CMAKE_BUILD_TYPE       = Release	  ~ build type
MACORO_NO_SYSTEM_PATH  = 	  ~ do not look in system paths for dependencies
MACORO_FETCH_AUTO      = true	  ~ automatically fetch dependencies as needed
MACORO_FETCH_OPTIONAL  =   	  ~ fetch optional-lite
MACORO_FETCH_VARIANT   =   	  ~ fetch variant-lite
MACORO_CPP_VER         = 20	  ~ cpp standard version
MACORO_OPTIONAL_LITE   =OFF	  ~ use optional lite
MACORO_VARIANT_LITE    =OFF	  ~ use variant lite
MACORO_PIC             =OFF	  ~ compile with -fPIC on unix
MACORO_ASAN            =OFF	  ~ compile with asan
MACORO_TESTS           =ON	  ~ compile the tests and frontend
---------------------------

-- Option: MACORO_STAGE = /home/subin/workspace/libOTe/out/macoro/out/install/linux
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
============= Building function2 =============
Cloning https://github.com/Naios/function2.git
'/usr/bin/git' 'clone' 'https://github.com/Naios/function2.git'
Cloning into 'function2'...
Checkout 02ca99831de59c7c3a4b834789260253cace0ced 
'/usr/bin/git' 'checkout' '02ca99831de59c7c3a4b834789260253cace0ced'
Note: switching to '02ca99831de59c7c3a4b834789260253cace0ced'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 02ca998 Release 4.2.0 * Includes minor maintainance and stability patches from the last year * Closes #46
Configure
'/usr/bin/cmake' '-S' '/home/subin/workspace/libOTe/cmake/../out//function2' '-B' '/home/subin/workspace/libOTe/cmake/../out//function2/out/build/linux' '-DCMAKE_INSTALL_PREFIX=/usr/local' '-DCMAKE_BUILD_TYPE=Release' '-DBUILD_TESTING=OFF'
-- The CXX compiler identification is GNU 12.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/subin/workspace/libOTe/out/function2/out/build/linux
Build
'/usr/bin/cmake' '--build' '/home/subin/workspace/libOTe/cmake/../out//function2/out/build/linux' '--config' 'Release'
Install
'/usr/bin/cmake' '--install' '/home/subin/workspace/libOTe/cmake/../out//function2/out/build/linux' '--config' 'Release' '--prefix' '/home/subin/workspace/libOTe/cmake/../out/install/linux'
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/function2
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/function2/function2.hpp
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/./LICENSE.txt
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/./Readme.md
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/function2/function2ConfigVersion.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/function2/function2Config.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/function2/function2Targets.cmake
log /home/subin/workspace/libOTe/out/coproto/thirdparty/log-function2.txt
==========================================
============= Building libdivide =============
Cloning https://github.com/ridiculousfish/libdivide.git
'/usr/bin/git' 'clone' 'https://github.com/ridiculousfish/libdivide.git'
Cloning into 'libdivide'...
Checkout b322221677351ebb11f0a42fe9a9a2794da5bfe5 
'/usr/bin/git' 'checkout' 'b322221677351ebb11f0a42fe9a9a2794da5bfe5'
Note: switching to 'b322221677351ebb11f0a42fe9a9a2794da5bfe5'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at b322221 Stop passing multiple targets to cmake build
Install: cp /home/subin/workspace/libOTe/cmake/../out//libdivide/libdivide.h  /home/subin/workspace/libOTe/cmake/../out/install/linux/include/
log /home/subin/workspace/libOTe/cryptoTools/thirdparty/log-libdivide.txt
==========================================
-- LIBDIVIDE_INCLUDE_DIRS:  /home/subin/workspace/libOTe/out/install/linux/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.1") 
-- General Options
=======================================================
-- Option: VERBOSE_FETCH         = ON
-- Option: FETCH_BITPOLYMUL      = ON

-- Option: ENABLE_ALL_OT         = ON/OFF
-- Option: ENABLE_BITPOLYMUL     = ON
-- Option: LIBOTE_STD_VER        = 20
-- Base OT protocols
=======================================================
-- Option: ENABLE_SIMPLESTOT     = OFF
-- Option: ENABLE_SIMPLESTOT_ASM = ON
-- Option: ENABLE_MRR            = OFF
-- Option: ENABLE_MRR_TWIST      = OFF
-- Option: ENABLE_MR             = OFF
-- Option: ENABLE_MR_KYBER       = ON
-- 1-out-of-2 OT Extension protocols
=======================================================
-- Option: ENABLE_KOS            = true
-- Option: ENABLE_IKNP           = ON
-- Option: ENABLE_SILENTOT       = ON
-- Option: ENABLE_SOFTSPOKEN_OT  = ON


-- 1-out-of-2 Delta-OT Extension protocols
=======================================================
-- Option: ENABLE_DELTA_KOS      = ON


-- Vole protocols
=======================================================
-- Option: ENABLE_SILENT_VOLE      = ON


-- 1-out-of-N OT Extension protocols
=======================================================
-- Option: ENABLE_OOS            = ON
-- Option: ENABLE_KKRT           = ON


-- other 
=======================================================
-- Option: NO_KOS_WARNING       = OFF
-- Option: ENABLE_PPRF          = true


============= Building bitpolymul =============
Cloning https://github.com/ladnir/bitpolymul.git
'/usr/bin/git' 'clone' 'https://github.com/ladnir/bitpolymul.git'
Cloning into 'bitpolymul'...
Checkout ba351330f397ce758757f7858d5c479f35a340b4 
'/usr/bin/git' 'checkout' 'ba351330f397ce758757f7858d5c479f35a340b4'
Note: switching to 'ba351330f397ce758757f7858d5c479f35a340b4'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at ba35133 pic and asan support
Configure
'/usr/bin/cmake' '-S' '/home/subin/workspace/libOTe/cmake/../out//bitpolymul' '-B' '/home/subin/workspace/libOTe/cmake/../out//bitpolymul/out/build/linux' '-DCMAKE_INSTALL_PREFIX=/usr/local' '-DCMAKE_BUILD_TYPE:STRING=Release' '-DBITPOLYMUL_ASAN=OFF' '-DBITPOLYMUL_PIC=OFF'
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/subin/workspace/libOTe/out/bitpolymul/out/build/linux
Build
'/usr/bin/cmake' '--build' '/home/subin/workspace/libOTe/cmake/../out//bitpolymul/out/build/linux' '--config' 'Release'
[ 14%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/bc.cpp.o
[ 28%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/bc_to_lch_gen_code.cpp.o
[ 42%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/bc_to_mono_gen_code.cpp.o
[ 57%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/bitpolymul.cpp.o
[ 71%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/btfy.cpp.o
[ 85%] Building CXX object bitpolymul/CMakeFiles/bitpolymul.dir/encode.cpp.o
[100%] Linking CXX static library libbitpolymul.a
[100%] Built target bitpolymul
Install
'/usr/bin/cmake' '--install' '/home/subin/workspace/libOTe/cmake/../out//bitpolymul/out/build/linux' '--config' 'Release' '--prefix' '/home/subin/workspace/libOTe/cmake/../out/install/linux'
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/bitpolymul/bitpolymulBuildOptions.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/bitpolymul/bitpolymulConfig.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/bitpolymul/bitpolymulConfigVersion.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/libbitpolymul.a
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/gf2128_cantor_iso.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/bpmDefines.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/bitpolymul.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/transpose_bit.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/bc_to_gen_code.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/encode.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/bc.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/trunc_btfy_tab.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/btfy.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/gfext_aesni.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/trunc_btfy_tab_64.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/ska.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/transpose.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/gf264_cantor_iso.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/include/bitpolymul/bitmat_prod.h
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/bitpolymul/bitpolymulTargets.cmake
-- Installing: /home/subin/workspace/libOTe/cmake/../out/install/linux/lib/cmake/bitpolymul/bitpolymulTargets-release.cmake
log /home/subin/workspace/libOTe/thirdparty/log-bitpolymul.txt
==========================================
-- bitpolymulConfig.cmake : /home/subin/workspace/libOTe/out/install/linux/lib/cmake/bitpolymul
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    PARALLEL_FETCH


-- Build files have been written to: /home/subin/workspace/libOTe/out/build/linux
[  0%] Building CXX object macoro/macoro/CMakeFiles/macoro.dir/thread_pool.cpp.o
[  0%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/kem.c.o
[  0%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/poly.c.o
[  0%] Building ASM object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/polyvec_pointwise_acc.s.o
[  2%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/polyvec.c.o
[  2%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/fips202.c.o
[  3%] Building ASM object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/cbdeta4.s.o
[  4%] Building ASM object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/invntt.s.o
[  4%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/fips202x4.c.o
[  5%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/genmatrix.c.o
[  5%] Building ASM object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/ntt.s.o
[  6%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/cbdref.c.o
[  6%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/verify.c.o
[  6%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/precomp.c.o
[  6%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/indcpa.c.o
[  7%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/kex.c.o
[  7%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/reduce.c.o
[  7%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/randombytes.c.o
[  8%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/KyberOT.c.o
[  8%] Building C object thirdparty/KyberOT/CMakeFiles/KyberOT.dir/consts.c.o
[  9%] Linking CXX static library libmacoro.a
[  9%] Built target macoro
[  9%] Building CXX object coproto/coproto/CMakeFiles/coproto.dir/Common/error_code.cpp.o
[ 10%] Building CXX object coproto/coproto/CMakeFiles/coproto.dir/Common/CLP.cpp.o
[ 10%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/tests.cpp.o
[ 10%] Building CXX object coproto/coproto/CMakeFiles/coproto.dir/Socket/AsioSocket.cpp.o
[ 10%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/task_tests.cpp.o
[ 10%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/await_lifetime_tests.cpp.o
[ 10%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/take_until_tests.cpp.o
[ 11%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/eager_task_tests.cpp.o
[ 12%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/CLP.cpp.o
[ 13%] Building CXX object coproto/coproto/CMakeFiles/coproto.dir/Socket/SocketScheduler.cpp.o
[ 14%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/sequence_tests.cpp.o
[ 14%] Building CXX object coproto/coproto/CMakeFiles/coproto.dir/Common/Util.cpp.o
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/when_all_tests.cpp.o
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/channel_spsc_tests.cpp.o
[ 15%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/result_tests.cpp.o
[ 16%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/channel_mpsc_tests.cpp.o
[ 16%] Building CXX object macoro/tests/CMakeFiles/macoroTests.dir/async_scope_tests.cpp.o
[ 16%] Linking C static library libKyberOT.a
[ 16%] Built target KyberOT
In file included from /home/subin/workspace/libOTe/out/macoro/tests/result_tests.cpp:5:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = wrapped_awaitable<task<int> >&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = wrapped_awaitable<task<int> >]’
/home/subin/workspace/libOTe/out/macoro/tests/result_tests.cpp:69:29:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::wrapped_awaitable<macoro::task<int> >&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::wrapped_awaitable<macoro::task<int> >&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:146: macoro/tests/CMakeFiles/macoroTests.dir/result_tests.cpp.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/home/subin/workspace/libOTe/out/macoro/tests/await_lifetime_tests.cpp: In lambda function:
/home/subin/workspace/libOTe/out/macoro/tests/await_lifetime_tests.cpp:806:42: error: use of deleted function ‘macoro::tests::{anonymous}::RefOnlyAwaiter::RefOnlyAwaiter(const macoro::tests::{anonymous}::RefOnlyAwaiter&)’
  806 |                                 co_await ref;
      |                                          ^~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:132: macoro/tests/CMakeFiles/macoroTests.dir/await_lifetime_tests.cpp.o] Error 1
/home/subin/workspace/libOTe/out/macoro/tests/take_until_tests.cpp: In function ‘macoro::task<int> macoro::tests::makeTask(macoro::thread_pool&, macoro::stop_source, bool)’:
/home/subin/workspace/libOTe/out/macoro/tests/take_until_tests.cpp:31:77: error: use of deleted function ‘macoro::detail::thread_pool_post_after::thread_pool_post_after(macoro::detail::thread_pool_post_after&&)’
   31 |                                 co_await(ex.schedule_after(milliseconds(15)));
      |                                                                             ^
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:174: macoro/tests/CMakeFiles/macoroTests.dir/take_until_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/when_all_tests.cpp:4:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<std::tuple<detail::when_all_task<int>, detail::when_all_task<bool&> > >&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<std::tuple<detail::when_all_task<int>, detail::when_all_task<bool&> > >]’
/home/subin/workspace/libOTe/out/macoro/tests/when_all_tests.cpp:76:23:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<std::tuple<macoro::detail::when_all_task<int>, macoro::detail::when_all_task<bool&> > >&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<std::tuple<macoro::detail::when_all_task<int>, macoro::detail::when_all_task<bool&> > >&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:160: macoro/tests/CMakeFiles/macoroTests.dir/when_all_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/sequence_tests.cpp:6:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/sequence_tests.cpp:133:13:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:188: macoro/tests/CMakeFiles/macoroTests.dir/sequence_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/channel_spsc_tests.cpp:7:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/channel_spsc_tests.cpp:123:13:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:202: macoro/tests/CMakeFiles/macoroTests.dir/channel_spsc_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/channel_mpsc_tests.cpp:6:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<void>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<void>]’
/home/subin/workspace/libOTe/out/macoro/tests/channel_mpsc_tests.cpp:167:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<void>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<void>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:216: macoro/tests/CMakeFiles/macoroTests.dir/channel_mpsc_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/async_scope_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = scoped_task<int>&&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:215:62:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = scoped_task<int>]’
/home/subin/workspace/libOTe/out/macoro/tests/async_scope_tests.cpp:79:23:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::scoped_task<int>&&>::blocking_promise(const macoro::detail::blocking_promise<macoro::scoped_task<int>&&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:230: macoro/tests/CMakeFiles/macoroTests.dir/async_scope_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/task_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<int>&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:210:61:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<int>&]’
/home/subin/workspace/libOTe/out/macoro/tests/task_tests.cpp:319:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<int>&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<int>&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:104: macoro/tests/CMakeFiles/macoroTests.dir/task_tests.cpp.o] Error 1
In file included from /home/subin/workspace/libOTe/out/macoro/tests/eager_task_tests.cpp:3:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h: In instantiation of ‘macoro::blocking_task<Awaitable> macoro::make_blocking(Awaitable, std::source_location) [with Awaitable = task<int, false>&]’:
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:210:61:   required from ‘decltype(auto) macoro::sync_wait(Awaitable&&, std::source_location) [with Awaitable = task<int, false>&]’
/home/subin/workspace/libOTe/out/macoro/tests/eager_task_tests.cpp:25:22:   required from here
/home/subin/workspace/libOTe/out/macoro/macoro/../macoro/sync_wait.h:187:17: error: use of deleted function ‘macoro::detail::blocking_promise<macoro::task<int, false>&>::blocking_promise(const macoro::detail::blocking_promise<macoro::task<int, false>&>&)’
  187 |                 co_await static_cast<Awaitable&&>(awaitable);
      |                 ^~~~~~~~
compilation terminated due to -Wfatal-errors.
gmake[2]: *** [macoro/tests/CMakeFiles/macoroTests.dir/build.make:118: macoro/tests/CMakeFiles/macoroTests.dir/eager_task_tests.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:403: macoro/tests/CMakeFiles/macoroTests.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
[ 17%] Linking CXX static library libcoproto.a
[ 17%] Built target coproto
gmake: *** [Makefile:136: all] Error 2

@lemonshushu
Copy link
Author

Now I don't need to use this library so please feel free to close this issue.
Thank you for your assistance :)

@ladnir
Copy link
Member

ladnir commented Jan 22, 2025

Sure, out of curiosity are you using something else?

@lemonshushu
Copy link
Author

I needed to use the library just for simple educational purpose (not for production), so I just ended up implementing a proof-of-concept code on my own.
I don't see any other usable OT libraries out there other than this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants