From: Kelledin <kelledin+AXP@skarpsey.dyndns.org>
To: axp-list@redhat.com
Subject: Re: Fwd: Build Errors with GlibC on an alpha
Date: Tue, 12 Nov 2002 18:59:29 -0500 [thread overview]
Message-ID: <200211121759.29822.kelledin+AXP@skarpsey.dyndns.org> (raw)
In-Reply-To: <200211121715.36547.tedgoodridgejr@acm.org>
[-- Attachment #1: Type: text/plain, Size: 840 bytes --]
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
stuff I just discovered myself), but I'll have to do it piece by
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
CPPFLAGS=-D_GNU_SOURCE, else the "find" utility doesn't end up
64-bit clean.
--
Kelledin
"If a server crashes in a server farm and no one pings it, does
it still cost four figures to fix?"
[-- Attachment #2: glibc-2.2.5-divrem.patch --]
[-- Type: text/x-diff, Size: 826 bytes --]
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)
next prev parent reply other threads:[~2002-11-13 0:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-12 23:15 Fwd: Build Errors with GlibC on an alpha Ted Goodridge
2002-11-12 23:59 ` Kelledin [this message]
2002-11-13 0:00 ` Fwd: LFS'ing an alpha, continued Kelledin
2002-11-13 2:45 ` Michal Jaegermann
2002-11-13 3:43 ` Jon
2002-11-19 10:25 ` Jensen DEC 2000 parts needed AlexCH
2002-11-20 21:17 ` Dirk Schneider
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox