Package: elk Version: 3.99.6-3 Severity: important Tags: patch Hi,
elk is failing to build on amd64 with an internal compiler error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -DSCM_DIR=\"/usr/sh are/elk\" -DLIB_DIR=\"/usr/lib/elk\" -I/usr/include/libelf -Wsign-compare -Wall -g -O2 -MT libelk_la-cont.lo -MD -MP -MF .deps/libelk_la-cont.Tpo -c cont.c - fPIC -DPIC -o .libs/libelk_la-cont.o cont.c: In function `Stack_Size': cont.c:119: error: unrecognizable insn: (insn 59 23 26 2 0x2a95b604e0 (set (reg:SI 2 ecx [61]) (subreg:SI (plus:DI (subreg:DI (reg:SI 7 esp) 0) (const_int -1 [0xffffffffffffffff])) 0)) -1 (nil) (nil)) cont.c:119: internal compiler error: in extract_insn, at recog.c:2175 This can be avoided with a simple patch: --- ../tmp-orig/elk-3.99.6/src/cont.c 2004-06-10 00:50:55.809323429 +0200 +++ ./src/cont.c 2004-06-10 00:47:30.360186501 +0200 @@ -114,8 +114,9 @@ */ unsigned int Stack_Size () { char foo; + char *pfoo = &foo; - return Stack_Grows_Down ? stkbase-&foo : &foo-stkbase; + return Stack_Grows_Down ? stkbase-pfoo : pfoo-stkbase; } void Grow_Stack (struct S_Control *cp, Object val) { Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]