This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/82708] libmpx fails to compile due to PATH_MAX
- From: "joseph at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 24 Oct 2017 23:13:36 +0000
- Subject: [Bug other/82708] libmpx fails to compile due to PATH_MAX
- Auto-submitted: auto-generated
- References: <bug-82708-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82708
--- Comment #5 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
The expectation for bootstrapping such a cross toolchain is that GCC is
configured and built twice. The first build is static-only, C-only,
inhibit-libc, disables lots of libraries such as libmpx. That is used to
build and install glibc. The second build of GCC, configured with glibc
present, is fully functional with all required languages. See what
glibc's build-many-glibcs.py script does for details of the modern
approach for bootstrapping cross toolchains with glibc.