Andrew Hutchinson wrote:
> When AVR target is built, without explicitly disabling LTO, it will
> produce 1000's of testsuite failures of -LTO -WHOPR tests with this
> compilation error:
> 
> "ld: -f may not be used without -shared"
> 
> Any idea what is wrong or how to make LTO work correctly here?

  The standard way to be proceed would be: add -v to the command-line in the
PR; find out what is actually getting passed to ld; figure out what kind of
specs-processing accident (most likely) is causing ld to receive a -f option.

    cheers,
      DaveK

Reply via email to