Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-93897

Cannot find linker

    XMLWordPrintable

Details

    • 4f1ccf66fb672ac563a31e2dbbfde314d0004a60 (yocto/meta-boot2qt/dev) d1edc280348981c225ee4057baae84e3a1d5fd18 (yocto/meta-boot2qt/6.1)

    Description

      When using the SDK without sourcing the setup-environment-* script, builds of Qt modules fail when they cannot find the linker.

      collect2: fatal error: cannot find ‘ld’
      compilation terminated. 

      Problem got introduced with Change-Id: I743e4b4ed882f936af47a7f5a3b13f24b0635426, that made the bfd linker the default instead of gold by inserting -fuse-ld=bfd into compiler arguments. This makes compiler try to find ld.bfd binary that is not found.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes