From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id E604D401B8 for ; Tue, 12 Nov 2002 19:04:18 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id gAD04Ir13166 for axp-list@listman.redhat.com; Tue, 12 Nov 2002 19:04:18 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id gAD04ID13162 for ; Tue, 12 Nov 2002 19:04:18 -0500 Received: from skarpsey.dyndns.org (12-237-135-160.client.attbi.com [12.237.135.160]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id gACNf8w15974 for ; Tue, 12 Nov 2002 18:41:08 -0500 Received: from valhalla (Valhalla.attbi.com [192.168.0.2]) by skarpsey.dyndns.org (8.12.6/8.12.5) with ESMTP id gACNxTlm024368 for ; Tue, 12 Nov 2002 17:59:30 -0600 From: Kelledin To: axp-list@redhat.com Subject: Re: Fwd: Build Errors with GlibC on an alpha Date: Tue, 12 Nov 2002 18:59:29 -0500 User-Agent: KMail/1.4.3 References: <200211121715.36547.tedgoodridgejr@acm.org> In-Reply-To: <200211121715.36547.tedgoodridgejr@acm.org> MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="------------Boundary-00=_5NMHWFQR7FJK61F0XVAD" Message-Id: <200211121759.29822.kelledin+AXP@skarpsey.dyndns.org> X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: --------------Boundary-00=_5NMHWFQR7FJK61F0XVAD Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 12 November 2002 05:15 pm, Ted Goodridge wrote: > I'm forwarding this hoping to get some ppl with alpha > experience as this might be a simple matter. I'm using an LFS > system, and building Glib, but getting the following errors > (something about pc-relative relocation) is striking me as > odd. Hmph. I had a pretty good bit to post on LFS'ing an alpha (most of this=20 stuff I just discovered myself), but I'll have to do it piece by=20 piece, it seems. None of it's in the LFS book (not even CVS). First, the glibc patch to fix your original issue (see below). Second, findutils needs to be compiled with=20 CPPFLAGS=3D-D_GNU_SOURCE, else the "find" utility doesn't end up=20 64-bit clean. --=20 Kelledin "If a server crashes in a server farm and no one pings it, does=20 it still cost four figures to fix?" --------------Boundary-00=_5NMHWFQR7FJK61F0XVAD Content-Type: text/x-diff; charset="iso-8859-1"; name="glibc-2.2.5-divrem.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="glibc-2.2.5-divrem.patch" diff -Naur glibc-2.2.5/sysdeps/alpha/divrem.h glibc-2.2.5-divrem/sysdeps/alpha/divrem.h --- glibc-2.2.5/sysdeps/alpha/divrem.h 2001-07-05 23:55:45.000000000 -0500 +++ glibc-2.2.5-divrem/sysdeps/alpha/divrem.h 2002-11-03 07:00:09.000000000 -0600 @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996,97,2002 Free Software Foundation, Inc. Contributed by David Mosberger (davidm@cs.arizona.edu). This file is part of the GNU C Library. @@ -86,6 +86,7 @@ .align 3 UFUNC_NAME: +$udiv_entry: lda sp, -STACK(sp) .frame sp, STACK, retaddr, 0 #ifdef PROF @@ -206,7 +207,7 @@ cmovge AT, AT, arg2 /* Do the unsigned division. */ - bsr retaddr, UFUNC_NAME + bsr retaddr, $udiv_entry /* Restore originals and adjust the sign of the result. */ ldq arg1, 0(sp) --------------Boundary-00=_5NMHWFQR7FJK61F0XVAD--