Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Fwd: Build Errors with GlibC on an alpha
@ 2002-11-12 23:15 Ted Goodridge
  2002-11-12 23:59 ` Kelledin
  2002-11-13  0:00 ` Fwd: LFS'ing an alpha, continued Kelledin
  0 siblings, 2 replies; 7+ messages in thread
From: Ted Goodridge @ 2002-11-12 23:15 UTC (permalink / raw)
  To: axp-list

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.

/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unk
nown-linux-gnu/bin/ld:
 /static/src/fresh/lfs-packages-4.0/glibc-build/libc_pic.os: pc-relative
 relocation against dynamic symbol __divlu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unk
nown-linux-gnu/bin/ld:
 /static/src/fresh/lfs-packages-4.0/glibc-build/libc_pic.os: pc-relative
 relocation against dynamic symbol __divqu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unk
nown-linux-gnu/bin/ld:
 /static/src/fresh/lfs-packages-4.0/glibc-build/libc_pic.os: pc-relative
 relocation against dynamic symbol __remlu
/static/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.2/../../../../alphaev56-unk
nown-linux-gnu/bin/ld:
 /static/src/fresh/lfs-packages-4.0/glibc-build/libc_pic.os: pc-relative
 relocation against dynamic symbol __remqu
collect2: ld returned 1 exit status
make[1]: *** [/static/src/fresh/lfs-packages-4.0/glibc-build/libc.so] Error 1
make[1]: Leaving directory `/static/src/fresh/lfs-packages-4.0/glibc-2.2.5'
make: *** [all] Error 2
I have no name!:/static/src/fresh/lfs-packages-4.0/glibc-build#


what can I do to correct them?

-------------------------------------------------------




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: Build Errors with GlibC on an alpha
  2002-11-12 23:15 Fwd: Build Errors with GlibC on an alpha Ted Goodridge
@ 2002-11-12 23:59 ` Kelledin
  2002-11-13  0:00 ` Fwd: LFS'ing an alpha, continued Kelledin
  1 sibling, 0 replies; 7+ messages in thread
From: Kelledin @ 2002-11-12 23:59 UTC (permalink / raw)
  To: axp-list

[-- 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)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: LFS'ing an alpha, continued
  2002-11-12 23:15 Fwd: Build Errors with GlibC on an alpha Ted Goodridge
  2002-11-12 23:59 ` Kelledin
@ 2002-11-13  0:00 ` Kelledin
  2002-11-13  2:45   ` Michal Jaegermann
  2002-11-13  3:43   ` Jon
  1 sibling, 2 replies; 7+ messages in thread
From: Kelledin @ 2002-11-13  0:00 UTC (permalink / raw)
  To: axp-list

[-- Attachment #1: Type: text/plain, Size: 531 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.

Third, netkit-base needs a patch, else the "ping" utility isn't 
64-bit clean (see below).

-- 
Kelledin
"If a server crashes in a server farm and no one pings it, does 
it still cost four figures to fix?"

[-- Attachment #2: netkit-base-0.17-alpha-ping.patch --]
[-- Type: text/x-diff, Size: 1020 bytes --]

--- netkit-base-0.17/ping/ping.c	Sun Jul 23 06:16:21 2000
+++ netkit-base-0.17-alpha-ping-fix/ping/ping.c	Tue Sep 10 20:14:51 2002
@@ -203,7 +203,7 @@
  * datalen is the length of the other data plus the timeval.
  * note: due to alignment problems don't assign to OUTPACK_TIME, use memcpy.
  */
-static u_int8_t outpack[IP_MAXPACKET];
+static u_int8_t outpack[IP_MAXPACKET] __attribute__((aligned(sizeof(long)))); 
 static int datalen = DEFDATALEN;
 
 #define OUTPACK_ICMP    ((struct icmp *)outpack)
@@ -725,6 +725,7 @@
 			tp = (struct timeval *)icp->icmp_data;
 			memcpy(&packettv, tp, sizeof(struct timeval));
 			tvsub(&now, &packettv);
+			
 
 			/* precision: tenths of milliseconds */
 			triptime = now.tv_sec * 10000 + (now.tv_usec / 100);
@@ -760,7 +761,7 @@
 			       inet_ntoa(from->sin_addr), icp->icmp_seq);
 			printf(" ttl=%d", ip->ip_ttl);
 			if (timing) {
-				printf(" time=%ld.%ld ms", triptime/10,
+				printf(" time=%hd.%hd ms", triptime/10,
 				       triptime%10);
 			}
 			if (dupflag) {

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: LFS'ing an alpha, continued
  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
  1 sibling, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 2002-11-13  2:45 UTC (permalink / raw)
  To: axp-list

On Tue, Nov 12, 2002 at 07:00:41PM -0500, Kelledin wrote:
> 
> Third, netkit-base needs a patch, else the "ping" utility isn't 
> 64-bit clean (see below).

> -                               printf(" time=%ld.%ld ms", triptime/10,
> +                               printf(" time=%hd.%hd ms", triptime/10,

Eh???  You switched a long conversion flag for an integer specifier in
printf() to short to make 'ping' 64-bit clean?  Whatever you think this
does it is not doing anything overly useful.

Is 'triptime' really of a type short?  I did not look at sources but I
would be somewhat surprised.

   Michal




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Fwd: LFS'ing an alpha, continued
  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
  1 sibling, 1 reply; 7+ messages in thread
From: Jon @ 2002-11-13  3:43 UTC (permalink / raw)
  To: axp-list, Kelledin

To the List:

There is a new guy who has some ideas, hey?  They may be good ideas or they 
may not, time will tell.  I'm glad to see it, because there are few enough 
people willing to put in time on Alpha software.

My thought is, how about welcoming the guy, thanking him for his efforts and 
helping him out a little, even.  Or maybe it's a her?  What the hell!  If 
three guys got sick or fell of their bicycles hard, there wouldn't be much 
Alpha Linux at all.

Just a thought ...

jn

"Thursday"




On Tuesday 12 November 2002 05:00 pm, Kelledin wrote:
> 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.
>
> Third, netkit-base needs a patch, else the "ping" utility isn't
> 64-bit clean (see below).




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Jensen DEC 2000 parts needed
  2002-11-13  3:43   ` Jon
@ 2002-11-19 10:25     ` AlexCH
  2002-11-20 21:17       ` Dirk Schneider
  0 siblings, 1 reply; 7+ messages in thread
From: AlexCH @ 2002-11-19 10:25 UTC (permalink / raw)
  To: axp-list

Hello all!
Have anybody  Jensen (DEC 2000) parts for sale for me, especially SIMMs
or ELSA Winner SVGA EISA/ISA with 2MB or only memory for it?


regards,
Alexey Chupakhin




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Jensen DEC 2000 parts needed
  2002-11-19 10:25     ` Jensen DEC 2000 parts needed AlexCH
@ 2002-11-20 21:17       ` Dirk Schneider
  0 siblings, 0 replies; 7+ messages in thread
From: Dirk Schneider @ 2002-11-20 21:17 UTC (permalink / raw)
  To: axp-list

AlexCH schrieb:

> Hello all!
> Have anybody  Jensen (DEC 2000) parts for sale for me, especially SIMMs
> or ELSA Winner SVGA EISA/ISA with 2MB or only memory for it?
>
> regards,
> Alexey Chupakhin
>
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list

Try ebay, there are a lot of 16M-SIMMs, but use only FPM with parity
(4x36bit)

Dirk





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-11-20 21:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-12 23:15 Fwd: Build Errors with GlibC on an alpha Ted Goodridge
2002-11-12 23:59 ` Kelledin
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox