{"push_id":4022806334,"size":9,"distinct_size":9,"ref":"refs/heads/lineage-17.0","head":"a6decdc3c59582269c67e00438d916a89e372a2a","before":"b13a86ffbb221c0347a26d6a985642cc5c7a132a","commits":[{"sha":"4c17a6fe4e87c114c9a1926056f898a1c4b63f17","author":{"name":"Behan Webster","email":"9152da451d71c2a1ceb0c7b0908d4018fc127ae6@converseincode.com"},"message":"kbuild: Add better clang cross build support\n\ncommit 785f11aa595bc3d4e74096cbd598ada54ecc0d81 upstream.\n\nAdd cross target to CC if using clang. Also add custom gcc toolchain\npath for fallback gcc tools.\n\nClang will fallback to using things like ld, as, and libgcc if\n(respectively) one of the llvm linkers isn't available, the integrated\nassembler is turned off, or an appropriately cross-compiled version of\ncompiler-rt isn't available. To this end, you can specify the path to\nthis fallback gcc toolchain with GCC_TOOLCHAIN.\n\nChange-Id: If8945b52ff24eb7214294bd8442886734584e979\nSigned-off-by: Behan Webster <behanw@converseincode.com>\nReviewed-by: Jan-Simon Möller <dl9pf@gmx.de>\nReviewed-by: Mark Charlebois <charlebm@gmail.com>\nSigned-off-by: Greg Hackmann <ghackmann@google.com>\nSigned-off-by: Matthias Kaehlcke <mka@chromium.org>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/4c17a6fe4e87c114c9a1926056f898a1c4b63f17"},{"sha":"a896a7533d83865ad845f021871bd024e3b821af","author":{"name":"Michael Davidson","email":"240c4df7250227efd16ebedf6de99c5ab3b51698@google.com"},"message":"kbuild: clang: add -no-integrated-as to KBUILD_[AC]FLAGS\n\ncommit a37c45cd82e62a361706b9688a984a3a63957321 upstream.\n\nThe Linux Kernel relies on GCC's acceptance of inline assembly as an\nopaque object which will not have any validation performed on the content.\nThe current behaviour in LLVM is to perform validation of the contents by\nmeans of parsing the input if the MC layer can handle it.\n\nDisable clangs integrated assembler and use the GNU assembler instead.\n\nWording-mostly-from: Saleem Abdulrasool <compnerd@compnerd.org>\nSigned-off-by: Michael Davidson <md@google.com>\nSigned-off-by: Matthias Kaehlcke <mka@chromium.org>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/a896a7533d83865ad845f021871bd024e3b821af"},{"sha":"a9a19115efd410adbcfdfc4d652b032d2db76781","author":{"name":"Chris Fries","email":"80a24e735d812549c09054c99f7834313b50d4bf@google.com"},"message":"kbuild: Set KBUILD_CFLAGS before incl. arch Makefile\n\ncommit ae6b289a37890909fea0e4a1666e19377fa0ed2c upstream.\n\nSet the clang KBUILD_CFLAGS up before including arch/ Makefiles,\nso that ld-options (etc.) can work correctly.\n\nThis fixes errors with clang such as ld-options trying to CC\nagainst your host architecture, but LD trying to link against\nyour target architecture.\n\nChange-Id: I06fc8b8b6d531cf3dd9be45b816e14c709af6bf7\nSigned-off-by: Chris Fries <cfries@google.com>\nSigned-off-by: Nick Desaulniers <ndesaulniers@google.com>\nReviewed-by: Matthias Kaehlcke <mka@chromium.org>\nTested-by: Matthias Kaehlcke <mka@chromium.org>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n[nc: Adjust context]\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/a9a19115efd410adbcfdfc4d652b032d2db76781"},{"sha":"aae7648e823a878c94c7bd70faafb509248577c7","author":{"name":"Masahiro Yamada","email":"378b411a8a63ecc7605ec4272234862d7781c6ae@socionext.com"},"message":"kbuild: move cc-option and cc-disable-warning after incl. arch Makefile\n\ncommit cfe17c9bbe6a673fdafdab179c32b355ed447f66 upstream.\n\nGeert reported commit ae6b289a3789 (\"kbuild: Set KBUILD_CFLAGS before\nincl. arch Makefile\") broke cross-compilation using a cross-compiler\nthat supports less compiler options than the host compiler.\n\nFor example,\n\n  cc1: error: unrecognized command line option \"-Wno-unused-but-set-variable\"\n\nThis problem happens on architectures that setup CROSS_COMPILE in their\narch/*/Makefile.\n\nMove the cc-option and cc-disable-warning back to the original position,\nbut keep the Clang target options untouched.\n\nFixes: ae6b289a3789 (\"kbuild: Set KBUILD_CFLAGS before incl. arch Makefile\")\nChange-Id: I48fd23e46ee66c129f75315369bce2898da50e32\nReported-by: Geert Uytterhoeven <geert@linux-m68k.org>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nTested-by: Geert Uytterhoeven <geert@linux-m68k.org>\n[nc: Adjust context]\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/aae7648e823a878c94c7bd70faafb509248577c7"},{"sha":"01150da7dd523fd415eaa219398de083f6c3952b","author":{"name":"David Lin","email":"308ff82b61fcfeeb10f4c865738a117c5d70dea4@google.com"},"message":"kbuild: clang: fix build failures with sparse check\n\ncommit bb3f38c3c5b759163e09b9152629cc789731de47 upstream.\n\nWe should avoid using the space character when passing arguments to\nclang, because static code analysis check tool such as sparse may\nmisinterpret the arguments followed by spaces as build targets hence\ncause the build to fail.\n\nSigned-off-by: David Lin <dtwlin@google.com>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/01150da7dd523fd415eaa219398de083f6c3952b"},{"sha":"8c89f1e03e600e71c6507e24bcb20ba879c22109","author":{"name":"Nick Desaulniers","email":"bac029b6787e365918a6b06d1b63ff56c1cc13d9@gmail.com"},"message":"kbuild: clang: remove crufty HOSTCFLAGS\n\ncommit df16aaac26e92e97ab7234d3f93c953466adc4b5 upstream.\n\nWhen compiling with `make CC=clang HOSTCC=clang`, I was seeing warnings\nthat clang did not recognize -fno-delete-null-pointer-checks for HOSTCC\ntargets.  These were added in commit 61163efae020 (\"kbuild: LLVMLinux:\nAdd Kbuild support for building kernel with Clang\").\n\nClang does not support -fno-delete-null-pointer-checks, so adding it to\nHOSTCFLAGS if HOSTCC is clang does not make sense.\n\nIt's not clear why the other warnings were disabled, and just for\nHOSTCFLAGS, but I can remove them, add -Werror to HOSTCFLAGS and compile\nwith clang just fine.\n\nChange-Id: I18c26894df7a7d0f92c82ba9f48484b14d098df5\nSuggested-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nSigned-off-by: Nick Desaulniers <nick.desaulniers@gmail.com>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n[nc: Adjust context]\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/8c89f1e03e600e71c6507e24bcb20ba879c22109"},{"sha":"042d2f9f7c98298d82d3022c547f441fa74d8134","author":{"name":"Sodagudi Prasad","email":"0a7e98000ce64542cef1b32382dcb65c847985af@codeaurora.org"},"message":"kbuild: clang: disable unused variable warnings only when constant\n\ncommit 0a5f41767444cc3b4fc5573921ab914b4f78baaa upstream.\n\nCurrently, GCC disables -Wunused-const-variable, but not\n-Wunused-variable, so warns unused variables if they are\nnon-constant.\n\nWhile, Clang does not warn unused variables at all regardless of\nthe const qualifier because -Wno-unused-const-variable is implied\nby the stronger option -Wno-unused-variable.\n\nDisable -Wunused-const-variable instead of -Wunused-variable so that\nGCC and Clang work in the same way.\n\nSigned-off-by: Prasad Sodagudi <psodagud@codeaurora.org>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/042d2f9f7c98298d82d3022c547f441fa74d8134"},{"sha":"dca0d9c4b7541e8eff33e4f8c470117f651119c0","author":{"name":"Stefan Agner","email":"eb0877843acc39f8ef6f7269937dee931c372d23@agner.ch"},"message":"kbuild: set no-integrated-as before incl. arch Makefile\n\ncommit 0f0e8de334c54c38818a4a5390a39aa09deff5bf upstream.\n\nIn order to make sure compiler flag detection for ARM works\ncorrectly the no-integrated-as flags need to be set before\nincluding the arch specific Makefile.\n\nFixes: cfe17c9bbe6a (\"kbuild: move cc-option and cc-disable-warning after incl. arch Makefile\")\nSigned-off-by: Stefan Agner <stefan@agner.ch>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n[nc: Adjust context]\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/dca0d9c4b7541e8eff33e4f8c470117f651119c0"},{"sha":"a6decdc3c59582269c67e00438d916a89e372a2a","author":{"name":"Stefan Agner","email":"eb0877843acc39f8ef6f7269937dee931c372d23@agner.ch"},"message":"kbuild: allow to use GCC toolchain not in Clang search path\n\ncommit ef8c4ed9db80261f397f0c0bf723684601ae3b52 upstream.\n\nWhen using a GCC cross toolchain which is not in a compiled in\nClang search path, Clang reverts to the system assembler and\nlinker. This leads to assembler or linker errors, depending on\nwhich tool is first used for a given architecture.\n\nIt seems that Clang is not searching $PATH for a matching\nassembler or linker.\n\nMake sure that Clang picks up the correct assembler or linker by\npassing the cross compilers bin directory as search path.\n\nThis allows to use Clang provided by distributions with GCC\ntoolchains not in /usr/bin.\n\nLink: https://github.com/ClangBuiltLinux/linux/issues/78\nSigned-off-by: Stefan Agner <stefan@agner.ch>\nReviewed-and-tested-by: Nick Desaulniers <ndesaulniers@google.com>\nSigned-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>\n[nc: Adjust context]\nSigned-off-by: Nathan Chancellor <natechancellor@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/OrdenKrieger/android_kernel_asus_sm8150/commits/a6decdc3c59582269c67e00438d916a89e372a2a"}]}
{"actor":{"display_login":"OrdenKrieger"}}