Messages in this thread | | | Date | Wed, 29 Jul 1998 19:26:04 +1200 | From | Chris Wedgwood <> | Subject | Re: Problem compiling 2.1.111,112 on Alpha/RH5.1 |
| |
On Tue, Jul 28, 1998 at 11:52:28PM -0500, Chris Adams wrote:
> I am trying to compile 2.1.112 on my Alpha UDB under Red Hat 5.1 which > uses egcs-1.0.2 (release 8 from RH, the latest). The compile fails in > mm/page_alloc.c: > > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -ffixed-8 -c -o page_alloc.o page_alloc.c > page_alloc.c: In function `__free_page': > page_alloc.c:170: internal error--unrecognizable insn: > (jump_insn 300 292 301 (return) -1 (nil) > (nil)) > cpp: output pipe has been closed > gcc: Internal compiler error: program cc1 got fatal signal 6 > {standard input}: Assembler messages: > {standard input}:177: Warning: Missing .end or .bend at end of file > > It looks like it is failing in the assembly generation of > __builtin_return_value, but I don't know where that comes from.
Certain uses of __builtin_return_address is breaking egcs on the alpha somehow. As a quick workaround, add something like:
#define __builtin_return_address(x) ((void*)(x))
near the top of the file. It will give bogus printk's values, but will compile and hopefully run.
The assembly warnings are because the assembly output from gcc is truncated because it dies with SIGABRT (I think).
> Is it part of the compiler?
yes.
-cw
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html
| |