Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Sep 1999 07:54:09 +0200
From:      Marcel Moolenaar <marcel@scc.nl>
To:        Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: 32+ signals and library versions
Message-ID:  <37D74B81.FDE66686@scc.nl>
References:  <199909081812.WAA86144@arc.hq.cti.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Dmitrij Tejblum wrote:
> 
> > Another issue when sigset_t changes is the version numbers of shared
> > libraries. Since libc and libc_r have changed on the interface level, they
> > need a version bump.
> 
> I suggest to try to avoid the version bump. NetBSD-like way to do it:
> Give new implementations another names in object files, so that they
> don't conflict with old implementations, and preserve old
> implementations in the library too. To make the compiler generate calls
> to new implementations, one can add appropriate #define s in .h files.
> For GCC, __asm__ attribute also can be used.

That still is an interface change and thus needs a version bump. How else
do I know wich version x library has the new implementations (besides the
larger one :-)?

-- 
Marcel Moolenaar                        mailto:marcel@scc.nl
SCC Internetworking & Databases           http://www.scc.nl/
The FreeBSD project                mailto:marcel@FreeBSD.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37D74B81.FDE66686>