From owner-freebsd-alpha Mon Nov 11 10: 5:13 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6174537B401; Mon, 11 Nov 2002 10:05:12 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23EAF43E3B; Mon, 11 Nov 2002 10:05:11 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id gABI52Or057667; Mon, 11 Nov 2002 19:05:02 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: John Baldwin Cc: Andrew Gallatin , alpha@FreeBSD.org Subject: Re: ev4/5/6 issue ? In-Reply-To: Your message of "Mon, 11 Nov 2002 13:02:45 EST." Date: Mon, 11 Nov 2002 19:05:02 +0100 Message-ID: <57666.1037037902@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message , John Baldwin writes: > >On 11-Nov-2002 Poul-Henning Kamp wrote: >> In message , John Baldwin writes: >>> >>>On 11-Nov-2002 Poul-Henning Kamp wrote: >>>> In message <15823.51765.171947.796322@grasshopper.cs.duke.edu>, Andrew Gallatin >>>> writes: >>>> >>>>>Your initial assertion that this might be happening because the >>>>>libraries are built for ev6 on beast could be true. Can you verify >>>>>that that 12001f4e4 is indeed inside a library function using nm? >>>> >>>> Well, GDB said that much already. >>>> >>>>>That doesn't solve the initial problem of why your make was busted, >>>>>though. If its in the libs, then your libs are likely busted too. >>>>>Perhaps you'll also need to build a libc on beast, explicitly >>>>>setting your cpuflags to ev4. Or perhaps the compiler is emitting >>>>>FIX instructions when it should not. >>>> >>>> I think ev4 should be the default on beast. >>> >>>This release wasn't built on beast. It was built on a DS20 (which >>>is an EV6). However, it should be built with '-mcpu=ev4 -mtune=ev6' >>>so it should not be using any !ev4 instructions. Perhaps -mtune >>>is broken? >> >> Could be, but I tried to build some binaries on beast to recover >> and was bitten by beast generating ev6 as default. > >make CPUTYPE="" all I'm not convinced that works for a kernel actually. sys/conf/kern.mk contains: .if ${MACHINE_ARCH} == "alpha" CFLAGS+= -mno-fp-regs -ffixed-8 -Wa,-mev6 .endif -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message