From Fedora Project Wiki

No edit summary
No edit summary
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{header|docs}}
{{Docs_beat_open}}


{{Admon/warning | Document is Final | The contents of this beat have been sent for translation for the GA version of the Release Notes.  Any additional changes to this beat will not appear until after the release of Fedora 13.  If you have zero-day changes, be sure to post a bug. }}


== gcc ==
== GCC ==


''gcc'' has upgraded from 4.4.2 to 4.4.3.
As of Fedora 19, GCC 4.8.x is shipped as the default GCC. In addition, all Fedora packages have been rebuilt with GCC 4.8.x (and GLIBC 2.17; see below)
This includes ''gcc'', ''gcc-c++'', ''gcc-fortran'', ''gcc-gnat'', and ''gcc-objc''.


Users will be able to see compiled code improvements and use the newly added features, such as improved C++11 and C11 support, improved vectorization support, etc.


=== GCC now uses Implicit DSO linking ===
For more information on the changes in GCC 4.8.x, please see http://gcc.gnu.org/gcc-4.8/changes.html


Key points:
# ld will no longer automatically search in the dependencies of linked objects.
# If your project used both libraries A and B, it will not compile unless A and B are both explicitly linked.
# There are more explanations on the Features page. [[UnderstandingDSOLinkChange |here]]


Under the new changes, if your package fails its build with a message like:
== GLIBC ==


  /usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
As of Fedora 19, GLIBC 2.17 is shipped as the default GLIBC. All Fedora packages have been rebuilt with GLIBC 2.17 (and GCC 4.8.x; see above).
  /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


For more information on the changes in GLIBC 2.17, please see http://sourceware.org/ml/libc-announce/2012/msg00001.html


Then the line that builds the specified .o needs to explicitly link libm.
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
For additional details refer to the feature page on the wiki [[Features/ChangeInImplicitDSOLinking]]
[[Category:Documentation beats]]
 
=== _builtin_stdarg_start has been completely removed from GCC 4.4.3 ===
 
_builtin_stdarg_start will return a undefined reference to "_builtin_stdarg_start" because of the depreciation of <stdarg.h> in GCC 4.0
The replacement is _builtin_va_start.
 
 
 
 
 
 
<noinclude>[[Category:Release Notes]]<noinclude>
[[Category:Documentation_beats]]

Revision as of 23:32, 30 April 2013

DocsProject Header docTeam1.png
Note.png
Beat is open
This beat is now ready to have Fedora 25 content added by the beat writer


GCC

As of Fedora 19, GCC 4.8.x is shipped as the default GCC. In addition, all Fedora packages have been rebuilt with GCC 4.8.x (and GLIBC 2.17; see below)

Users will be able to see compiled code improvements and use the newly added features, such as improved C++11 and C11 support, improved vectorization support, etc.

For more information on the changes in GCC 4.8.x, please see http://gcc.gnu.org/gcc-4.8/changes.html


GLIBC

As of Fedora 19, GLIBC 2.17 is shipped as the default GLIBC. All Fedora packages have been rebuilt with GLIBC 2.17 (and GCC 4.8.x; see above).

For more information on the changes in GLIBC 2.17, please see http://sourceware.org/ml/libc-announce/2012/msg00001.html