From doko at ubuntu.com Mon Jul 20 21:54:31 2015 From: doko at ubuntu.com (Matthias Klose) Date: Mon, 20 Jul 2015 23:54:31 +0200 Subject: Fwd: GCC 5 for 14.10 (wily) on July 31 In-Reply-To: <55AD6BAB.7070209@ubuntu.com> References: <55AD6BAB.7070209@ubuntu.com> Message-ID: <55AD6E17.1050709@ubuntu.com> fyi, sent to u-d-a and u-d, see https://lists.ubuntu.com/archives/ubuntu-devel/2015-July/038825.html -------- Forwarded Message -------- Return-Path: X-Original-To: doko at mail.canonical.com Delivered-To: doko at mail.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by grenadilla.canonical.com (Postfix) with ESMTP id BB3E514720EE; Mon, 20 Jul 2015 21:44:51 +0000 (UTC) Received: from cluster-j.mailcontrol.com (cluster-j.mailcontrol.com [85.115.54.190]) by fiordland.canonical.com (Postfix) with ESMTPS id AAB87A00929; Mon, 20 Jul 2015 21:44:51 +0000 (UTC) Received: from arctowski.canonical.com (arctowski.canonical.com [91.189.94.158]) by rly33j.srv.mailcontrol.com (MailControl) with ESMTP id t6KLioKD024516; Mon, 20 Jul 2015 22:44:50 +0100 Received: from fiordland.canonical.com ([91.189.94.145]) by arctowski.canonical.com with esmtp (Exim 4.71) (envelope-from ) id 1ZHIri-0003hj-Cj; Mon, 20 Jul 2015 21:44:50 +0000 Received: from huckleberry.canonical.com (huckleberry.canonical.com [91.189.94.19]) by fiordland.canonical.com (Postfix) with ESMTP id 3E3B0A00928; Mon, 20 Jul 2015 21:44:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=huckleberry.canonical.com) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1ZHIrA-0000NJ-MK; Mon, 20 Jul 2015 21:44:16 +0000 Received: from einhorn.in-berlin.de ([192.109.42.8]) by huckleberry.canonical.com with esmtp (Exim 4.76) (envelope-from ) id 1ZHIr5-0000N3-OM; Mon, 20 Jul 2015 21:44:11 +0000 X-Envelope-From: doko at ubuntu.com Received: from [192.168.178.20] (ip5f5bf7eb.dynamic.kabel-deutschland.de [95.91.247.235] (may be forged)) (authenticated bits=0) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id t6KLiBjs003467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 20 Jul 2015 23:44:11 +0200 Message-ID: <55AD6BAB.7070209 at ubuntu.com> Date: Mon, 20 Jul 2015 23:44:11 +0200 From: Matthias Klose User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: ubuntu-devel Subject: GCC 5 for 14.10 (wily) on July 31 Cc: kubuntu-devel at lists.ubuntu.com, xubuntu-devel at lists.ubuntu.com, ubuntu-devel X-BeenThere: ubuntu-devel at lists.ubuntu.com X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Ubuntu Development \(developers\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ubuntu-devel-bounces at lists.ubuntu.com Sender: ubuntu-devel-bounces at lists.ubuntu.com X-Mailcontrol-Inbound: WBq!ucXEz80wFmxD6S7f3nyjenN!phNbIQWiyBG44+lo3FL0yiLKb3yjenN!phNbh+9WRKrdgbE= X-Spam-Score: 1.9 X-Scanned-By: MailControl 44278.224 (www.mailcontrol.com) on 10.74.0.143 Hi, We are currently preparing the switch to GCC 5 as the default compiler for 14.10 (wily). Unlike earlier updates to newer compiler versions, which only required updating packages to newer language standards, this time we have a partial ABI transition in the standard C++ library (libstdc++6). Basically we'll have to rebuild around 3500 source packages, and will have some hundred follow-up library transitions. The libstdc++6 transition is prepared in the PPA https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/landing-016 To test other packages you need to use this PPA as a dependency for your PPA / your local chroot. It is not enough to use the GCC 5 packages in wily. We are preparing the transition in a PPA, because direct uploads would break things a bit too much. Of course we can't prepare some thousand packages in the PPA and keep track of them with the wily archive, so at some point (July 31), we'll copy this PPA to the distribution and will continue the transition from there. The PPA probably is not yet ready to be installed into your host system, not everything is yet rebuilt using the new compilers. Help from the Ubuntu desktop team would be appreciated. Same for the server and cloud teams. The technical details what you can expect from GCC 5 are described in the Debian Wiki (not different for Ubuntu) at https://wiki.debian.org/GCC5. Porting hints available at https://gcc.gnu.org/gcc-5/porting_to.html. The g++-5/libstdc++6 will trigger some followup transitions; these are currently only tracked for Debian unstable, and will sync/merge into Ubuntu. We are trying to avoid explicit transitions in Ubuntu because of the extra work, and because Ubuntu doesn't guarantee partial updates. Packages affected by the transition will have a dependency on libstdc++6 (>= 5.2), which won't migrate to the release pocket soon. We will keep these packages in the proposed pocket until we can validate that common installation like the Ubuntu desktop or the Kubuntu desktop won't break. This effectively means, that migrations to the release pocket won't happen for a week or two (of course except those not relying on libstdc++6). If you are a core developer you can upload directly to the landing-016 PPA. Please keep in mind that you are responsible to keep packages in this PPA up to date. Packages should have a higher version number than in wily-proposed. No-change uploads should have a version number of the form -~gcc5.N When in doubt, please ask on IRC (FreeNode, #ubuntu-devel). Non core developers should prepare packages in their own PPA, depending on the landing-16 PPA. The Kubuntu developers already did this with KDE, having eliminated all issues exposed by GCC 5 (see [1]). It would be good to prepare something similar for Lubuntu and Xubuntu. What still needs fixing? Build failures with GCC 5 can be seen with the last test rebuild using GCC 5 [2], comparing that with a regular test rebuild [3]. Build failures in the landing-016 PPA should be fixed. Packages with fixes in Debian should be merged / synced either now (unstable), or after GCC 5 becomes the default (those which are being prepared in Debian experimental). Build failures and component mismatches should be cleared during the following two weeks. Thanks for joining the ride, and have fun with this roller coaster transition (it's by far the biggest transition since the migration to Warty Warthog)! Matthias [1] https://lists.ubuntu.com/archives/kubuntu-devel/2015-July/009765.html [2] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20150402-gcc5-vivid.html [3] http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20150402-vivid.html -- ubuntu-devel mailing list ubuntu-devel at lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel