From owner-freebsd-alpha Sun Aug 2 05:07:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05660 for freebsd-alpha-outgoing; Sun, 2 Aug 1998 05:07:43 -0700 (PDT) (envelope-from owner-freebsd-alpha@FreeBSD.ORG) Received: from nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA05652; Sun, 2 Aug 1998 05:07:39 -0700 (PDT) (envelope-from dfr@nlsystems.com) Received: from herring.nlsystems.com (herring.nlsystems.com [10.0.0.2]) by nlsystems.com (8.8.8/8.8.5) with SMTP id MAA20177; Sun, 2 Aug 1998 12:10:07 GMT Date: Sun, 2 Aug 1998 13:10:07 +0100 (BST) From: Doug Rabson To: Gary Palmer cc: freebsd-alpha@FreeBSD.ORG Subject: Re: alpha userland work In-Reply-To: <2215.902058361@gjp.erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sun, 2 Aug 1998, Gary Palmer wrote: > > Has anyone tried to compile the alpha `userland' bits lately? I tried this > morning on an Alphastation 600 at work (running NetBSD-current) and failed > miserably. I eventually got it through to compiling the libraries, but ran > into a problem in lib/libc/gen/nlist.c, which assumes Elf32, which doesn't > quite work on the Alpha. I'm assuming that all that needs to be done is > replace Elf32 with Elf64, but are there any other gotchas out there? Has > anyone tried this of late? Judging by the problems I ran into, I don't think > so :) I have a load of uncommitted userland changes, including one to nlist.c, which I need to re-read here and possibly get external reviews as appropriate. A hack to get nlist.c to compile is to s/32/64/ but the right thing is to check ELF_TARG_CLASS to see what width is being compiled (this is what I do). -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 951 1891 Fax: +44 181 381 1039 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message