Thread Previous • Date Previous • Date Next • Thread Next |
These two patches allow arm-linux-gnueabihf-gcc 4.7.3 from Ubuntu 13.04 to build a booting mako kernel image. Patch 1) scripts/gcc-wrapper is a python tool that is used in some Qualcomm/Code Aurora kernels containing a whitelist of warning messages generated during the build and fail on any non-listed one. gcc 4.7 triggers many new warnings so I rather disabled the wrapper itself. This way it is also in line with the rest of non-Qualcomm kernels trees. Patch 2) Do not specify the inline qualifier for some functions that cannot be inlined by 4.7 and thus break building. The Linaro 4.7.2 gcc bundled with the Ubuntu Touch sources fails though as it defaults to using the gold linker (and has no support for -fuse-ld=bfd as Linaro gcc 4.8.1 has) and the gold linker cannot correctly link the kernel at the moment. cheers Jani
Attachment:
0001-Do-not-build-using-gcc-wrapper.py.patch
Description: Binary data
Attachment:
0002-Fix-build-with-gcc-4.7.patch
Description: Binary data
Thread Previous • Date Previous • Date Next • Thread Next |