From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 13953 invoked from network); 29 Jun 1998 21:56:24 -0000 Received: from dot.cygnus.com (205.180.230.224) by mail2.redhat.com with SMTP; 29 Jun 1998 21:56:24 -0000 Received: (from rth@localhost) by dot.cygnus.com (8.8.5/8.8.5) id OAA01773; Mon, 29 Jun 1998 14:59:56 -0700 Message-ID: <19980629145956.A1709@dot.cygnus.com> Date: Mon, 29 Jun 1998 14:59:56 -0700 From: Richard Henderson To: axp-list@redhat.com, Linux kernel Subject: Re: [2.1.107] compile error on Avanti Reply-To: Richard Henderson References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from B. James Phillippe on Sun, Jun 28, 1998 at 02:40:01AM -0700 On Sun, Jun 28, 1998 at 02:40:01AM -0700, B. James Phillippe wrote: > arch/alpha/kernel/kernel.o: In function `do_entIF': > traps.c(.text+0x109c): undefined reference to `alpha_fp_emul' > traps.c(.text+0x10a0): undefined reference to `alpha_fp_emul' You should not set CONFIG_MATHEMU != y unless you know what you are doing. If EXPERIMENTAL is not y, this setting will be forced. I'll have a fix for this shortly though. > arch/alpha/kernel/kernel.o: In function `reset_for_srm': > bios32.c(.text+0x7fb8): undefined reference to `scrreset' > bios32.c(.text+0x7fbc): undefined reference to `scrreset' Ah hah -- SRM interactions with the new console layer. Quick solution is to remove the call in bios32.c. > Also, and slightly off-topic, could anyone give me a brief explanation of > what CONFIG_ALPHA_NEED_ROUNDING_EMULATION and CONFIG_MATHEMU do for Alpha? > I understand there is some issue WRT SIGFPE being generated on some > floating point operations and that -mieee fixes this at a performance > penalty. CONFIG_ALPHA_NEED_ROUNDING_EMULATION is needed for 21064 chips because only round-to-nearest is implemented in hardware. Anything else will be flagged as an unimplemented instruction. These instructions can be emulated by the code turned on by CONFIG_MATHEMU. CONFIG_MATHEMU for 21164 machines implements so-called software completion that coordinates with -mieee code to implement compliant IEEE fp. Non -mieee code doesn't use any of this slow emulation stuff. It just dies with SIGFPE if there is a problem. r~