-o refind_x64.so -leg -lmok -lEfiLib -lefi -lgnuefi /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/libgcc.a x86_64-pc-linux-gnu-ld: line_edit.o: in function line_edit: line_edit.c:(.text+0x41b): undefined reference to memmove x86_64-pc-linux-gnu-ld: line_edit.c:(.text+0x4e2): undefined reference to memmove make[1]: *** [Makefile:48: refind_x64.so] Error 1 make[1]: Leaving directory /var/tmp/portage/sys-boot/refind-0.12.0/work/refind-0.12.0/refind ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_systemd-20200512-121505 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.1.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 (fallback) [3] python3.6 (fallback) [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-bin-1.43.1 [2] rust-1.43.1 * The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Fri 15 May 2020 01:05:27 PM UTC emerge -qpvO sys-boot/refind [ebuild N ] sys-boot/refind-0.12.0 USE="ext2 ext4 (gnuefi) iso9660 -btrfs (-custom-cflags) -doc -hfs -ntfs -reiserfs"
Created attachment 639336 [details] emerge-info.txt
Created attachment 639338 [details] emerge-history.txt
Created attachment 639340 [details] environment
Created attachment 639342 [details] etc.portage.tbz2
Created attachment 639344 [details] sys-boot:refind-0.12.0:20200515-133440.log
Created attachment 639346 [details] temp.tbz2
The same problem. A useful link: https://sourceforge.net/p/refind/code/ci/aa4d4b0367899b1932e866048e5767a13d0a6dd4/
Created attachment 643932 [details, diff] patch for compile with gcc 10 fix from https://sourceforge.net/p/refind/code/ci/aa4d4b0367899b1932e866048e5767a13d0a6dd4/tree/NEWS.txt?diff=e34a16301f425f273a67ed3abbc45840bc82d892
(In reply to Lineu Martins from comment #8) > Created attachment 643932 [details, diff] [details, diff] > patch for compile with gcc 10 > > fix from > https://sourceforge.net/p/refind/code/ci/ > aa4d4b0367899b1932e866048e5767a13d0a6dd4/tree/NEWS. > txt?diff=e34a16301f425f273a67ed3abbc45840bc82d892 previous link was wrong https://sourceforge.net/p/refind/code/ci/e34a16301f425f273a67ed3abbc45840bc82d892/tree/Make.common?diff=a0a1e053fe1010cc5b05fbd31b970426aa94f400
*** Bug 734926 has been marked as a duplicate of this bug. ***
The patch resolves my issue on amd64 as well.
To the maintainer: do you intend to apply this patch or wait for a new upstream release?
Sorry, I have no time for that, so will wait for next upstream release.
*** Bug 736824 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aa0c940ee1fc5a5efc5800ee69f676e3710d24a commit 1aa0c940ee1fc5a5efc5800ee69f676e3710d24a Author: Theo Anderson <telans@posteo.de> AuthorDate: 2020-11-27 10:51:00 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2020-12-07 07:30:20 +0000 sys-boot/refind: add GCC 10 patch / custom-cflags fix Closes: https://bugs.gentoo.org/723244 Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Theo Anderson <telans@posteo.de> Signed-off-by: Joonas Niilola <juippis@gentoo.org> sys-boot/refind/files/refind-0.12.0-gcc10.patch | 11 +++++++++++ sys-boot/refind/refind-0.12.0-r1.ebuild | 12 ++++++++---- 2 files changed, 19 insertions(+), 4 deletions(-)