public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Opt-out static C++ link check and tests
@ 2024-05-25 12:26 H.J. Lu
  2024-05-25 12:26 ` [PATCH v2 1/2] Add --disable-static-c++-link-check option [BZ #31412] H.J. Lu
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: H.J. Lu @ 2024-05-25 12:26 UTC (permalink / raw)
  To: libc-alpha; +Cc: fweimer

The current glibc build and test will fail if static C++ link doesn't
work.  There are cases where static C++ link is hard to supported:

1. Building i686 glibc with GCC 6.4 on Fedora 40 failed since the C++
header files couldn't be found which was caused by the static C++ link
check failure due to missing __divmoddi4 which was referenced in i686
libc.a and added to GCC 7. 
2. Glibc test won't finish because static C++ tests fail when the C++
toolchain doesn't have necessary static C++ libraries which may not be
easily installed.

Add --disable-static-c++-link-check configure option to disable the static
C++ link check.  Add --disable-static-c++-tests option to skip the static
C++ tests which also implies --disable-static-c++-link-check.

H.J. Lu (2):
  Add --disable-static-c++-link-check option [BZ #31412]
  Add --disable-static-c++-tests option [BZ #31797]

 INSTALL             | 17 +++++++++++++++++
 configure           | 44 ++++++++++++++++++++++++++++++++++++--------
 configure.ac        | 35 +++++++++++++++++++++++++----------
 manual/install.texi | 16 ++++++++++++++++
 nptl/Makefile       |  3 +++
 5 files changed, 97 insertions(+), 18 deletions(-)

-- 
2.45.1


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

end of thread, other threads:[~2024-06-20 18:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-25 12:26 [PATCH v2 0/2] Opt-out static C++ link check and tests H.J. Lu
2024-05-25 12:26 ` [PATCH v2 1/2] Add --disable-static-c++-link-check option [BZ #31412] H.J. Lu
2024-06-20 18:22   ` Carlos O'Donell
2024-05-25 12:26 ` [PATCH v2 2/2] Add --disable-static-c++-tests option [BZ #31797] H.J. Lu
2024-06-20 18:22   ` Carlos O'Donell
2024-06-20 18:23 ` [PATCH v2 0/2] Opt-out static C++ link check and tests Carlos O'Donell

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).