*BSD News Article 83759


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.erols.net!EU.net!main.Germany.EU.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.solaris,comp.unix.bsd.misc
Subject: Re: Solaris 2.6
Date: 28 Nov 1996 10:59:36 GMT
Organization: interface business GmbH, Dresden
Lines: 39
Distribution: inet
Message-ID: <57jrao$pfd@innocence.interface-business.de>
References: <32986299.AC7@mail.esrin.esa.it> <57djlg$bks@agate.berkeley.edu>
  <57dkbq$bsr@panix2.panix.com> <casper.329abb76@mail.fwi.uva.nl>
  <57ej3a$7ij@panix2.panix.com> <casper.329ae8f2@mail.fwi.uva.nl>
  <57hhcp$kp9@innocence.interface-business.de>
  <casper.329c54f5@mail.fwi.uva.nl>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.solaris:90698 comp.unix.bsd.misc:1614

casper@fwi.uva.nl (Casper H.S. Dik) wrote:

> >With either the new or the old shared lib, it works.
> 
> Neat trick.  Do you use the same size for off_t?

No.

> Was this a little endian machine?  (Some difference as
> you get a bit more lee way in argument passing)

Yes, it was.  However, you noticed that i carefully called the lseek()
with a third argument != 0, to find about these kinds of problems.

(My only big-endian machine here is AIX, sorry.  Ah, well, and a Sun,
but i haven't come round to nuke the Solaris there in favor of NetBSD,
just to test it. ;-)

> Did you try assigning a > 32 bit value to off_t?

This will very probably not work, but it won't work in your horror-
scenario (;-) either if the underlying libs are 32-bit off_t only.

> >Does linking a 4.4BSD .o file against a 4.3BSD library also count?
> >Then see above.
> 
> No, not really.  And the other way around only counts if you
> can do it for *all* .o files.  Not just one sample case.

If you can gimme a more complex 4.3BSD (32-bit off_t) library, e.g.
from some of your database vendors, along with their .h files and an
example, i'd give it a try.  But mind you, i simply ran out of 4.3BSD
.o files now... (after a painless transition, but you knew this
already :-).

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j