Features/GCC47

From FedoraProject

< Features(Difference between revisions)
Jump to: navigation, search
(Created page with "<!-- All fields on this form are required to be accepted by FESCo. We also request that you maintain the same order of sections so that all of the feature pages are uniform. --...")
 
 
(2 intermediate revisions by one user not shown)
Line 4: Line 4:
 
<!-- The actual name of your feature page should look something like: Features/YourFeatureName.  This keeps all features in the same namespace -->
 
<!-- The actual name of your feature page should look something like: Features/YourFeatureName.  This keeps all features in the same namespace -->
  
= Feature Name <!-- The name of your feature --> =
+
= GCC 4.7.x =
  
 
== Summary ==
 
== Summary ==
Line 16: Line 16:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/17]]
 
* Targeted release: [[Releases/17]]
* Last updated: (DATE)
+
* Last updated: 2012-02-13
* Percentage of completion: 50%
+
* Percentage of completion: 95%
  
 
== Detailed Description ==
 
== Detailed Description ==
Line 54: Line 54:
  
  
[[Category:FeatureReadyForWrangler]]
+
[[Category:FeatureAcceptedF17]]

Latest revision as of 19:06, 13 February 2012


Contents

[edit] GCC 4.7.x

[edit] Summary

Switch GCC in Fedora 17 to 4.7.x, rebuild all packages with it.

[edit] Owner

  • Name: Jakub Jelinek
  • Email: jakub@redhat.com

[edit] Current status

  • Targeted release: Releases/17
  • Last updated: 2012-02-13
  • Percentage of completion: 95%

[edit] Detailed Description

GCC 4.7.0 is going to be released in mid March to mid April, is currently in bugfix only mode and is going to switch into regression bug fix mode in January. I've performed a test mass rebuild on x86_64 with gcc-4.7.0-0.1.fc17, out of 11270 packages 10056 built successfully, 845 packages failed to build both with gcc-4.7.0-0.1.fc17 and gcc-4.6.2-1.fc16 (thus unlikely gcc related), 108 failed to build due to missing <unistd.h> includes (which is no longer incorrectly included as implementation detail of some STL headers), 60 + 28 packages failed to build due to fixes in C++ lookup, 23 failed because boost needs fixing for gcc 4.7.0. I've encountered 3 different ICEs during the mass rebuild, all of them filed right now in upstream bugzilla.

[edit] Benefit to Fedora

See http://gcc.gnu.org/gcc-4.7/changes.html for the list of changes.

[edit] Scope

All packages should be rebuilt with the new gcc once it hits dist-f17.

[edit] How To Test

GCC has its own testsuite, which is run during the package build, plus many other packages with automated tests also help to test the new gcc.

[edit] User Experience

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.

[edit] Dependencies

All packages need to be rebuilt.

[edit] Contingency Plan

If bugs are discovered, I'd appreciate help from the package owners in preparing self-contained testcases to speed up analysis and fixing the bugs. Don't have time to debug issues in 11000+ packages, especially when in many cases it could be caused by undefined code in the packages etc. I don't expect we'll have to fall back to the older gcc.

[edit] Documentation

http://gcc.gnu.org/gcc-4.7/changes.html

[edit] Release Notes

Fedora 17 comes with GCC 4.7.0 as primary compiler, see http://gcc.gnu.org/gcc-4.7/changes.html for user visible changes in it.

[edit] Comments and Discussion