From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 8492 invoked from network); 27 Jun 1999 09:08:16 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 27 Jun 1999 09:08:16 -0000 Received: from voicenet.com (mail12.voicenet.com [207.103.0.6]) by mail.redhat.com (8.8.7/8.8.7) with SMTP id EAA30545 for ; Sun, 27 Jun 1999 04:11:38 -0400 Received: (qmail 27633 invoked from network); 27 Jun 1999 08:11:36 -0000 Received: from dialpool0151-pri.voicenet.com (HELO voicenet.com) (209.71.85.51) by mail12.voicenet.com with SMTP; 27 Jun 1999 08:11:36 -0000 Sender: gat@mail.redhat.com Message-ID: <3775DCA4.9C62F9CD@voicenet.com> Date: Sun, 27 Jun 1999 04:11:16 -0400 From: Uncle George Organization: Big Endian X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: what does struct timeval look like on alpha ? References: <199906152150.XAA08340@earth.uni-muenster.de> <37675882.F378EEBC@voicenet.com> <19990619131628.C8357@twiddle.net> <376D6616.F215B731@voicenet.com> <19990619205852.A8660@twiddle.net> <376D64B2.6642D815@voicenet.com> <19990620152813.A28468@twiddle.net> <376D78C4.25920188@voicenet.com> <19990621213413.B30644@twiddle.net> <376F5FD5.1069CECC@voicenet.com> <19990626215401.A7546@twiddle.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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.