en-US/Devel-GCC.xml

John J. McDonough jjmcd at fedoraproject.org
Thu Mar 18 13:42:46 UTC 2010


 en-US/Devel-GCC.xml |   66 ++++++++++++++++++++++++++++++++++++++++++++++++----
 1 file changed, 61 insertions(+), 5 deletions(-)

New commits:
commit 6244c5053595b749fbe27eeb923a00493149eb70
Author: John J. McDonough <jjmcd at Aidan.(none)>
Date:   Thu Mar 18 09:42:35 2010 -0400

    gcc beat

diff --git a/en-US/Devel-GCC.xml b/en-US/Devel-GCC.xml
index 8ba78d1..e96a2fe 100644
--- a/en-US/Devel-GCC.xml
+++ b/en-US/Devel-GCC.xml
@@ -3,11 +3,67 @@
 ]>
 
 <section id="sect-Release_Notes-The_GCC_Compiler_Collection">
-	<title>The GCC Compiler Collection</title>
-	<remark>This beat is located here: <ulink type="http" url="https://fedoraproject.org/wiki/Docs/Beats/Devel/Tools/GCC">https://fedoraproject.org/wiki/Docs/Beats/Devel/Tools/GCC</ulink></remark>
-	<para>
-		TBD
-	</para>
+  <title>The GCC Compiler Collection</title>
+  <remark>This beat is located here: <ulink type="http" url="https://fedoraproject.org/wiki/Docs/Beats/Devel/Tools/GCC">https://fedoraproject.org/wiki/Docs/Beats/Devel/Tools/GCC</ulink></remark>
+
+  <para>
+    <package>gcc</package> has been upgraded from 4.4.2 to 4.4.3. This includes
+    <application>gcc</application>, <application>gcc-c++</application>,
+    <application>gcc-fortran</application>, <application>gcc-gnat</application>,
+    and <application>gcc-objc</application>.
+  </para>
+
+  <section>
+    <title>GCC now uses Implicit DSO linking </title>
+    <para>
+      Key points: 
+      <orderedlist numeration="arabic">
+	<listitem>
+	  <para> ld will no longer automatically search in the dependencies of
+	    linked objects.
+	  </para>
+	</listitem>
+	<listitem>
+	  <para>
+	    If your project used both libraries A and B, it will not compile
+	    unless A and B are both explicitly linked.
+	  </para>
+	</listitem>
+	<listitem>
+	  <para>
+	    There are more explanations on the Features page on the wiki: <ulink
+	    url="http://fedoraproject.org/w/index.php?title=UnderstandingDSOLinkChange"
+	    />.
+	  </para>
+	</listitem>
+      </orderedlist>
+    </para>
+    <para>
+      Under the new changes, if your package fails its build with a message
+      like:
+    </para>
+    <programlisting> 
+/usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
+/usr/bin/ld: note: 'acos@@GLIBC_2.0' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
+    </programlisting>
+    <para>
+      Then the line that builds the specified .o needs to explicitly link libm.
+    </para>
+  </section>
+
+  <section>
+    <title>
+      <command>_builtin_stdarg_start</command> has been completely removed from
+      <application>gcc 4.4.3</application>.
+    </title>
+    <para>
+      <command>_builtin_stdarg_start</command> will return a undefined reference
+      to <command>_builtin_stdarg_start</command> because of the depreciation of
+      <command>&lt;stdarg.h&gt;</command> in <application>gcc 4.x</application>
+      The replacement is <command>_builtin_va_start</command>.
+    </para>
+  </section>
+
 </section>
 
 




More information about the docs-commits mailing list