[llvm] [llvm] Fix SupportHTTP linkage with libLLVM in unit-tests (PR #190097)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 1 18:59:30 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 99887 tests passed
* 2039 tests skipped
All executed tests passed, but another part of the build **failed**. Click on a failure below to see the details.
<details>
<summary>unittests/Debuginfod/DebuginfodTests</summary>
```
FAILED: unittests/Debuginfod/DebuginfodTests
: && /opt/llvm/bin/clang++ -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -no-pie -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections unittests/Debuginfod/CMakeFiles/DebuginfodTests.dir/DebuginfodTests.cpp.o -o unittests/Debuginfod/DebuginfodTests -lLLVMLLVMSupportHTTP lib/libLLVMSupport.a lib/libllvm_gtest_main.a lib/libllvm_gtest.a lib/libLLVMDebuginfod.a lib/libLLVMTestingSupport.a lib/libLLVMSupportHTTP.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoGSYM.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMObject.a lib/libLLVMIRReader.a lib/libLLVMBitReader.a lib/libLLVMAsmParser.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMDebugInfoDWARFLowLevel.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libllvm_gtest.a lib/libLLVMSupport.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a -lpthread && :
ld.lld: error: unable to find library -lLLVMLLVMSupportHTTP
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
</details>
<details>
<summary>unittests/Support/HTTP/SupportHTTPTests</summary>
```
FAILED: unittests/Support/HTTP/SupportHTTPTests
: && /opt/llvm/bin/clang++ -gmlt -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -no-pie -fuse-ld=lld -Wl,--color-diagnostics -Wl,--gc-sections unittests/Support/HTTP/CMakeFiles/SupportHTTPTests.dir/HTTPServerTests.cpp.o -o unittests/Support/HTTP/SupportHTTPTests -lLLVMLLVMSupportHTTP lib/libLLVMSupport.a lib/libllvm_gtest_main.a lib/libllvm_gtest.a lib/libLLVMTestingSupport.a lib/libllvm_gtest.a lib/libLLVMSupport.a -lrt -ldl -lm /usr/lib/x86_64-linux-gnu/libz.so lib/libLLVMDemangle.a -lpthread && :
ld.lld: error: unable to find library -lLLVMLLVMSupportHTTP
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
```
</details>
If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.
https://github.com/llvm/llvm-project/pull/190097
More information about the llvm-commits
mailing list