<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Tricky bugs: peculiarities of dynamic linking, and magic divisions</title>
	<atom:link href="http://aras-p.info/blog/2008/04/19/tricky-bugs/feed/" rel="self" type="application/rss+xml" />
	<link>http://aras-p.info/blog/2008/04/19/tricky-bugs/</link>
	<description>Random thoughts of a triangle pusher</description>
	<pubDate>Mon, 08 Sep 2008 08:22:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Aras Pranckevičius</title>
		<link>http://aras-p.info/blog/2008/04/19/tricky-bugs/#comment-11676</link>
		<dc:creator>Aras Pranckevičius</dc:creator>
		<pubDate>Wed, 07 May 2008 08:05:27 +0000</pubDate>
		<guid isPermaLink="false">http://aras-p.info/blog/?p=166#comment-11676</guid>
		<description>ryg: yeah, that would totally explain it!</description>
		<content:encoded><![CDATA[<p>ryg: yeah, that would totally explain it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fabian 'ryg' Giesen</title>
		<link>http://aras-p.info/blog/2008/04/19/tricky-bugs/#comment-11608</link>
		<dc:creator>Fabian 'ryg' Giesen</dc:creator>
		<pubDate>Sat, 03 May 2008 17:39:06 +0000</pubDate>
		<guid isPermaLink="false">http://aras-p.info/blog/?p=166#comment-11608</guid>
		<description>I'm pretty sure this is related to a similar problem with ELF executables, caused by weird defaults of the GNU linker - the command line option "-Bsymbolic", to be precise. Quoting from the GNU ld manual:
-Bsymbolic
    When creating a shared library, bind references to global symbols to the definition within the shared library, if any. Normally, it is possible for a program linked against a shared library to override the definition within the shared library. This option is only meaningful on ELF platforms which support shared libraries.

This only talks about ELF executables, but it sure looks like Mach-O has the same problem. I certainly don't see why this isn't the default.</description>
		<content:encoded><![CDATA[<p>I&#8217;m pretty sure this is related to a similar problem with ELF executables, caused by weird defaults of the GNU linker - the command line option &#8220;-Bsymbolic&#8221;, to be precise. Quoting from the GNU ld manual:<br />
-Bsymbolic<br />
    When creating a shared library, bind references to global symbols to the definition within the shared library, if any. Normally, it is possible for a program linked against a shared library to override the definition within the shared library. This option is only meaningful on ELF platforms which support shared libraries.</p>
<p>This only talks about ELF executables, but it sure looks like Mach-O has the same problem. I certainly don&#8217;t see why this isn&#8217;t the default.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aras Pranckevičius</title>
		<link>http://aras-p.info/blog/2008/04/19/tricky-bugs/#comment-11461</link>
		<dc:creator>Aras Pranckevičius</dc:creator>
		<pubDate>Sun, 20 Apr 2008 06:14:16 +0000</pubDate>
		<guid isPermaLink="false">http://aras-p.info/blog/?p=166#comment-11461</guid>
		<description>Yeah. But I never expected that a function which is not explicitly exported can still be "reused" between application and a DLL. Even more so, in the &lt;i&gt;opposite&lt;/i&gt; direction (dll uses implementation from the app)!</description>
		<content:encoded><![CDATA[<p>Yeah. But I never expected that a function which is not explicitly exported can still be &#8220;reused&#8221; between application and a DLL. Even more so, in the <i>opposite</i> direction (dll uses implementation from the app)!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan-Assen</title>
		<link>http://aras-p.info/blog/2008/04/19/tricky-bugs/#comment-11453</link>
		<dc:creator>Ivan-Assen</dc:creator>
		<pubDate>Sat, 19 Apr 2008 21:21:29 +0000</pubDate>
		<guid isPermaLink="false">http://aras-p.info/blog/?p=166#comment-11453</guid>
		<description>Yet another victory for the Stupid Man's Rule of C++ Binary Interfaces: allow only C-style interface across a DLL boundary.</description>
		<content:encoded><![CDATA[<p>Yet another victory for the Stupid Man&#8217;s Rule of C++ Binary Interfaces: allow only C-style interface across a DLL boundary.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.264 seconds -->
