Skip to content

configure: Specifying LD doesn't and can't do what you want

The configure script allows you to specify LD=, but we never directly call LD, we only ever call the C compiler with -fuse-ld=....

If you specify LD=.. we don't engineer that we will use that linker when linking, because we don't know which one it is.

The way to specify to use a certain linker is more specifically CONF_GCC_LINKER_OPTS_STAGE2=-fuse-ld=gold but I am also not sure this plays nicely with the FIND_LD` check.

At the moment you probably have to specify LD=/path/to/gold and also -fuse-ld=gold for things to work as expected.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information