From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,ffd11645ccdf19ad X-Google-Attributes: gid111c93,public From: henke@rocza.krall.org (Douglas G. Henke) Subject: compiling 2.1.10[late] Date: 1998/07/19 Message-ID: #1/1 X-Deja-AN: 372916092 References: <6oe43e$3c5$1@news.alaska.edu> <6ols38$oo1$1@nnrp1.dejanews.com> NNTP-Posting-Date: Sun, 19 Jul 1998 12:00:34 CDT Newsgroups: comp.os.linux.alpha Peter Rye 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.