Date: Tue, 06 May 2003 21:39:51 +0200 From: Dag-Erling Smorgrav <des@ofug.org> To: "Andrey A. Chernov" <ache@nagual.pp.ru> Cc: freebsd-arch@freebsd.org Subject: Re: `Hiding' libc symbols Message-ID: <xzp1xzbg8zc.fsf@flood.ping.uio.no> In-Reply-To: <20030506190747.GA59160@nagual.pp.ru> (Andrey A. Chernov's message of "Tue, 6 May 2003 23:07:47 %2B0400") References: <20030505175426.GA19352@madman.celabo.org> <xzpk7d53zu5.fsf@flood.ping.uio.no> <20030505205051.GA40572@nagual.pp.ru> <20030505231135.GA21953@madman.celabo.org> <20030505231837.GA44533@nagual.pp.ru> <xzpy91k3j9n.fsf@flood.ping.uio.no> <20030506170823.GI83663@lucky.net> <xzpllxkez78.fsf@flood.ping.uio.no> <20030506182756.GA57720@nagual.pp.ru> <xzp8ytjgbq4.fsf@flood.ping.uio.no> <20030506190747.GA59160@nagual.pp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
"Andrey A. Chernov" <ache@nagual.pp.ru> writes: > On Tue, May 06, 2003 at 20:40:35 +0200, Dag-Erling Smorgrav wrote: > > I would like to draw your attention to points b) and c) above and ask > > how you plan to address them. > About b), I don't quite understand, what you mean. If inside the same > application some file includes, say, math.h and use sin() and another file > not includes math.h and defines its own sin() it is error. No. It will lead to surprising results if the file that includes <math.h> really does use sin(), but if it doesn't there is no reason why the other file can not define an external symbol named sin because sin is in the application namespace in that file. > About c), at this moment we discuss functions namespace only, i.e. linker > "T" class. So you admit that your solution is incomplete? In that case, why do you insist that it is superior to Jacques Vidrine's solution, which addresses all cases without requiring us take the linker off the vendor branch and make it unusable for non-hosted applications? DES -- Dag-Erling Smorgrav - des@ofug.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp1xzbg8zc.fsf>