Closed jmccl closed 1 year ago
[ 89%] Linking CXX executable SessionTests /usr/bin/ld: ../../../../../deps/lib/libfolly.a(IoUringBackend.cpp.o): in functionfolly::IoUringBackend::delayedInit()': /home/john/third-party/proxygen/proxygen/_build/deps/folly/folly/experimental/io/IoUringBackend.cpp:1361: undefined reference to io_uring_enable_rings' collect2: error: ld returned 1 exit status make[2]: *** [proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/build.make:266: proxygen/lib/http/session/test/SessionTests] Error 1 make[1]: *** [CMakeFiles/Makefile2:1612: proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
[ 89%] Linking CXX executable SessionTests /usr/bin/ld: ../../../../../deps/lib/libfolly.a(IoUringBackend.cpp.o): in function
io_uring_enable_rings' collect2: error: ld returned 1 exit status make[2]: *** [proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/build.make:266: proxygen/lib/http/session/test/SessionTests] Error 1 make[1]: *** [CMakeFiles/Makefile2:1612: proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
This appears to have resulted from this recent folly commit, adding a call to io_uring_enable_rings.
https://github.com/facebook/folly/commit/07903eb9b8962ddcf0132dc136e0e1d7fc9368cb
Fixed here:
https://github.com/facebook/folly/issues/1908
This is still broken on Manjaro (and I assume any Arch based distros.)
Was fixed by this.
https://github.com/facebook/folly/commit/259c9d6a4f0eb6d80e0263c2fe5d1af5bff116dc
[ 89%] Linking CXX executable SessionTests /usr/bin/ld: ../../../../../deps/lib/libfolly.a(IoUringBackend.cpp.o): in function
folly::IoUringBackend::delayedInit()': /home/john/third-party/proxygen/proxygen/_build/deps/folly/folly/experimental/io/IoUringBackend.cpp:1361: undefined reference toio_uring_enable_rings' collect2: error: ld returned 1 exit status make[2]: *** [proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/build.make:266: proxygen/lib/http/session/test/SessionTests] Error 1 make[1]: *** [CMakeFiles/Makefile2:1612: proxygen/lib/http/session/test/CMakeFiles/SessionTests.dir/all] Error 2 make: *** [Makefile:146: all] Error 2
This appears to have resulted from this recent folly commit, adding a call to io_uring_enable_rings.
https://github.com/facebook/folly/commit/07903eb9b8962ddcf0132dc136e0e1d7fc9368cb