commit: ed081df12a0fbb5ee39bb148e692a625bd8a4317 Author: Matthias Maier <tamiko <AT> 43-1 <DOT> org> AuthorDate: Sat Jun 23 17:50:46 2018 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Sat Jun 23 18:50:52 2018 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=ed081df1
2018-06-23-mpfr-4-update: Add news item .../2018-06-23-mpfr-4-update.en.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/2018-06-23-mpfr-4-update/2018-06-23-mpfr-4-update.en.txt b/2018-06-23-mpfr-4-update/2018-06-23-mpfr-4-update.en.txt new file mode 100644 index 0000000..a93df9a --- /dev/null +++ b/2018-06-23-mpfr-4-update/2018-06-23-mpfr-4-update.en.txt @@ -0,0 +1,29 @@ +Title: dev-libs/mpfr 4 upgrade +Author: Matthias Maier <[email protected]> +Posted: 2018-06-23 +Revision: 1 +News-Item-Format: 2.0 +Display-If-Installed: <dev-libs/mpfr-4 + +dev-libs/mpfr-4 introduced an ABI and soname change that has the potential +of breaking the compiler toolchain. In order to minimize potential problems +it is strongly recommended to rebuild mpc and gcc immediately after mpfr. +You can do this by running + + emerge --ask --oneshot ">=dev-libs/mpfr-4" dev-libs/mpc sys-devel/gcc + +Detailed explanation: + +libmpfr.so is used by libmpc.so (provided by dev-libs/mpc), as well as by +internal executables (e.g. cc1, cc1plus) of sys-devel/gcc. Appropriate +subslots in mpfr and slot-operators in dependencies in mpc and gcc will +cause a rebuild of mpc and gcc after an upgrade of mpfr. + +However, after mpfr-4 is installed and mpc rebuiltd, but *before* gcc is +rebuilt, gcc will be in an inconsistent state wherein symbols from +incorrect library versions of mpfr might get used. This can result in +segfaults and internal compiler errors. It is therefore important to +rebuild gcc immmediately after mpc. + +A detailed update guide with troubleshoot section can be found on the wiki: +https://wiki.gentoo.org/wiki/Mpfr4-update-guide
