public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Recover in-tree libiconv build support
@ 2024-04-13 21:58 Arsen Arsenović
  2024-04-13 21:58 ` [PATCH 1/3] toplevel: don't override gettext-runtime/configure-discovered build args Arsen Arsenović
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Arsen Arsenović @ 2024-04-13 21:58 UTC (permalink / raw)
  To: gcc-patches; +Cc: Kévin Le Gouguec, Arsen Arsenović

Evening!

This patchset recovers support for building the toolchain tree with
in-tree libiconv being used for host modules and gettext.  As spotted by
Kévin Le Gouguec <legouguec@adacore.com>, I accidentally removed this
functionality earlier.

This patchset includes the patch sent as:

https://inbox.sourceware.gcc-patches/20231221193243.368541-1-arsen@aarsen.me/

... and so, supersedes that patchset.

For the in-tree case, the old patch functionality was restored and
rebased on top of current iconv.m4.  Of course, this does not work for
gettext, an out-of-tree lib depending on the in-tree libiconv, so, for
that case, we needed to provide the right information to configure, and
suppress logic in iconv.m4 using cache vars.

Build-tested on arm64-apple-darwin21.6.0, and I intend to do further
testing tomorrow.

OK for trunk?  It would be good to get these patches into GCC 14.

I apologize for being quite late with delivering these, I have,
unfortunately, been busied by various external factors.  Hopefully, it
is not too late yet.

Thanks in advance, have a lovely night!

Arsen Arsenović (3):
  toplevel: don't override gettext-runtime/configure-discovered build
    args
  gitignore: ignore /libiconv*
  *: support in-tree libiconv again

 .gitignore             |   1 +
 Makefile.def           |   9 +-
 Makefile.in            | 100 ++++++++---------
 Makefile.tpl           |   8 +-
 config/iconv.m4        |  50 +++++++--
 configure              |  25 +++++
 configure.ac           |  21 ++++
 gcc/configure          | 240 +++++++++++++++++++++++++++++++----------
 libcpp/configure       | 206 ++++++++++++++++++++++++++++-------
 libstdc++-v3/configure | 121 ++++++++++++++++-----
 10 files changed, 601 insertions(+), 180 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-07-08  0:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-13 21:58 [PATCH 0/3] Recover in-tree libiconv build support Arsen Arsenović
2024-04-13 21:58 ` [PATCH 1/3] toplevel: don't override gettext-runtime/configure-discovered build args Arsen Arsenović
2024-04-13 21:58 ` [PATCH 2/3] gitignore: ignore /libiconv* Arsen Arsenović
2024-04-13 21:58 ` [PATCH 3/3] *: support in-tree libiconv again Arsen Arsenović
2024-04-18 16:41 ` [PATCH 0/3] Recover in-tree libiconv build support Kévin Le Gouguec
2024-05-04 18:48 ` Ping: " Arsen Arsenović
2024-06-15 12:50   ` Ping^2: " Arsen Arsenović
2024-07-08  0:30     ` Ping^3: " Arsen Arsenović

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).