-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
6.10.0
-
None
-
Ubuntu 24.04
When compiling a developer build of QtWebEngine on Ubuntu 24.04 with clang 19 or 20, the build fails with the following error:
FAILED: host/brotli "/usr/bin/python3" "../../../../../../qt5/qtwebengine/src/3rdparty/chromium/build/toolchain/gcc_link_wrapper.py" --output="host/brotli" -- /usr/bin/clang++-20 -Wl,--build-id -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -m64 -no-canonical-prefixes -Wl,-z,defs -Wl,--as-needed -rdynamic -pie -Wl,--disable-new-dtags -o "host/brotli" -Wl,--start-group @"host/brotli.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt -Wl,--start-group -Wl,--end-group /usr/bin/ld: host/obj/third_party/brotli/libcommon.a: error adding symbols: archive has no index; run ranlib to add one clang++-20: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed.
gcc 14 seems to work fine