-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Ubuntu Jammy: fails to build with "--lto-CGO2: unknown option" #136822
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
Comments
I don't see how my change could have caused it. The change is a simple bug fix for wasm-ld, it should not impact the gold linker plugin. Can you bisect it please? |
Yeah it's most likely that patch. I'm going to guess that passing |
@jhuber6 yeah, it would be nice if you could fix it :) thanks |
@llvm/issue-subscribers-offload Author: Sylvestre Ledru (sylvestre)
With gold as linker:
```
FAILED: /build/source/build-llvm/tools/clang/stage2-bins/lib/libomptarget-amdgpu.bc
|
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm#136729 lands. Fixes llvm#136822
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm/llvm-project#136729 lands. Fixes llvm/llvm-project#136822
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm#136729 lands. Fixes llvm#136822
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm#136729 lands. Fixes llvm#136822
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm#136729 lands. Fixes llvm#136822
Summary: Override the default linker in case the user is passing it separately. This requires `lld` but it always did. This will be fixed *properly* when llvm#136729 lands. Fixes llvm#136822
With gold as linker:
full log:
https://llvm-jenkins.debian.net/job/llvm-toolchain-jammy-binaries/architecture=amd64,distribution=jammy,label=amd64/2077/consoleFull
2b002d6 built fine
I guess it has been caused by #136197
cc @BertalanD @sbc100
The text was updated successfully, but these errors were encountered: