NeoVim compiles fine under GCC 9, but it contains a bug exposed by GCC 9. A simple way to reproduce it is to install the YouCompleteMe plugin -- then, upon starting NeoVim, you'll get an error printed out. NeoVim bug: https://github.com/neovim/neovim/pull/9859 Debian GCC 9 bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925785 Patch to fix: https://github.com/neovim/neovim/commit/d5fd0732e0709c51b28191f6d8425cc924a94560.patch I've dropped the patch in my /etc/portage/patches and verified that things are now working correctly with GCC 9.
This can also be resolved by bumping neovim to the latest stable release (0.3.5).
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e3eafdc9aab9c55badf38754e59acd7cf8aaa3f commit 0e3eafdc9aab9c55badf38754e59acd7cf8aaa3f Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2019-06-13 02:20:23 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2019-06-13 02:24:02 +0000 app-editors/neovim: version bump to 0.3.7 Closes: https://bugs.gentoo.org/686400 Closes: https://bugs.gentoo.org/685162 Signed-off-by: Tim Harder <radhermit@gentoo.org> app-editors/neovim/Manifest | 1 + app-editors/neovim/neovim-0.3.7.ebuild | 96 ++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+)