facebook / proxygen

A collection of C++ HTTP libraries including an easy to use HTTP server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build fails if liburing is installed

jmccl opened this issue · comments

[ 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

This appears to have resulted from this recent folly commit, adding a call to io_uring_enable_rings.

facebook/folly@07903eb

This is still broken on Manjaro (and I assume any Arch based distros.)

Was fixed by this.

facebook/folly@259c9d6