Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
1.13.0
-
None
-
-
7f47efe5b (2.2)
Description
Hello,
on Linux `cpp.systemRunPaths` are auto detected via `ldconfig`. But the gold linker does not rely on values configured with/for ldconfig. So when trying to link against libraries which are placed in `/usr/local/lib` Qbs assumes that the linker searches automatically this directory too and does not append `-L/usr/local/lib`.
Either the `runPathsProbe` in `LinuxGCC.qbs` has to be updated to respect other linkers or `linkerFlags` in `gcc.js` should not remove `systemRunPaths`-paths from `libraryPaths`.
Attachments
For Gerrit Dashboard: QBS-1436 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
511478,3 | GCC: Filter compiler built-ins from list of library paths | 2.2 | qbs/qbs | Status: MERGED | +2 | -1 |