[v2 PATCH 0/1] Fix ld error due to '-shared' not support
Jim Wilson
jim.wilson.gcc@gmail.com
Mon Dec 27 23:07:39 GMT 2021
More information about the Binutils mailing list
Mon Dec 27 23:07:39 GMT 2021
- Previous message (by thread): [v2 PATCH 1/1] Fix ld error due to -shared not support.
- Next message (by thread): [v2 PATCH 0/1] Fix ld error due to '-shared' not support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Dec 22, 2021 at 10:20 PM jiawei <jiawei@iscas.ac.cn> wrote: > jiawei (1): > Fix ld error due to -shared not support. > > ld/testsuite/ld-ctf/ctf.exp | 5 +++++ > ld/testsuite/ld-plugin/lto.exp | 2 +- > 2 files changed, 6 insertions(+), 1 deletion(-) > This looks OK to me. I don't think --shared is required by the ctf support, maybe adding that just made the tests easier to write. Meanwhile, since they all use --shared it is OK to add the check to verify that --shared is supported. And the lto.exp change is trivially correct also. Another way to fix this is to add the missing newlib support we need to make riscv*-elf shared library support work, and then we can enable the linker shared library support for riscv*-elf. The linker support is fine. it is just that all --shared tests will fail because of the newlib problem, which then leads to confusing ld testsuite results. But fixing newlib is more of a long term issue, and in the short term we should fix the ld testsuite. Jim
- Previous message (by thread): [v2 PATCH 1/1] Fix ld error due to -shared not support.
- Next message (by thread): [v2 PATCH 0/1] Fix ld error due to '-shared' not support
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list