diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2022-04-13 14:09:33 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2022-04-20 13:54:57 +0100 |
commit | c644b7df11afc818d6308c3776813e50e4ebe551 (patch) | |
tree | ce0877355aee3a36bc2823d551d6517e1c4d35a7 /gcc/d/d-lang.cc | |
parent | 4d4eaa77a7d27bf7b220c3be79615410c873fcf1 (diff) | |
download | gcc-c644b7df11afc818d6308c3776813e50e4ebe551.zip gcc-c644b7df11afc818d6308c3776813e50e4ebe551.tar.gz gcc-c644b7df11afc818d6308c3776813e50e4ebe551.tar.bz2 |
libstdc++: Use LTLIBICONV when linking libstdc++.so [PR93602]
This fixes missing libiconv symbols when libstdc++ is built on a system
that has libiconv installed. If the libiconv headers are found then
libstdc++ depends on libiconv_open etc instead of libc's iconv_open. But
without this fix libstdc++ is not linked to the libiconv library that
provides the definitions of those symbols.
As discussed in PR 93602 this changed means that libstdc++.so.6 might
have an rpath pointing to the location of the libiconv.so library. If
that is not desired, then GCC must be configured to link to a static
libiconv.a instead, using either --with-libiconv-type=static or an
in-tree build of libiconv.
libstdc++-v3/ChangeLog:
PR libstdc++/93602
* doc/xml/manual/prerequisites.xml: Document libiconv
workarounds.
* doc/html/manual/setup.html: Regenerate.
* src/Makefile.am (CXXLINK): Add $(LTLIBICONV).
* src/Makefile.in: Regenerate.
Diffstat (limited to 'gcc/d/d-lang.cc')
0 files changed, 0 insertions, 0 deletions