As gcc-5.4 just is a bugfix release you just have 1) to copy these files: sys-devel/gcc-5.4.0.ebuild from gcc-5.3.0.ebuild <distfiles>/gcc-5.4.0-piepatches-v0.6.5.tar.bz2 from gcc-5.3.0-piepatches-v0.6.5.tar.bz2 <distfiles>/gcc-5.4.0-uclibc-patches-1.0.tar.bz2 from gcc-5.3.0-uclibc-patches-1.0.tar.bz2 2)gcc-5.3.0-patches-1.1.tar.bz2 needs removal of patches to produce a working <distfiles>/gcc-5.4.0-patches-1.1.tar.bz2 because some bugs had been fixed shown at: https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&resolution=FIXED&target_milestone=5.4 My local version bump worked deleting just these files: 36_all_gcc-ia64-pr60465.patch 77_all_gcc-5-pr65958.patch 85_all_gcc5-aarch64-pr65689.patch 91_all_pr69140-msabi-stack-alignment.patch My recompiling of amd64 @system seems to work keeping following prNNNNN files alive: 38_all_sh_pr24836_all-archs.patch 70_all_gcc-5-pr546752.patch 90_all_pr55930-dependency-tracking.patch And of course all other patches put in: <distfiles>/gcc-5.4.0-patches-1.1.tar.bz2
Don't CC arches for a version bump request.
After some hours testing the gcc-5.4.0 by using the command: emerge -1 @system $(qlist -IC libs dev-qt ) successfully compiled 257 out of ongoing 352 packages. Without any error: unstable Gentoo ~amd64 2009 Macmini coreDuo system.
gcc-5.4.0 now in the tree: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af540eee94ebd2328bececeaa36b7a056d199344