-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
ERROR: /home/runner/work/Enzyme-JAX/Enzyme-JAX/src/enzyme_ad/jax/BUILD:844:17: Linking src/enzyme_ad/jax/enzyme_call.so failed: (Exit 1): gcc failed: error executing CppLink command (from target //src/enzyme_ad/jax:enzyme_call.so) /usr/bin/gcc @bazel-out/aarch64-opt/bin/src/enzyme_ad/jax/enzyme_call.so-2.params
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
/usr/bin/ld.gold: error: Stub is too far away, try a smaller value for '--stub-group-size'. The current value is 0x7ffbffc.
/usr/bin/ld.gold: error: Stub is too far away, try a smaller value for '--stub-group-size'. The current value is 0x7ffbffc.
collect2: error: ld returned 1 exit status
There are very few occurrences of similar errors on the internet, one thing I'd try when I have time (which is, not now) is to link with lld. I'm even surprised (but maybe I shouldn't?) gold is used in the first place, since it's not maintained by anyone anymore.
Metadata
Metadata
Assignees
Labels
No labels