On Tue, 10 Feb 2015, Cristian Rodríguez wrote:
El 10/02/15 a las 06:51, Richard Biener escribió:
Hi,
we are currently trying to get openSUSE:Factory:Rings:0-Bootstrap and openSUSE:Factory:Rings:1-MinimalX clean to build with GCC 5 in the openSUSE:Factory:Staging:Gcc49 project. Once that works reasonably I will push GCC 5 to Factory without enabling it as a default - that will be done when it works fully (help appreciated at that point).
There is a porting-to document that explains some issues you may run into (also consider the 4.9 variant as we didn't transition to that): https://gcc.gnu.org/gcc-5/porting_to.html https://gcc.gnu.org/gcc-4.9/porting_to.html
You may also find the analysis of Fedora interesting which explains why some packages now fail to build: https://lists.fedoraproject.org/pipermail/devel/2015-February/207549.html
GCC 5 packages can be installed from devel:gcc where they are regularly updated. Those sources also feed openSUSE:Factory:Staging:Gcc49.
Richard.
Cool, thanks for the notice.. I will watch out and fix some build fails if any..in the meanwhile can you or somebody else take a look at this bug ?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62249
Short story, LTO has to be disabled when building the systemd package because of this bug, as build checks consider "warning: call to ‘__poll_chk_warn’ declared with attribute warning: poll called with fds buffer too small file nfds entries" a bug and refuse to continue.
It's an "old" bug, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61886, but it looks like hard to fix. I'll push Honza some more... Note that I think we absolutely do _not_ want to build any packages with LTO enabled. Because it's really no fun debugging issues with LTO builds and mind, systemd is of course bug-free.... Thus the proper "fix" for openSUSE is to disable the use of LTO when building packages. Richard. -- Richard Biener <rguenther@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild, Dilip Upmanyu, Graham Norton HRB 21284 (AG Nuernberg)