lld-17和lld-18都报错,请高手出手相助。
debian@localhost:~/source/chromium-119.0.6045.199/out/Release$ "python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./brotli" -- clang++-18 -fuse-ld=lld-18 -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--undefined-version -Wl,--no-call-graph-profile-sort --target=loongarch64-linux-gnu -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--as-needed -Wl,--disable-new-dtags -Wl,-z,relro -Wl,-z,now -Wl,--stats -o "./brotli" -Wl,--start-group @"./brotli.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt
ld.lld-18: error: /lib/loongarch64-linux-gnu/Scrt1.o:(.text+0x0): unknown relocation (102) against symbol
clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)
debian@localhost:~/source/chromium-119.0.6045.199/out/Release$ "python3" "../../build/toolchain/gcc_link_wrapper.py" --output="./brotli" -- clang++-17 -fuse-ld=lld-17 -Wl,--fatal-warnings -Wl,--build-id=sha1 -fPIC -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--icf=all -Wl,--color-diagnostics -Wl,--undefined-version -Wl,--no-call-graph-profile-sort --target=loongarch64-linux-gnu -no-canonical-prefixes -Wl,-O2 -Wl,--gc-sections -rdynamic -Wl,-z,defs -Wl,--as-needed -Wl,--disable-new-dtags -Wl,-z,relro -Wl,-z,now -Wl,--stats -o "./brotli" -Wl,--start-group @"./brotli.rsp" -Wl,--end-group -latomic -ldl -lpthread -lrt
ld.lld-17: error: /lib/loongarch64-linux-gnu/Scrt1.o:(.text+0x0): unknown relocation (102) against symbol
clang++-17: error: linker command failed with exit code 1 (use -v to see invocation)