Hi, i have problem when compiling vim-7.2 in LFS64
TIA
==================================================
bash-4.0$ cc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc/configure --prefix=/usr --libexecdir=/usr/lib
--enable-shared --enable-threads=posix --enable-__cxa_atexit
--enable-clocale=gnu --enable-languages=c,c++ --disable-bootstrap
--disable-multilib
Thread model: posix
gcc version 4.5.0 20090407 (experimental) (GCC)
bash-4.0$ pwd
/home/user/d/vim7.2
bash-4.0$ make
Starting make in the src directory.
If there are problems, cd to the src directory and run make there
cd src && make first
make[1]: Entering directory `/home/user/d/vim7.2/src'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o
objects/spell.o spell.c
spell.c: In function :
spell.c:5720: warning: offset outside bounds of constant string
spell.c:5733: warning: offset outside bounds of constant string
spell.c:5733: warning: offset outside bounds of constant string
spell.c:5772: warning: offset outside bounds of constant string
spell.c:5783: warning: offset outside bounds of constant string
spell.c:5785: warning: offset outside bounds of constant string
spell.c:5806: warning: offset outside bounds of constant string
spell.c:6046: warning: offset outside bounds of constant string
spell.c: In function :
spell.c:6557: warning: offset outside bounds of constant string
spell.c: In function :
spell.c:7059: internal compiler error: in fold_binary, at fold-const.c:9642
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [objects/spell.o] Error 1
make[1]: Leaving directory `/home/user/d/vim7.2/src'
make: *** [first] Error 2
bash-4.0$ vi fold-const.c +9642
gcc_assert (IS_EXPR_CODE_CLASS (kind)
&& TREE_CODE_LENGTH (code) == 2
&& op0 != NULL_TREE
&& op1 != NULL_TREE);
--
Summary: internal compiler error: in fold_binary, at fold-
const.c:9642
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: happyarch at gmail dot com
GCC build triplet: x86_64
GCC host triplet: x86_64
GCC target triplet: x86_64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39673