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

Wrong LD flags for FreeBSD target

    XMLWordPrintable

Details

    • 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

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

        Activity

          People

            kandeler Christian Kandeler
            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