[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633754: gcj-4.6: FTBFS on m68k with segfault



On Wed, Jul 13, 2011 at 12:30:17PM +0000, Thorsten Glaser wrote:
> Source: gcj-4.6
> Version: 4.6.1-2
> Severity: serious
> Justification: fails to build from source
> 

> 
> Running with -v -save-temps then (still in the cowbuilder chroot):
> 
> # gdb --args /tmp/buildd/gcj-4.6-4.6.1/build/./gcc/jc1 /tmp/ccNOJT3hjx -fuse-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ccNOJT3hjx -m68040 -m68040 -auxbase-strip java/.libs/util.o -g -O2 -Wno-deprecated -version -ffilelist-file -fencoding=UTF-8 -fbootstrap-classes -fsource-filename=/tmp/buildd/gcj-4.6-4.6.1/build/m68k-linux-gnu/m68040/libjava/classpath/lib/classes -fPIC -fbootclasspath=./:../../../../src/libjava/classpath/lib/ -faux-classpath ccNOJT3hjx.zip -MD_ -MT java/util.lo -MF java/util.deps -o ccNOJT3hjx.s
> 
> Program received signal SIGSEGV, Segmentation fault.
> equiv_constant (x=0x0) at ../../src/gcc/cse.c:3812
> 3812      if (REG_P (x)
> (gdb) bt
> #0  equiv_constant (x=0x0) at ../../src/gcc/cse.c:3812
> #1  0x804b0542 in fold_rtx (x=0xc83cb5f4, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3274

equiv_constant is called with NULL pointer, I would think this is illegal and the problem 
happened one level up :
> #2  0x804b05fe in fold_rtx (x=0xc83c4f30, insn=0xc83cc1c0) at ../../src/gcc/cse.c:3279



Richard

---
Name and OpenPGP keys available from pgp key servers




Reply to: