Re: Problem compiling 2.1.111,112 on Alpha/RH5.1

Chris Adams (
Wed, 29 Jul 1998 14:23:06 -0500 (CDT)

Once upon a time, Chris Wedgwood wrote
> 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:
> > 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.

Yep. It compiled, booted, and is running now (I just _had_ to see it
boot with the boot logo! :-) ).

> > Is it part of the compiler?
> yes.

Okay, so should I be sending a bug report to the egcs guys, or do they
already know about it?

Chris Adams -
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to Please read the FAQ at