Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: henke@rocza.krall.org (Douglas G. Henke)
Subject: compiling 2.1.10[late]
Date: 1998/07/19	[thread overview]
Message-ID: <x7af65lu70.fsf_-_@rocza.krall.org> (raw)
In-Reply-To: m3d8b2texb.fsf@picu-sgh.demon.co.uk

Peter Rye <prye@picu-sgh.demon.co.uk> writes:
> [ various troubles compiling 2.1.10[late] ]

I spent a big chunk of Saturday experimenting with it. I found:

1) egcs 1.0.3a compiled from scratch (with HAIFA scheduling enabled, since
   that seems to be a performance win) barfs with "unknown insn" or
   similar any time __builtin_return_address() is used.

2) __builtin_return_address() seems to be only used in a few places, all
   of which look like:
       printk("I bit the big green weenie at address %p\n",
       __builtin_return_address());
   You can hack around it like this:
       printk("I bit the big one, and I don't know where.\n");
   (at, obviously, the expense of making these particular error messages
   much less useful for debugging -- but that doesn't matter unless you
   are _getting_ these messages in the first place).

3) It will take a better kernel hack than me to fix it right. (Actually,
   I think the "right" fix is in egcs, not the kernel.)

4) I haven't tried it with egcs1.0.3a with no HAIFA. I've heard this
   works. I'll try it myself before I go whinging to the egcs team.

5) Even with the above fixed, I've not been able to get 2.1.109 to link
   without applying additional patches. I get missing symbols memsetw
   and memsetw_io.

6) Number (5) is true with egcs 1.0.3a, gcc 2.8.1 and gcc 2.7.2.3 also.

7) Some of these problems seem to be configuration-dependent (i.e. they
   only happen if you pick certain options in "make config"). I've heard
   that _not_ turning on the VGA console and frame buffer stuff will
   prevent (5). I'll try this.

8) Patches are available which are alleged to help. I'm compiling
   2.1.110pre2 as I type this. If it doesn't go, I'll try some of the
   others that have been posted to the kernel mailing list.

9) "make menuconfig" appears to be subtly broken; use "make config"
   instead. (For example, using menuconfig, I'm never offered the
   NCR 53C8xx SCSI driver I need for my Noname.)

10) I've heard a couple people say that 2.1.104 compiles clean on Alpha.
   You might try that if you a) need features in 2.1.x, b) have more
   than 16MB RAM and c) can't wait for the Alpha "features" in the
   bleeding edge to be ironed out. A feature freeze preperatory to 
   2.2.0 is supposed to be in the works RSN.

11) Yes, I have the right {bin,shell,mumble}utils. Yes, I have read
   Documentation/Changes. Please don't respond with "gee, it works for
   me, RTFFAQ" unless you understand (7) and have some _specific_
   suggestion for which FFAQ to R or some _specific_ course of action
   to try.

-- 
Headers munged to avoid email spam. Mail to henke at phoenix dot net.



  reply	other threads:[~1998-07-19  4:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-13  4:00 Unaligned trap at 00000000 more 0's blaw blaw blaw. Why? fxrjh
1998-07-14  4:00 ` Michael C. Vergallen
1998-07-16  4:00   ` bentai
1998-07-17  4:00     ` Douglas G. Henke
1998-07-17  4:00       ` bentai
1998-07-17  4:00       ` Peter Rye
1998-07-18  4:00         ` Douglas G. Henke
1998-07-18  4:00           ` Peter Rye
1998-07-19  4:00             ` Matt Grossman
1998-07-19  4:00               ` Greg Lindahl
1998-07-19  4:00                 ` Matt Grossman
1998-07-19  4:00               ` Peter Rye
1998-07-19  4:00                 ` Douglas G. Henke [this message]
1998-07-20  4:00                   ` compiling 2.1.10[late] Douglas G. Henke
1998-07-20  4:00                     ` Michael Gilbert
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox