All versions of sys-boot/refind fail to build with gcc-10 (tested with gcc-10.2.0-r1) in portage tree. The upstream fix is available at: https://sourceforge.net/p/refind/code/ci/e34a16301f425f273a67ed3abbc45840bc82d892/tree/Make.common?diff=a0a1e053fe1010cc5b05fbd31b970426aa94f400 It looks like easy to cherry-pick. Also, from the debian bug tracker, the original author said: > This change doesn't seem to negatively affect compilation on earlier > versions of GCC (at least, not GCC 7.5.0, which is what my main > development system uses); but AFAIK there's also no benefit to applying > this change unless it's necessary, so I don't think there's a need to > apply the patch unless rEFInd is being built on a system with GCC 10. Reproducible: Always Steps to Reproduce: emerge sys-boot/refind while activating gcc:10 Actual Results: build failure due to "undefined reference to `memmove'"
Uh, the debian bug tracker mentioned is at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957754
I created a variant ebuild that applies the one liner fix: https://github.com/ahyangyi/ahyangyi-overlay/blob/master/sys-boot/refind/refind-0.12.0.ebuild
*** This bug has been marked as a duplicate of bug 723244 ***
My bad. I overlooked the existing issue as I was busy (re)installing my system. Sorry for that!