Details
Description
gcc.js contains this code:
if (product.moduleProperty("qbs", "targetOS").contains("linux")) { args.push("-Wl,--hash-style=gnu", "-Wl,--as-needed"); args.push("-Wl,-soname=" + UnixUtils.soname(product, primaryOutput.fileName)); }
However, --hash-style=gnu linker options produces compilation error on MIPS:
/usr/bin/ld: .gnu.hash is incompatible with the MIPS ABI collect2: error: ld returned 1 exit status
I believe it will be better to not hardcode the hash style (and rely on binutils default choice) or add a check that architecture is not MIPS.
Attachments
For Gerrit Dashboard: QBS-696 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
96676,3 | remove --hash-style option from linker command line | 1.3 | qbs/qbs | Status: MERGED | +2 | 0 |