summaryrefslogtreecommitdiffstats
path: root/docs/manual/adding-packages-golang.txt
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2018-06-02 16:34:07 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-07-20 09:46:05 +0200
commit9a50447b5d4b2ab0162e3235395ab9a4c8a647d5 (patch)
tree20d9f591b025f15d68dc288a61f66695400ed996 /docs/manual/adding-packages-golang.txt
parente40cdee9ccfaf279465826af8f68f611fd6afcf5 (diff)
downloadbuildroot-9a50447b5d4b2ab0162e3235395ab9a4c8a647d5.tar.gz
buildroot-9a50447b5d4b2ab0162e3235395ab9a4c8a647d5.zip
linux: disable attribute alias with gcc >= 8.1
gcc-8 started warning about function aliases that have a non-matching prototype. This seems rather useful in general, but it causes tons of warnings in the Linux kernel, where we rely on abusing those aliases for system call entry points, in order to sanitze the arguments passed from user space in registers. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82435 Disable the attribute-alias warning introduced by gcc-8 by adding -Wno-attribute-alias to KCFLAGS. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'docs/manual/adding-packages-golang.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud