<div class="gmail_quote">On Tue, Feb 9, 2010 at 3:38 PM, Adam Jackson <span dir="ltr">&lt;<a href="mailto:ajax@redhat.com">ajax@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Tue, 2010-02-09 at 08:06 +0000, Richard Hughes wrote:<br>
&gt; On 8 February 2010 22:46, Kevin Kofler &lt;<a href="mailto:kevin.kofler@chello.at">kevin.kofler@chello.at</a>&gt; wrote:<br>
&gt; &gt; As a result, you&#39;ll be causing dozens of FTBFS bugs just before the feature<br>
&gt; &gt; freeze. I think this is entirely the wrong time in the release cycle to do<br>
&gt; &gt; such a change, if it is done at all.<br>
&gt;<br>
&gt; I&#39;ve been fixing upstream projects for weeks to build with<br>
&gt; --no-as-needed. The list of projects that fail to build should be much<br>
&gt; smaller now, especially for GNOME and Freedesktop stuff.<br>
<br>
</div>Just as a reminder, this change is --no-add-needed, not --no-as-needed.<br>
They have infuriatingly similar names; one of the changes is also to<br>
change the name of --{no-,}add-needed to be more obvious.<br>
<br>
--no-as-needed is already the default behaviour, and means &quot;libraries<br>
specified with -lfoo will be emitted into the link output in a DT_NEEDED<br>
entry, regardless of whether any symbols from libfoo are used in the<br>
link output object itself&quot;.  This may mean your binary or library ends<br>
up with more dependencies than it needs, but is generally harmless.<br></blockquote><div>Not so harmless, IMHO, causing unecessary deps in producing RPM. IIRC<br>there was some discussion on this in the past. Many of these errors was caused from using AC_CHECK_LIB autoconf macro and not AC_SEARCH_LIB in <a href="http://configure.ac">configure.ac</a> <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
--no-add-needed is quite different.  Your binary a.out uses symbols from<br>
libfoo and libbar.  libfoo is linked against libbar.  But your link line<br>
only says -lfoo.  --add-needed behaviour, the old default, would<br>
implicitly add a &quot;-lbar&quot; as well.  --no-add-needed, the new default,<br>
will not, and therefore your link will probably fail.<br>
<br></blockquote><div>This is the case described in the libtool manual <br></div><div><a href="http://www.gnu.org/software/libtool/manual/html_node/Inter_002dlibrary-dependencies.html#Inter_002dlibrary-dependencies">http://www.gnu.org/software/libtool/manual/html_node/Inter_002dlibrary-dependencies.html#Inter_002dlibrary-dependencies</a><br>
<br><span id="result_box" class="medium_text"><span style="background-color: rgb(255, 255, 255);" title="simpatico sapere che fedora avrŕ lo stesso comportamento delle librerie di AIX in questa area, se ho compreso correttamente il tema in discussione.">Nice
to know that Fedora will have the same behavior of the AIX libraries in
this area, if I understood correctly the topic under discussion.</span></span><br><br>Regards<br>Regards<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

- ajax<br>
<br>--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br></blockquote></div><br>