Features/GCC48

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. ...")
 
 
(6 intermediate revisions by 3 users not shown)
Line 16: Line 16:
 
== Current status ==
 
== Current status ==
 
* Targeted release: [[Releases/19]]
 
* Targeted release: [[Releases/19]]
* Last updated: 2013-01-08
+
* Last updated: 2013-05-15
* Percentage of completion: 50%
+
* Percentage of completion: 100%
  
 
== Detailed Description ==
 
== Detailed Description ==
GCC 4.8.0 is going to be released in mid March to mid April and is currently in regression bugfix only mode.  I've performed a test mass rebuild
+
GCC 4.8.0 has been released on March, 22nd and is currently in regression bugfix only mode.  I've performed a test mass rebuild
 
on x86_64 with gcc-4.8.0-0.1.fc19, out of 12712 packages 11687 built successfully, 933 packages failed to build both with gcc-4.8.0-0.1.fc19 and gcc-4.7.2-9.fc19 (thus unlikely gcc related),
 
on x86_64 with gcc-4.8.0-0.1.fc19, out of 12712 packages 11687 built successfully, 933 packages failed to build both with gcc-4.8.0-0.1.fc19 and gcc-4.7.2-9.fc19 (thus unlikely gcc related),
 
67 packages failed due to issues on the side of the packages, 22 failed due to bugs on the gcc side that should be fixed already in gcc-4.8.0-0.3.fc19 and 3 failed due to issues still to be fixed on the GCC side.
 
67 packages failed due to issues on the side of the packages, 22 failed due to bugs on the gcc side that should be fixed already in gcc-4.8.0-0.3.fc19 and 3 failed due to issues still to be fixed on the GCC side.
 
See https://lists.fedoraproject.org/pipermail/devel/2013-January/175876.html for details.
 
See https://lists.fedoraproject.org/pipermail/devel/2013-January/175876.html for details.
 +
After gcc-4.8.0-* has been built into Fedora, a mass rebuild has been performed.
 +
GCC 4.8.1 is going to be released in a week or so.
  
 
== Benefit to Fedora ==
 
== Benefit to Fedora ==
Line 42: Line 44:
 
== Contingency Plan ==
 
== 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
 
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
12000+ 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.
+
12000+ 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, we've never had to do it in the past,
 +
but worst case we can mass rebuild everything with older gcc again.
  
 
== Documentation ==
 
== Documentation ==
Line 54: Line 57:
  
  
[[Category:ReadyForWrangler]]
+
[[Category:FeatureAcceptedF19]]

Latest revision as of 05:48, 15 May 2013


Contents

[edit] GCC 4.8.x

[edit] Summary

Switch GCC in Fedora 19 to 4.8.x, rebuild all packages with it.

[edit] Owner

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

[edit] Current status

  • Targeted release: Releases/19
  • Last updated: 2013-05-15
  • Percentage of completion: 100%

[edit] Detailed Description

GCC 4.8.0 has been released on March, 22nd and is currently in regression bugfix only mode. I've performed a test mass rebuild on x86_64 with gcc-4.8.0-0.1.fc19, out of 12712 packages 11687 built successfully, 933 packages failed to build both with gcc-4.8.0-0.1.fc19 and gcc-4.7.2-9.fc19 (thus unlikely gcc related), 67 packages failed due to issues on the side of the packages, 22 failed due to bugs on the gcc side that should be fixed already in gcc-4.8.0-0.3.fc19 and 3 failed due to issues still to be fixed on the GCC side. See https://lists.fedoraproject.org/pipermail/devel/2013-January/175876.html for details. After gcc-4.8.0-* has been built into Fedora, a mass rebuild has been performed. GCC 4.8.1 is going to be released in a week or so.

[edit] Benefit to Fedora

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

[edit] Scope

All packages should be rebuilt with the new gcc once it hits f19.

[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 12000+ 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, we've never had to do it in the past, but worst case we can mass rebuild everything with older gcc again.

[edit] Documentation

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

[edit] Release Notes

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

[edit] Comments and Discussion