[Bug target/42164] mm/rmap.c:860:1: internal compiler error: in simplify_subreg, at simplify-rtx.c:5138

wuzhangjin at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Nov 25 01:17:00 GMT 2009



------- Comment #5 from wuzhangjin at gmail dot com  2009-11-25 01:17 -------
Subject: Re:  mm/rmap.c:860:1: internal compiler error:
 in simplify_subreg, at simplify-rtx.c:5138

On Wed, 2009-11-25 at 01:10 +0000, daney at gcc dot gnu dot org wrote:
> 
> ------- Comment #4 from daney at gcc dot gnu dot org  2009-11-25 01:10 -------
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Can you provide the preprocessed source?
> > > 
> > 
> > Sorry, the preprocessed source is too big, I can not paste it as comment, where
> > can i attach it?
> > 
> 
> Gzip it and attach it.
> 
> We need the whole thing as well as tell us exactly how you compiled it.
> 
> 

I generated the mm/rmap.i by the following command, the result is
attached as rmap.i.tar.bz2. and the next comment will describe the
command I used to build the gcc itself.

$ make ARCH=mips CROSS_COMPILE=mips64el-unknown-linux-gnu- mm/rmap.i V=1

rm -f include/config/kernel.release
echo 2.6.32-rc8 > include/config/kernel.release
set -e; : '  CHK     include/linux/version.h'; mkdir -p include/linux/;
(echo \#define LINUX_VERSION_CODE 132640; echo '#define
KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';)
< /home/falcon/rt4ls/Makefile > include/linux/version.h.tmp; if [ -r
include/linux/version.h ] && cmp -s include/linux/version.h
include/linux/version.h.tmp; then rm -f include/linux/version.h.tmp;
else : '  UPD     include/linux/version.h'; mv -f
include/linux/version.h.tmp include/linux/version.h; fi
set -e; : '  CHK     include/linux/utsrelease.h'; mkdir -p
include/linux/;         if [ `echo -n "2.6.32-rc8" | wc -c ` -gt 64 ]; then
echo '"2.6.32-rc8" exceeds 64 characters' >&2; exit 1; fi; (echo
\#define UTS_RELEASE \"2.6.32-rc8\";) < include/config/kernel.release >
include/linux/utsrelease.h.tmp; if [ -r include/linux/utsrelease.h ] &&
cmp -s include/linux/utsrelease.h include/linux/utsrelease.h.tmp; then
rm -f include/linux/utsrelease.h.tmp; else : '  UPD
include/linux/utsrelease.h'; mv -f include/linux/utsrelease.h.tmp
include/linux/utsrelease.h; fi
set -e; if [ -L include/asm ]; then asmlink=`readlink include/asm | cut
-d '-' -f 2`; if [ "$asmlink" != "mips" ]; then echo "ERROR: the symlink
include/asm points to asm-$asmlink but asm-mips was expected"; echo "
set ARCH or save .config and run 'make mrproper' to fix it"; exit 1; fi;
test -e $asmlink || rm include/asm; elif [ -d include/asm ]; then echo
"ERROR: include/asm is a directory but a symlink was expected"; exit 1;
fi
if [ ! -L include/asm ]; then : '  SYMLINK include/asm ->
include/asm-mips'; if [ ! -d include/asm-mips ]; then mkdir -p
include/asm-mips; fi; ln -fsn asm-mips include/asm; fi
mkdir -p .tmp_versions 
make -f scripts/Makefile.build obj=scripts/basic
  Checking missing-syscalls for N32
make -f scripts/Makefile.build obj=. missing-syscalls
EXTRA_CFLAGS="-mabi=n32"
  /bin/sh scripts/checksyscalls.sh mips64el-unknown-linux-gnu-gcc
-Wp,-MD,./.missing-syscalls.d  -nostdinc
-isystem
/home/falcon/gcc/cross-mipsel/target/lib/gcc/mips64el-unknown-linux-gnu/4.5.0/include
-Iinclude  -I/home/falcon/rt4ls/arch/mips/include -include
include/linux/autoconf.h -D__KERNEL__
-D"VMLINUX_LOAD_ADDRESS=0xffffffff80200000" -D"DATAOFFSET=0" -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -ffunction-sections
-mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe
-msoft-float -ffreestanding -Wa,--trap -march=loongson2f
-Wa,-mfix-loongson2f-nop -Wa,-mfix-loongson2f-jump
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-loongson -mno-branch-likely
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-generic -msym32
-DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -mabi=n32  
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(missing_syscalls)" 
-D"KBUILD_MODNAME=KBUILD_STR(missing_syscalls)" 
  Checking missing-syscalls for O32
make -f scripts/Makefile.build obj=. missing-syscalls
EXTRA_CFLAGS="-mabi=32"
  /bin/sh scripts/checksyscalls.sh mips64el-unknown-linux-gnu-gcc
-Wp,-MD,./.missing-syscalls.d  -nostdinc
-isystem
/home/falcon/gcc/cross-mipsel/target/lib/gcc/mips64el-unknown-linux-gnu/4.5.0/include
-Iinclude  -I/home/falcon/rt4ls/arch/mips/include -include
include/linux/autoconf.h -D__KERNEL__
-D"VMLINUX_LOAD_ADDRESS=0xffffffff80200000" -D"DATAOFFSET=0" -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -ffunction-sections
-mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe
-msoft-float -ffreestanding -Wa,--trap -march=loongson2f
-Wa,-mfix-loongson2f-nop -Wa,-mfix-loongson2f-jump
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-loongson -mno-branch-likely
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-generic -msym32
-DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -mabi=32  
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(missing_syscalls)" 
-D"KBUILD_MODNAME=KBUILD_STR(missing_syscalls)" 
make -f scripts/Makefile.build obj=.
mkdir -p kernel/
mkdir -p arch/mips/kernel/
make -f scripts/Makefile.build obj=. missing-syscalls
  /bin/sh scripts/checksyscalls.sh mips64el-unknown-linux-gnu-gcc
-Wp,-MD,./.missing-syscalls.d  -nostdinc
-isystem
/home/falcon/gcc/cross-mipsel/target/lib/gcc/mips64el-unknown-linux-gnu/4.5.0/include
-Iinclude  -I/home/falcon/rt4ls/arch/mips/include -include
include/linux/autoconf.h -D__KERNEL__
-D"VMLINUX_LOAD_ADDRESS=0xffffffff80200000" -D"DATAOFFSET=0" -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -ffunction-sections
-mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe
-msoft-float -ffreestanding -Wa,--trap -march=loongson2f
-Wa,-mfix-loongson2f-nop -Wa,-mfix-loongson2f-jump
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-loongson -mno-branch-likely
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-generic -msym32
-DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(missing_syscalls)" 
-D"KBUILD_MODNAME=KBUILD_STR(missing_syscalls)" 
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/genksyms
make -f scripts/Makefile.build obj=scripts/mod
make -f scripts/Makefile.build obj=mm mm/rmap.i
  mips64el-unknown-linux-gnu-gcc -E -Wp,-MD,mm/.rmap.i.d  -nostdinc
-isystem
/home/falcon/gcc/cross-mipsel/target/lib/gcc/mips64el-unknown-linux-gnu/4.5.0/include
-Iinclude  -I/home/falcon/rt4ls/arch/mips/include -include
include/linux/autoconf.h -D__KERNEL__
-D"VMLINUX_LOAD_ADDRESS=0xffffffff80200000" -D"DATAOFFSET=0" -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -ffunction-sections
-mno-check-zero-division -mabi=64 -G 0 -mno-abicalls -fno-pic -pipe
-msoft-float -ffreestanding -Wa,--trap -march=loongson2f
-Wa,-mfix-loongson2f-nop -Wa,-mfix-loongson2f-jump
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-loongson -mno-branch-likely
-I/home/falcon/rt4ls/arch/mips/include/asm/mach-generic -msym32
-DKBUILD_64BIT_SYM32 -Wframe-larger-than=1024 -fno-stack-protector
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign
-fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack  
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(rmap)" 
-D"KBUILD_MODNAME=KBUILD_STR(rmap)"    -o mm/rmap.i mm/rmap.c


------- Comment #6 from wuzhangjin at gmail dot com  2009-11-25 01:17 -------
Created an attachment (id=19139)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19139&action=view)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42164



More information about the Gcc-bugs mailing list