This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/61101] snprintf not part of std
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 08 May 2014 00:00:37 +0000
- Subject: [Bug libstdc++/61101] snprintf not part of std
- Auto-submitted: auto-generated
- References: <bug-61101-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61101
--- Comment #17 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Maxime Boissonneault from comment #5)
> Basically, we started with the system GCC. We compiled GCC, GMP, MPFR,
> MPC_V, with that system GCC. Then, we uninstalled the system GCC and its
> libstdc++ and recompiled those with the GCC we had just compiled.
This sounds like a big waste of time.
(In reply to Maxime Boissonneault from comment #6)
> Here is our complete installation document :
> https://docs.google.com/a/calculquebec.ca/document/d/
> 1hcddCXGnm6OgTwRxRDU2akb-AxKx2aursppLp2JPwWo/edit
>
> It went :
> - System GCC compiled GCC 4.8.1
> system GCC was removed.
This step might have broken your system.
> - GCC 4.8.1 compiled GCC 4.8.2
> - GCC 4.8.2 compiled GCC 4.6.4
>
> Each time we bootstrapped, so that in the end, I believe GCC 4.8.2 was
> compiled with 4.8.2, etc.
(In reply to Maxime Boissonneault from comment #15)
> The reason we bootstrap is to remove as many dependencies as possible on the
> OS-provided packages. We've been bitten in the past with updates of packages
> (even on CentOS6) that broke user's codes.
GCC should have almost no dependencies on system libraries, just libc.so
(although I note you've used --with-system-zlib, so that adds one dependency)
Installing GMP, MPFR and MPC instead of linking statically also adds avoidable
dependencies.