On Mon, May 11, 2015 at 02:37:07PM +0100, David Howells wrote: > Paolo Bonzini <pbonzini@xxxxxxxxxx> wrote: > > > > > I'm encountering a few problems with GCC 5 due to code that fails to > > > > work with GCC major releases above 4. In particular, there are at least > > > > problems with the kernel > > > > > > fedora's kernel builds, can you be more specific about the problems you're > > > experiencing? > > > > Kernels older than 3.18 don't build, which is a pain if you're bisecting > > a kernel bug introduced before 3.18. > > Any particular arch? And what's the error? I bet it is the linux/include/compiler*.h stuff. In any case, supposedly you can just use gcc -U__GNUC__ -U__GNUC_MINOR__ -U__GNUC_PATCHLEVEL__ -D__GNUC__=4 -D__GNUC_MINOR__=10 -D__GNUC_PATCHLEVEL__=0 instead of gcc, you don't need any hacks for that from the distro. Jakub -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct