diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2019-12-29 22:07:19 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-30 23:39:09 +0000 |
commit | 03ccb28027313586682431ef5506a9d86669e172 (patch) | |
tree | 887beba66940ea822ec977fea2956bcf84df762c | |
parent | 3c38032d747bf12d165de42a4d599dd0f107f200 (diff) | |
download | poky-03ccb28027313586682431ef5506a9d86669e172.tar.gz |
linux-yocto/4.19/5.2/-dev: fix gcc10 build
Integrating Khem's gcc10 build fix:
[
Author: Khem Raj <raj.khem@gmail.com>
Date: Fri Dec 20 17:42:02 2019 -0800
x86/boot/compressed/64: Define __force_order only when CONFIG_RANDOMIZE_BASE is unset
kaslr_64.c also defines the same variable, however when both files are
included into final link, linker complains about multiple definition of
`__force_order' which is coming from kaslr_64.o and pgtable_64.o, its
possible that kaslr_64.o is disabled via CONFIG_RANDOMIZE_BASE config
option, therefore define it conditionally only when
CONFIG_RANDOMIZE_BASE is not set
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Kees Cook <keescook@chromium.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: x86-ml <x86@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]
(From OE-Core rev: d3112fcf7283b9c015e77db1b0a1a78044ed2e23)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb | 4 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_4.19.bb | 16 | ||||
-rw-r--r-- | meta/recipes-kernel/linux/linux-yocto_5.2.bb | 18 |
6 files changed, 23 insertions, 23 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb b/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb index 2c967b3448..b6e0a1e9e2 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_4.19.bb | |||
@@ -11,7 +11,7 @@ python () { | |||
11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "d3fb163023de0a5a57a021e58b55976f68142fc0" | 14 | SRCREV_machine ?= "2fbf678238302f33b3aec5a2cba829f260744f24" |
15 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" | 15 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb b/meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb index 6dc2f8078c..673208e4c3 100644 --- a/meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb +++ b/meta/recipes-kernel/linux/linux-yocto-rt_5.2.bb | |||
@@ -11,7 +11,7 @@ python () { | |||
11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") | 11 | raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") |
12 | } | 12 | } |
13 | 13 | ||
14 | SRCREV_machine ?= "817c65ec880afb367c6f1d67f524b94ee9c3ae6a" | 14 | SRCREV_machine ?= "b31e1489cfd0f383e662b5599beb83dfe24507bc" |
15 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" | 15 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" |
16 | 16 | ||
17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ | 17 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb index 1220a05d5f..e2626ab4c9 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_4.19.bb | |||
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native" | |||
15 | KMETA = "kernel-meta" | 15 | KMETA = "kernel-meta" |
16 | KCONF_BSP_AUDIT_LEVEL = "2" | 16 | KCONF_BSP_AUDIT_LEVEL = "2" |
17 | 17 | ||
18 | SRCREV_machine_qemuarm ?= "6e7574e9a9b41143e0c42fcb31b13802529602f0" | 18 | SRCREV_machine_qemuarm ?= "bd239fb802a15c2759ea456dd1f09f5e106fc88a" |
19 | SRCREV_machine ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 19 | SRCREV_machine ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
20 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" | 20 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" |
21 | 21 | ||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | 22 | PV = "${LINUX_VERSION}+git${SRCPV}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb index dd14bd4937..8bee225287 100644 --- a/meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb +++ b/meta/recipes-kernel/linux/linux-yocto-tiny_5.2.bb | |||
@@ -15,8 +15,8 @@ DEPENDS += "openssl-native util-linux-native" | |||
15 | KMETA = "kernel-meta" | 15 | KMETA = "kernel-meta" |
16 | KCONF_BSP_AUDIT_LEVEL = "2" | 16 | KCONF_BSP_AUDIT_LEVEL = "2" |
17 | 17 | ||
18 | SRCREV_machine_qemuarm ?= "d55854d3c431023d48875bfd96208ed132c5e19d" | 18 | SRCREV_machine_qemuarm ?= "0196404da85d109064f138a4a712061bcb999bbc" |
19 | SRCREV_machine ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 19 | SRCREV_machine ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
20 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" | 20 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" |
21 | 21 | ||
22 | PV = "${LINUX_VERSION}+git${SRCPV}" | 22 | PV = "${LINUX_VERSION}+git${SRCPV}" |
diff --git a/meta/recipes-kernel/linux/linux-yocto_4.19.bb b/meta/recipes-kernel/linux/linux-yocto_4.19.bb index f585632e48..c6e482a984 100644 --- a/meta/recipes-kernel/linux/linux-yocto_4.19.bb +++ b/meta/recipes-kernel/linux/linux-yocto_4.19.bb | |||
@@ -11,14 +11,14 @@ KBRANCH_qemux86 ?= "v4.19/standard/base" | |||
11 | KBRANCH_qemux86-64 ?= "v4.19/standard/base" | 11 | KBRANCH_qemux86-64 ?= "v4.19/standard/base" |
12 | KBRANCH_qemumips64 ?= "v4.19/standard/mti-malta64" | 12 | KBRANCH_qemumips64 ?= "v4.19/standard/mti-malta64" |
13 | 13 | ||
14 | SRCREV_machine_qemuarm ?= "4d9d89763cde098e4a8b879e8c831e35a5f39ae6" | 14 | SRCREV_machine_qemuarm ?= "19fa1657d1d82d01647c6f73a2bbf39305505294" |
15 | SRCREV_machine_qemuarm64 ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 15 | SRCREV_machine_qemuarm64 ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
16 | SRCREV_machine_qemumips ?= "1f0855745653c8cb7d72ea2d03197889cc82a410" | 16 | SRCREV_machine_qemumips ?= "8fb7ab96b84852ee3d9e1d9d9e7bc35e1249b653" |
17 | SRCREV_machine_qemuppc ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 17 | SRCREV_machine_qemuppc ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
18 | SRCREV_machine_qemux86 ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 18 | SRCREV_machine_qemux86 ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
19 | SRCREV_machine_qemux86-64 ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 19 | SRCREV_machine_qemux86-64 ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
20 | SRCREV_machine_qemumips64 ?= "5ed73d6e6dc7d4ad8184de8eb6641bdb265ae2ea" | 20 | SRCREV_machine_qemumips64 ?= "c8a036abd7d469013dddab15a23e0d2dde1d0000" |
21 | SRCREV_machine ?= "2ba1fa4d5068982e785527ef8ad1a8b658f0add1" | 21 | SRCREV_machine ?= "b44ad1b1e7c685e75b7788a026a2416edc2ee656" |
22 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" | 22 | SRCREV_meta ?= "4f5d761316a9cf14605e5d0cc91b53c1b2e9dc6a" |
23 | 23 | ||
24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ | 24 | SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \ |
diff --git a/meta/recipes-kernel/linux/linux-yocto_5.2.bb b/meta/recipes-kernel/linux/linux-yocto_5.2.bb index 16b6705f88..bc859519cf 100644 --- a/meta/recipes-kernel/linux/linux-yocto_5.2.bb +++ b/meta/recipes-kernel/linux/linux-yocto_5.2.bb | |||
@@ -12,15 +12,15 @@ KBRANCH_qemux86 ?= "v5.2/standard/base" | |||
12 | KBRANCH_qemux86-64 ?= "v5.2/standard/base" | 12 | KBRANCH_qemux86-64 ?= "v5.2/standard/base" |
13 | KBRANCH_qemumips64 ?= "v5.2/standard/mti-malta64" | 13 | KBRANCH_qemumips64 ?= "v5.2/standard/mti-malta64" |
14 | 14 | ||
15 | SRCREV_machine_qemuarm ?= "78b937b0d5d9852a9620d532bb61c8399fc423b4" | 15 | SRCREV_machine_qemuarm ?= "c0864234924e6b1fb2b5bcf817c88fab1c237d7b" |
16 | SRCREV_machine_qemuarm64 ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 16 | SRCREV_machine_qemuarm64 ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
17 | SRCREV_machine_qemumips ?= "0e8e4a3475849ac390213833980411f19b148841" | 17 | SRCREV_machine_qemumips ?= "534d14808c2948d6e3464735f5dcc203cb4be7f7" |
18 | SRCREV_machine_qemuppc ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 18 | SRCREV_machine_qemuppc ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
19 | SRCREV_machine_qemuriscv64 ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 19 | SRCREV_machine_qemuriscv64 ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
20 | SRCREV_machine_qemux86 ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 20 | SRCREV_machine_qemux86 ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
21 | SRCREV_machine_qemux86-64 ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 21 | SRCREV_machine_qemux86-64 ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
22 | SRCREV_machine_qemumips64 ?= "5236aae3076bc8edc7a70b928190ae07512e2425" | 22 | SRCREV_machine_qemumips64 ?= "d052f8cffc2a4ce18def4d9ee66e3c2e4f822150" |
23 | SRCREV_machine ?= "4a765671adc689f3699cd60f58b2851403d0a880" | 23 | SRCREV_machine ?= "7107e4a83fb9c9e3b5c3d79222f6e0885e99db13" |
24 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" | 24 | SRCREV_meta ?= "af93d12baae0ddac3d4c3a1e1a8f8e72da8c395a" |
25 | 25 | ||
26 | # remap qemuarm to qemuarma15 for the 5.2 kernel | 26 | # remap qemuarm to qemuarma15 for the 5.2 kernel |