-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 fails with -DCLR_CMAKE_USE_SYSTEM_BROTLI=true
#110751
Comments
cc @tmds |
Tagging subscribers to this area: @dotnet/area-system-io-compression |
A git bisect with
|
I think we need to fix the CMake logic to link against the system brotli libs. Its possible that those steps got lost at some point. |
Currently, this fails on Fedora 41: $ ./build.sh --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=true /p:FullAssemblySigningSupported=false ... [100%] Linking CXX executable singlefilehost ld.lld: error: undefined symbol: BrotliDecoderCreateInstance >>> referenced by entrypoints.c >>> entrypoints.c.o:(s_compressionNative) in archive ../libs-native/System.IO.Compression.Native/libSystem.IO.Compression.Native.a This seems to be a regression introduced when this bit was accidentally dropped: https://github.com/dotnet/runtime/pull/109707/files#diff-7a160e52815fdd808d9415ada41dd5b1748826b27c78277e14f4adcf1ce61511 Fix the build by re-introducing it. Fixes: dotnet#110751
Currently, this fails on Fedora 41: $ ./build.sh --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=true /p:FullAssemblySigningSupported=false ... [100%] Linking CXX executable singlefilehost ld.lld: error: undefined symbol: BrotliDecoderCreateInstance >>> referenced by entrypoints.c >>> entrypoints.c.o:(s_compressionNative) in archive ../libs-native/System.IO.Compression.Native/libSystem.IO.Compression.Native.a This seems to be a regression introduced when this bit was accidentally dropped: https://github.com/dotnet/runtime/pull/109707/files#diff-7a160e52815fdd808d9415ada41dd5b1748826b27c78277e14f4adcf1ce61511 Fix the build by re-introducing it. Fixes: dotnet#110751
Currently, this fails on Fedora 41: $ ./build.sh --cmakeargs -DCLR_CMAKE_USE_SYSTEM_BROTLI=true /p:FullAssemblySigningSupported=false ... [100%] Linking CXX executable singlefilehost ld.lld: error: undefined symbol: BrotliDecoderCreateInstance >>> referenced by entrypoints.c >>> entrypoints.c.o:(s_compressionNative) in archive ../libs-native/System.IO.Compression.Native/libSystem.IO.Compression.Native.a This seems to be a regression introduced when this bit was accidentally dropped: https://github.com/dotnet/runtime/pull/109707/files#diff-7a160e52815fdd808d9415ada41dd5b1748826b27c78277e14f4adcf1ce61511 Fix the build by re-introducing it. Fixes: dotnet#110751
Description
Building the runtime with system brotli fails in the main branch
Reproduction Steps
Expected behavior
Build works
Actual behavior
Linker fails to assemble an executable
Regression?
Yes. This was working some time ago.
Known Workarounds
No response
Configuration
main
branch of dotnet/runtimeOther information
No response
The text was updated successfully, but these errors were encountered: