[opensuse-arm] kernel 3.11.4 fails to build with gcc 5
Hi, I updated kernel-raspberrypi config to get initrd support but it fails to build with gcc 5. :( It is a kernel 3.11.4 where I added include/linux/compiler-gcc5.h Any idea how to fix it? https://build.opensuse.org/package/show/devel:ARM:Factory:Contrib:RaspberryP... Guillaume -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 6/18/15 1:24 PM, Guillaume Gardet wrote:
Hi,
I updated kernel-raspberrypi config to get initrd support but it fails to build with gcc 5. :(
It is a kernel 3.11.4 where I added include/linux/compiler-gcc5.h
Any idea how to fix it?
https://build.opensuse.org/package/show/devel:ARM:Factory:Contrib:Rasp berryPi/kernel-raspberrypi
https://gcc.gnu.org/gcc-5/porting_to.html The
section on extern inlines, specifically, is what you're running into. It will be no small job to get that working and, if you're going to expend the effort on it, your work would be much more appreciated if it were done on the latest upstream. (Assuming it hasn't already been done there. I haven't checked.) - -Jeff - -- Jeff Mahoney SUSE Labs -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) iQIcBAEBAgAGBQJVgwOBAAoJEB57S2MheeWyreYP/2INDBuM9jvyiGE8xWPv+3sJ HWYfbuz7mK8DjSSyfSUJyqsNvY68vS5COVAIwjEJchQZGRWCTdW3scpLSBeRj5QO nnBxMpPZUWTt4+b4OjKDrryqWY/RlHZjb1XeYgyIQFTkc9j1+lb4SswwfikkpEiU TqrO8SKNUC5sPO7o+WOGiWqYZt3M14N5QZkOQiImjLHvaVs0DQlke00Fn360ZFe0 9sKAEOo39LFURNE+cOK2nE4MAZSEGfgjsrouXiYROr8Rq2c4we15SfFd7V/YQw51 uLru+nwjm4H6aK891AnF2qpBHrxUW1/b00rmZvF1bqfaCsB4I+LVlmb7CXrFbzZT ArOmDL31bVqSeKCbIYTjqn1oeCjcKZmI81Oy/XeBUQBmCmDUyLNB43qm8ARN48oA kUoyy+PFS3/3NELccA8x55q3RYgW/RLoC6M86lC3/0qCuqOCjPT3PzIr7SQJ6MRj AtDpDy1xDddcthfWS7tb36SEb+LhMzIa+wu6Pqk2/waD/BgKOgnTCRINhmxqmZYw xiRGK/MNaix+75+Mql0Om1TQQfWn3pnUphU5JYUxxgZoz5xCWlQSczI+H9IilLqY eBmYIkqHqyfxARJILvcCKaPumvq3JOCg3dx/5/PFWtDGds03ziLU7MlTg8Gnf8f4 dITK/m13eIsVucJFmDV8 =HKbS -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
Am Donnerstag, 18. Juni 2015, 19:24:07 schrieb Guillaume Gardet:
Hi,
I updated kernel-raspberrypi config to get initrd support but it fails to build with gcc 5. :(
It is a kernel 3.11.4 where I added include/linux/compiler-gcc5.h
Any idea how to fix it?
https://build.opensuse.org/package/show/devel:ARM:Factory:Contrib:RaspberryP... arch/arm/include/asm/glue-cache.h uses "extern inline", which won't work: https://gcc.gnu.org/gcc-5/porting_to.html It was changed to "static inline" in 76ae03828756bac2c1fa2c7eff7485e5f815dbdb
Cheers, Fabian
Guillaume
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org
participants (3)
-
Fabian Vogt
-
Guillaume Gardet
-
Jeff Mahoney