diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-01-02 04:41:31 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-01-02 07:08:44 +0100 |
commit | a3adb6f82eb582f5bc52037018ad3b7b53bb4bd1 (patch) | |
tree | 4f3128beeb559c3f6111b9a6b00b6241756bf4cb /download.lst | |
parent | 7f5140fb8cf3d127b5cb8704d277b03de2f63b51 (diff) |
Error-out on --enable-ld with path and gcc
Now that mold can successfully link LO and its unit tests (needs
mold 1.0.1 or later), gcc could support an alternative linker
with '-B<path>' to search for its tools in some extra path.
But it turns out that libtool filters the '-B' option from its
arguments, so it falls back to some system ld. But since we
already tested "our" ld for some features, this might not match,
resulting in libtool failing to link externals, like orcus.
The original use case was testing mold, which can also be done
by using LD_PRELOAD=/usr/lib/mold/mold-wrapper.so, so this patch
just shows an error, if gcc is used with an use_ld_path.
Change-Id: I9c7860895f8b24a5f3fc4b1e0fd5232be22293f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127493
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'download.lst')
0 files changed, 0 insertions, 0 deletions