Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-1312

Wrong LD flags for FreeBSD target

    XMLWordPrintable

    Details

    • Commits:
      0ad9f1ccb57d5dd8c6c9badbd032b510d27a6650 (qbs/qbs/1.20)

      Description

      Qbs passes "-m elf_i386" for x86 and "-m elf_x86_64" for x86_64. It sets System V ABI in the final ELF. While such binaries seems to work on FreeBSD, some tools report that they are not FreeBSD ELF objects. The correct flags are "-m elf_i386_fbsd" and "-m elf_x86_64_fbsd".

      Workaround: set correct flags in a profile's cpp.targetLinkerFlags property.

        Attachments

        For Gerrit Dashboard: QBS-1312
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            kandeler Christian Kandeler
            Reporter:
            villytiger Ilya Lyubimov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes