diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-06-20 15:28:12 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-07-02 00:51:34 -0700 |
commit | 23f12e6e0c95aaf8b5b4973d029db794a43f248a (patch) | |
tree | 0a1f40e34bcefc6644c16a618e31081e912a7c8d /INSTALL | |
parent | dce754b1553b86fc6352636f1fa490a85b7cf0ff (diff) | |
download | glibc-23f12e6e0c95aaf8b5b4973d029db794a43f248a.tar.gz glibc-23f12e6e0c95aaf8b5b4973d029db794a43f248a.tar.xz glibc-23f12e6e0c95aaf8b5b4973d029db794a43f248a.zip |
Add --disable-static-c++-link-check option [BZ #31412]
The current minimum GCC version of glibc build is GCC 6.2 or newer. But 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. Add --disable-static-c++-link-check configure option to disable the static C++ link test. The newly built i686 libc.a can be used by GCC 6.4 to create static C++ tests. This fixes BZ #31412. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'INSTALL')
-rw-r--r-- | INSTALL | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL index 208ec98d4b..02151e6e99 100644 --- a/INSTALL +++ b/INSTALL @@ -224,6 +224,14 @@ if 'CFLAGS' is specified it must enable optimization. For example: By default for x86_64, the GNU C Library is built with the vector math library. Use this option to disable the vector math library. +'--disable-static-c++-link-check' + By default, if the C++ toolchain lacks support for static linking, + configure fails to find the C++ header files and the glibc build + fails. Use this option to disable the static C++ link check so + that the C++ header files can be located. The newly built libc.a + can be used to create static C++ tests if the C++ toolchain has the + necessary static C++ libraries. + '--disable-scv' Disable using 'scv' instruction for syscalls. All syscalls will use 'sc' instead, even if the kernel supports 'scv'. PowerPC only. |