Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Uncle George <gatgul@voicenet.com>
To: axp-list@redhat.com
Subject: Re: what does struct timeval look like on alpha ?
Date: Sun, 27 Jun 1999 04:11:16 -0400	[thread overview]
Message-ID: <3775DCA4.9C62F9CD@voicenet.com> (raw)
In-Reply-To: 19990626215401.A7546@twiddle.net

My mind says yea, my heart says no exposition  is really needed to get my
act together. Is there a forum, or do u (folks) do this ad-hoc.

the -lc was missing, but under RH 5.x, things were correctly/dynamically
linked.  In 6.0 I the getimeofday was binded to the wrong routine.  Although
the wrong routine was "close enough" to what I wanted in functionality, but
it was returning a ( unexpected ) struct of ints, and hence my fetish of
ints/longs ( being on an alpha , sizeof() gets to be important )

Richard Henderson wrote:

> On Tue, Jun 22, 1999 at 06:05:09AM -0400, Uncle George wrote:
> > Now u got "symbol version" binding !? is that what I am hearing?
>
> Yes.  That's what will save us from a libc.so.7.
>
> > Why should the linker do the 'right thing', and not the dynamic linker.
>
> Are you ready for an exposition on symbol versioning?
>
> Anyway, you *should* have been linking to libc before, as well as
> every other library you use -- pthreads being a likely candidate.
> Whether or not things just happened to have been working is immaterial.
> Not doing so creates an incorrect dependancy graph between the shared
> libraries, and they might not get initialized in the right order.

Yes, but this would be my hell. There is some expectation that if one called
gettimeofday(), u get a linkage to gettimeofday() AND not to
__gettimeofday_tv32, or __gettimeofday_tv64, or qxxttsss.  I like a one to
one relationship, but an onto relationship seems to be leading to severe
confusion.

I'm not gonna go into the "initialization" part, as that would just add to
the confusion.



  reply	other threads:[~1999-06-27  9:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-15 13:34 what does struct timeval look like on alpha ? Uncle George
1999-06-15 21:50 ` Georg Steffers
1999-06-16  0:27   ` Wes Bauske
1999-06-16  7:55   ` Uncle George
1999-06-19 20:16     ` Richard Henderson
1999-06-20 22:07       ` Meryem Kazanfer
1999-06-20  0:40         ` Wes Bauske
1999-06-20  3:58         ` Richard Henderson
1999-06-20 22:01           ` Uncle George
1999-06-20 22:28             ` Richard Henderson
1999-06-20 23:27               ` Uncle George
1999-06-22  4:34                 ` Richard Henderson
1999-06-22 10:05                   ` Uncle George
1999-06-27  4:54                     ` Richard Henderson
1999-06-27  8:11                       ` Uncle George [this message]
1999-06-27 20:18                         ` Richard Henderson
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