"vim --version|grep fall" show this line: fall-back for $VIM: "/usr/local/share/vim" but there is no this directory; all vim data stored in /usr/share/vim.
what version are you running? etc fall-back for $VIM: "/usr/share/vim" is what i show running the masked eclass based vim
# vim --version|grep fall fall-back for $VIM: "/usr/local/share/vim" # emerge -s vim Searching... [ Results for search key : vim ] [ Applications found : 4 ] * app-editors/gvim Latest version available: 6.1-r2 Latest version installed: [ Not Installed ] Homepage: http://www.vim.org/ Description: gvim * app-editors/kvim Latest version available: 6.1.141 Latest version installed: [ Not Installed ] Homepage: http://www.freehackers.org/kvim Description: KDE editor based on vim * app-editors/vim Latest version available: 6.1-r15 Latest version installed: 6.1-r15 Homepage: http://www.vim.org/ Description: Vi IMproved! * app-editors/vim-core Latest version available: 6.1-r2 Latest version installed: 6.1-r2 Homepage: http://www.vim.org/ Description: vim, gvim and kvim shared files
which version portage, gcc, gentoo, cflags, use vars, etc?
gcc-3.2-r1 gentoo 1.4_rc1 portage-2.0.43 USE='nls gif mmx sse objprelink mitshm oss tcltk -gnome' CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4" CXXFLAGS="${CFLAGS}"
this might be crazy talk but what happens if u bring the cflags down to just -march=pentium3 -O3 -pipe and recompile it?
I setup environment variables to CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" and run emerge vim emerge download and install sys-libs/libtermcap-compat and then recompile vim with right "fall-back for $VIM" directory. Then I fallback to my CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -falign-functions=4" and reinstall again. Nothing changes - fall-back directory is correct. For testing purposes I also recompile vim-core but nothing changes again. So I think I did "emerge rsync" when something was changing in portage tree.