-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
With '--build-static' enabled, rdma-core is failed to probe by configure #1801
Comments
I just figure out this issue by static probe the libiberbs/librdmacm/librpma library, as below:
File#configure#Line#1008
File#configure#Line#1027
File#configure#Line#1047 And I have pulled a request #1806 to fix this static build problem. |
HuangShumin
added a commit
to HuangShumin/fio
that referenced
this issue
Sep 24, 2024
…1801 Fix configure with --build-static option which enables static RDMA in Issue axboe#1801 This pull request to probe static libibverbs/librdmacm library. It's neccessary to enable static RDMA engine build with netlink libnl-3 and libnl-route-3. Signed-off-by: Huang Shumin longway68@qq.com
HuangShumin
added a commit
to HuangShumin/fio
that referenced
this issue
Sep 24, 2024
…1801 Fix configure with --build-static option which enables static RDMA in Issue axboe#1801 This pull request to probe static libibverbs/librdmacm library. It's neccessary to enable static RDMA engine build with netlink libnl-3 and libnl-route-3. Signed-off-by: Huang Shumin longway68@qq.com
Fixed by #1818 |
axboe
pushed a commit
that referenced
this issue
Sep 26, 2024
* 'master' of https://github.com/HuangShumin/fio: Fix configure with --build-static which enables static RDMA in #1801
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please acknowledge the following before creating a ticket
Description of the bug:
fio-3.37 cannot be built with static rdma engine, even with libibverbs-dev/librdmacm-dev static libraries installed.
Environment: Debian 12.5
fio version: fio-3.37
Reproduction steps
Troubleshooting
After I modify configure script contents as below:
configure is able to probe static library of rdma, but it's reported with undefined errors by gcc ld as
Anyone who cares about this issue? I would like building a static and portable fio that's indepent to Linux distro.
Best Regards,
The text was updated successfully, but these errors were encountered: