From Fedora Project Wiki

No edit summary
(23 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{Admon/warning | F13 | Beat owner should begin placing Fedora 13 content in this beat. }}
{{header|docs}}
{{Docs_beat_open}}




== GCC ==


==  GCC upgraded in alpha ==
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


'''Note: gcc has upgraded from 4.4.2 to 4.4.3'''
This includes gcc, gcc-c++, gcc-fortran, gcc-gnat, and gcc-objc.


== GLIBC ==


'''GCC now uses Implicit DSO linking.'''
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).


[[Features/ChangeInImplicitDSOLinking |Implicit DSO Linking ]]
For more information on the changes in GLIBC 2.17, please see http://sourceware.org/ml/libc-announce/2012/msg00001.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:
[[Category:Docs Project]]
 
[[Category:Draft documentation]]
  /usr/bin/ld: gpx-parser.o: undefined reference to symbol 'acos@@GLIBC_2.0'
[[Category:Documentation beats]]
  /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
 
 
Then the line that builds the specified .o needs to explicitly link libm.
 
 
''' _builtin_stdarg_start has been completely removed from GCC 4.4.3'''
 
 
 
 
 
<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