From 81f8ca8e776eaa0d82df418a46a2d30e3832ce18 Mon Sep 17 00:00:00 2001 From: Luca Weiss Date: Wed, 4 Nov 2020 13:48:12 +0100 Subject: [PATCH] device/testing/linux-*: get building again (MR 1684) Mostly the GCC10 yylloc failure was seen but several others have been observed: * wireguard script was silently failing * several gcc10 x86 errors * a checksum from kernel.org has changed Now we have 3 different gcc10 yylloc patches: gcc10-extern_YYLOC_global_declaration.patch: Linux < 4.2 linux4.2-gcc10-extern_YYLOC_global_declaration.patch: Linux 4.2+ linux4.17-gcc10-extern_YYLOC_global_declaration.patch: Linux 4.17+ [ci:skip-build] [ci:ignore-count] [ci:skip-vercheck] --- ...cc10-extern_YYLOC_global_declaration.patch | 51 +++++++++++++++++++ ...c10-extern_YYLOC_global_declaration.patch} | 0 device/testing/linux-amazon-douglas/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-amazon-mustang/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-amazon-suez/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-amazon-thor/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-asus-flo/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-asus-t00f/APKBUILD | 6 ++- ...cc10-extern_YYLOC_global_declaration.patch | 1 + ...relocs-Make-per_cpu_load_addr-static.patch | 38 ++++++++++++++ device/testing/linux-asus-z00t/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-asus-z00vd/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-bq-chaozu/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-bq-gohan/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-bq-picmt/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + ...sed-Don-t-declare-__force_order-in-k.patch | 40 +++++++++++++++ device/testing/linux-chuwi-hi10plus/APKBUILD | 6 ++- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-fairphone-fp2/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-google-crosshatch-mainline/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-google-glass/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-htc-a5ul/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-htc-flounder/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-htc-m8/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-htc-memul/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-huawei-alice/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-huawei-angler/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-huawei-cameron/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-leeco-s2/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lenovo-karate/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-bullhead/APKBUILD | 12 ++++- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-d285/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-d722/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-d855/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-dory/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-h815/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-lenok/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-lg-w5/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-meizu-turbo/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-ali/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-cedric/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-motorola-channel/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-def/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-falcon/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-ghost/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-lux/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-motorola-maserati/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-motorola-montana/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-osprey/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-motorola-peregrine/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-perry/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-potter/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-shamu/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-surnia/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-motorola-titan/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-nextbit-robin/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-nokia-beatles/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-nokia-frt/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-nokia-n9/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-oneplus-bacon/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-oneplus-msm8998/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-oneplus-oneplus2/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-oneplus-onyx/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-oppo-find-7a/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-ouya-ouya-mainline/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-ouya-ouya/APKBUILD | 6 ++- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-planet-geminipda/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-gtel3g/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-samsung-gtelwifi/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-samsung-gts210velte/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-samsung-gts210vewifi/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-samsung-hero2lte/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-i927/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-samsung-j1mini3g/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-j3nxlte/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-klte/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-samsung-kylevess/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-samsung-matissewifi/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-nevisp/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-p4wifi/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-s3ve3g/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-samsung-zanin/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-amami/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-aries/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-hollyss/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-honami/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-leo/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-sony-nicki-mainline/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-scorpion/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-seagull/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-sumire/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-suzu/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-sony-tulip/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-t2m-flame/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-teclast-x80pro/APKBUILD | 4 ++ ...-Use-strlcpy-for-ethtool-get_strings.patch | 39 ++++++++++++++ ...sed-Don-t-declare-__force_order-in-k.patch | 43 ++++++++++++++++ device/testing/linux-tokio-techbook/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-vernee-k506/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-wiko-lenny2/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-wiko-lenny3/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-armani/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../linux-xiaomi-beryllium-mainline/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + .../testing/linux-xiaomi-beryllium/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-cactus/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-cancro/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-ferrari/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-ido/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-kenzo/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-lavender/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-mido/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-santoni/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-tissot/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-xiaomi-willow/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-yu-tomato/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-zte-kis3/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-zte-p731a20/APKBUILD | 2 + ...cc10-extern_YYLOC_global_declaration.patch | 1 + device/testing/linux-zuk-z2-row/APKBUILD | 4 +- ...cc10-extern_YYLOC_global_declaration.patch | 1 + 225 files changed, 638 insertions(+), 86 deletions(-) create mode 100644 device/.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch rename device/{testing/linux-xiaomi-tissot/gcc10-scripts-dtc-yylloc.patch => .shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch} (100%) create mode 120000 device/testing/linux-amazon-douglas/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-amazon-mustang/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-amazon-suez/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-amazon-thor/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-asus-flo/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-asus-t00f/gcc10-extern_YYLOC_global_declaration.patch create mode 100644 device/testing/linux-asus-t00f/x86-relocs-Make-per_cpu_load_addr-static.patch create mode 120000 device/testing/linux-asus-z00t/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-asus-z00vd/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-bq-chaozu/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-bq-gohan/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-bq-picmt/gcc10-extern_YYLOC_global_declaration.patch create mode 100644 device/testing/linux-chuwi-hi10plus/0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch create mode 120000 device/testing/linux-chuwi-hi10plus/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-fairphone-fp2/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-google-crosshatch-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-google-glass/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-htc-a5ul/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-htc-flounder/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-htc-m8/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-htc-memul/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-huawei-alice/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-huawei-angler/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-huawei-cameron/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-leeco-s2/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lenovo-karate/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-bullhead/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-d285/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-d722/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-d855/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-dory/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-h815/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-lenok/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-lg-w5/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-meizu-turbo/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-ali/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-cedric/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-channel/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-def/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-falcon/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-ghost/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-lux/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-maserati/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-montana/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-osprey/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-peregrine/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-perry/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-potter/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-shamu/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-surnia/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-motorola-titan/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-nextbit-robin/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-nokia-beatles/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-nokia-frt/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-nokia-n9/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-oneplus-bacon/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-oneplus-msm8998/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-oneplus-oneplus2/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-oneplus-onyx/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-oppo-find-7a/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-ouya-ouya-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-ouya-ouya/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-planet-geminipda/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-gtel3g/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-gtelwifi/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-gts210velte/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-gts210vewifi/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-hero2lte/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-i927/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-j1mini3g/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-j3nxlte/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-klte/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-kylevess/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-matissewifi/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-nevisp/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-p4wifi/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-s3ve3g/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-samsung-zanin/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-amami/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-aries/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-hollyss/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-honami/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-leo/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-nicki-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-scorpion/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-seagull/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-sumire/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-suzu/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-sony-tulip/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-t2m-flame/gcc10-extern_YYLOC_global_declaration.patch create mode 100644 device/testing/linux-teclast-x80pro/net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch create mode 100644 device/testing/linux-teclast-x80pro/x86-boot-compressed-Don-t-declare-__force_order-in-k.patch create mode 120000 device/testing/linux-tokio-techbook/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-vernee-k506/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-wiko-lenny2/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-wiko-lenny3/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-armani/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-beryllium-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-beryllium/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-cactus/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-cancro/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-ferrari/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-ido/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-kenzo/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-lavender/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-mido/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-santoni/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-tissot/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-xiaomi-willow/linux4.2-gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-yu-tomato/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-zte-kis3/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-zte-p731a20/gcc10-extern_YYLOC_global_declaration.patch create mode 120000 device/testing/linux-zuk-z2-row/linux4.2-gcc10-extern_YYLOC_global_declaration.patch diff --git a/device/.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 100644 index 000000000..d5b96c2d1 --- /dev/null +++ b/device/.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1,51 @@ +From e33a814e772cdc36436c8c188d8c42d019fda639 Mon Sep 17 00:00:00 2001 +From: Dirk Mueller +Date: Tue, 14 Jan 2020 18:53:41 +0100 +Subject: [PATCH] scripts/dtc: Remove redundant YYLOC global declaration + +gcc 10 will default to -fno-common, which causes this error at link +time: + + (.text+0x0): multiple definition of `yylloc'; dtc-lexer.lex.o (symbol from plugin):(.text+0x0): first defined here + +This is because both dtc-lexer as well as dtc-parser define the same +global symbol yyloc. Before with -fcommon those were merged into one +defintion. The proper solution would be to to mark this as "extern", +however that leads to: + + dtc-lexer.l:26:16: error: redundant redeclaration of 'yylloc' [-Werror=redundant-decls] + 26 | extern YYLTYPE yylloc; + | ^~~~~~ +In file included from dtc-lexer.l:24: +dtc-parser.tab.h:127:16: note: previous declaration of 'yylloc' was here + 127 | extern YYLTYPE yylloc; + | ^~~~~~ +cc1: all warnings being treated as errors + +which means the declaration is completely redundant and can just be +dropped. + +Signed-off-by: Dirk Mueller +Signed-off-by: David Gibson +[robh: cherry-pick from upstream] +Cc: stable@vger.kernel.org +Signed-off-by: Rob Herring +--- + scripts/dtc/dtc-lexer.l | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/scripts/dtc/dtc-lexer.l b/scripts/dtc/dtc-lexer.l +index 5c6c3fd557d7..b3b7270300de 100644 +--- a/scripts/dtc/dtc-lexer.l ++++ b/scripts/dtc/dtc-lexer.l +@@ -23,7 +23,6 @@ LINECOMMENT "//".*\n + #include "srcpos.h" + #include "dtc-parser.tab.h" + +-YYLTYPE yylloc; + extern bool treesource_error; + + /* CAUTION: this will stop working if we ever use yyless() or yyunput() */ +-- +2.29.2 + diff --git a/device/testing/linux-xiaomi-tissot/gcc10-scripts-dtc-yylloc.patch b/device/.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch similarity index 100% rename from device/testing/linux-xiaomi-tissot/gcc10-scripts-dtc-yylloc.patch rename to device/.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch diff --git a/device/testing/linux-amazon-douglas/APKBUILD b/device/testing/linux-amazon-douglas/APKBUILD index bc7cc0aab..78fc1ed3b 100644 --- a/device/testing/linux-amazon-douglas/APKBUILD +++ b/device/testing/linux-amazon-douglas/APKBUILD @@ -33,6 +33,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/shuhaowu/$_repository/archive/$_commit.tar.gz $_config disable-sound.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -54,4 +55,5 @@ package() { sha512sums="eb3804fcbadb268429640a5171ea4788cf8974444a1aa1005801902dbce1c4d67d88cb43d0cee259dc082161a92b285de0a0d18d721220f6d2dff84a179a7dc5 linux-amazon-douglas-4ff2b5a4534e275748920ba4ad105af36495bf89.tar.gz f3e03036a91e94f38db75b8cbcb664cf68d30f1e47289f729fb5bedc660347121abf2d49fe2a03fe174ab4da2f3ddfd701fc4275f70cc971a2b672c00520fc97 config-amazon-douglas.aarch64 -aed9fd018a6367214dd00aad9c376c93ed356efbd74e21b49316ab0a21bc372a2077eeed8810f66464544c5bbc7bca6c46985ef42e6cb8f95ad94a1644130d1c disable-sound.patch" +aed9fd018a6367214dd00aad9c376c93ed356efbd74e21b49316ab0a21bc372a2077eeed8810f66464544c5bbc7bca6c46985ef42e6cb8f95ad94a1644130d1c disable-sound.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-amazon-douglas/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-amazon-douglas/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-amazon-douglas/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-amazon-mustang/APKBUILD b/device/testing/linux-amazon-mustang/APKBUILD index 4758088b4..197624d77 100644 --- a/device/testing/linux-amazon-mustang/APKBUILD +++ b/device/testing/linux-amazon-mustang/APKBUILD @@ -28,6 +28,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/ggow/$_repository/archive/$_commit.tar.gz $_config pinctrl-mtk-common.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -49,4 +50,5 @@ package() { sha512sums="af94e53334bf7ad4541d8813eb8ef6902a352d9ee0951193a3031189d2c232b1cc1fe00a263958b617cea2af7761a56c4144db702d47cde0aed4e8c268d23f0c linux-amazon-mustang-42d97d6450e8ba87315543081a765b0f0a1da358.tar.gz 3faac80e7c57d40c61f820f6dcec85cfc9c54799bdc478ea9c0b5aeeae8e701d244cd0fc2736c0ab27e0f4b3c8276a55d9eb81b013c4396f4366c5320f5b7878 config-amazon-mustang.armv7 -f1ce4270766e992bc2c03821cf2e62c60d987adb7f448d5ae7430f6eba4d0d6718f337c9f0d7e4db4097f5f49d5b49e653fcb6a1ee50fa8d07b625bb04a87484 pinctrl-mtk-common.patch" +f1ce4270766e992bc2c03821cf2e62c60d987adb7f448d5ae7430f6eba4d0d6718f337c9f0d7e4db4097f5f49d5b49e653fcb6a1ee50fa8d07b625bb04a87484 pinctrl-mtk-common.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-amazon-mustang/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-amazon-mustang/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-amazon-mustang/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-amazon-suez/APKBUILD b/device/testing/linux-amazon-suez/APKBUILD index 58ad4f0de..33efb6884 100644 --- a/device/testing/linux-amazon-suez/APKBUILD +++ b/device/testing/linux-amazon-suez/APKBUILD @@ -30,6 +30,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/hadicharara/$_repository/archive/$_commit.tar.gz $_config compiler-gcc6.h + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -51,4 +52,5 @@ package() { sha512sums="c9ab203deb69e4a0a7c7c2397e9f55c0adc033a05d9613bd33a06782669f56d9fa56989e4b7b4cdf15fd6f48d5950471832ca18dccad503cbb2018d59ff32d2f linux-amazon-suez-675c2bedfab1575365d8fda8a5dd986a8cc2101d.tar.gz 0167187e30fe374b61234c6ac5fbbdae5455d035f0d7f740873d2935cc6754c6b0e9192100e2ea00f17b5871e9d8ed5b6a05a3309e326567994977e633c74822 config-amazon-suez.aarch64 -d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h" +d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-amazon-suez/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-amazon-suez/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-amazon-suez/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-amazon-thor/APKBUILD b/device/testing/linux-amazon-thor/APKBUILD index 90a4db298..53bf3ba39 100644 --- a/device/testing/linux-amazon-thor/APKBUILD +++ b/device/testing/linux-amazon-thor/APKBUILD @@ -37,6 +37,7 @@ source=" 02_gpu-msm-fix-gcc5-compile.patch 03_msm_fix_trace.patch 06_fix_mdss_fb_rgb_mode.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -70,4 +71,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch 657630a1ebd5a9aff872530022e83b1087ef3c0eb7a214d350c9caf779c2691f92de6630a40d735b5f7a34ba6a3e9e7eb708d3deb52f134d53164836c312e5e9 03_msm_fix_trace.patch -2ce72397039e5a842e6564586ec14dcd2aaf0430959a42c18406c9c3736ce6f6fc6af146b345fa81977748a3182ce585af0da5db3e39cd4dc5314b6186478a64 06_fix_mdss_fb_rgb_mode.patch" +2ce72397039e5a842e6564586ec14dcd2aaf0430959a42c18406c9c3736ce6f6fc6af146b345fa81977748a3182ce585af0da5db3e39cd4dc5314b6186478a64 06_fix_mdss_fb_rgb_mode.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-amazon-thor/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-amazon-thor/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-amazon-thor/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-asus-flo/APKBUILD b/device/testing/linux-asus-flo/APKBUILD index 3bf4b867b..1061eaeba 100644 --- a/device/testing/linux-asus-flo/APKBUILD +++ b/device/testing/linux-asus-flo/APKBUILD @@ -23,6 +23,7 @@ source="$pkgname-$pkgver.tar.xz::https://cdn.kernel.org/pub/linux/kernel/v${pkgv 10_Split_of_configure_dma()_into_mask_and_ops_configuration.patch 11_Configure_dma_operations_at_probe_time.patch 12_Handle_IOMMU_lookup_failure_with_deferred_probing_or_error.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" _abi_release=$pkgver @@ -100,4 +101,5 @@ b86e56c653f0426a0d2a4fb500a11bdce7739b48d053ff584bd6ee1e560fc7f7759cc8fe12c96da1 cc7fb2d646c1d602b507fa2d6ce77458e794e27d624ed0097cc35ce0486e71e4dd4cec96cdb8aaf5800126ec172efd30e1fd4706754eddb48a952d587284af32 09_Make_of_dma_deconfigure()_public.patch e031b821cce7a561752aeb6837c93b97438c1bc1e81efa3bdda931ad552b515ffc89872b3df300ba8704bccd672a73af22974b49493e1f7ad5a8c652e43158af 10_Split_of_configure_dma()_into_mask_and_ops_configuration.patch 38a539a97d8dd00be1ec2ab7bdb72caafe16865cba4b7a7152cf6b78ce0c9cf6206163f3edfd3a8371098a422647fbd3e83b2d89692e7d0675a51f4cad279e44 11_Configure_dma_operations_at_probe_time.patch -25e9f71f038e1ef41c31a472f49487b63604668610232bec3842460dd67955c70158982744e51cf96143f0c5d2402b99bb86aec1d5e3bd9841ca5c11087a0b1b 12_Handle_IOMMU_lookup_failure_with_deferred_probing_or_error.patch" +25e9f71f038e1ef41c31a472f49487b63604668610232bec3842460dd67955c70158982744e51cf96143f0c5d2402b99bb86aec1d5e3bd9841ca5c11087a0b1b 12_Handle_IOMMU_lookup_failure_with_deferred_probing_or_error.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-asus-flo/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-asus-flo/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-asus-flo/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-asus-t00f/APKBUILD b/device/testing/linux-asus-t00f/APKBUILD index d153aa4a1..16b76a4e0 100644 --- a/device/testing/linux-asus-t00f/APKBUILD +++ b/device/testing/linux-asus-t00f/APKBUILD @@ -32,6 +32,8 @@ source=" 01_ipc-shm-fix-redefinition-of-shm_rcu_free.patch 02_drivers-external_drivers-remove-unused-constants.patch 03_ipc-fix-undefined-references.patch + gcc10-extern_YYLOC_global_declaration.patch + x86-relocs-Make-per_cpu_load_addr-static.patch " builddir="$srcdir/$_repository-$_commit" @@ -55,4 +57,6 @@ sha512sums="98ae9cabe828b9aa3ea38c01f2294398bde4e7dbc470acb87d404d65f7526a416892 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 0f6a9be41ed61b8407a146e8ccbc5a7abbcffe150cbba01345fcfa8e31a1554274dc2d79015f0ea68f9b394e4af5bd7040e992b3950cf03d2ce1f2454fc0d529 01_ipc-shm-fix-redefinition-of-shm_rcu_free.patch e55a90bc89a956d83b3d978e3fae871c781544571a667468b89a9f68b626b8d39a3000ea43ae276d5e069c1ca1b2309e72a1e7b6bae53e1d78500d054de3bbd2 02_drivers-external_drivers-remove-unused-constants.patch -7dd36856b2a56216172df1a89a1c7a1cd408141605b1d0bac1a3ecd2d57d0cb1fd58ccf9dea56983597a5432947ca8bdb8789740cb968d9898ba4e36bd6d2d7e 03_ipc-fix-undefined-references.patch" +7dd36856b2a56216172df1a89a1c7a1cd408141605b1d0bac1a3ecd2d57d0cb1fd58ccf9dea56983597a5432947ca8bdb8789740cb968d9898ba4e36bd6d2d7e 03_ipc-fix-undefined-references.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch +08e13b88b043e6de0ff1e563487e1d0292c1fd54160a6384448934dd83776d1f4f7b3f3a1bf5b4471320336026d59efa55b14f3ca3982d4170df0aca3066e955 x86-relocs-Make-per_cpu_load_addr-static.patch" diff --git a/device/testing/linux-asus-t00f/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-asus-t00f/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-asus-t00f/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-asus-t00f/x86-relocs-Make-per_cpu_load_addr-static.patch b/device/testing/linux-asus-t00f/x86-relocs-Make-per_cpu_load_addr-static.patch new file mode 100644 index 000000000..2acf66844 --- /dev/null +++ b/device/testing/linux-asus-t00f/x86-relocs-Make-per_cpu_load_addr-static.patch @@ -0,0 +1,38 @@ +From eeeda4cd06e828b331b15741a204ff9f5874d28d Mon Sep 17 00:00:00 2001 +From: Ben Hutchings +Date: Wed, 24 Sep 2014 13:30:12 +0100 +Subject: [PATCH] x86/relocs: Make per_cpu_load_addr static + +per_cpu_load_addr is only used for 64-bit relocations, but is +declared in both configurations of relocs.c - with different +types. This has undefined behaviour in general. GNU ld is +documented to use the larger size in this case, but other tools +may differ and some warn about this. + +References: https://bugs.debian.org/748577 +Reported-by: Michael Tautschnig +Signed-off-by: Ben Hutchings +Cc: 748577@bugs.debian.org +Cc: Linus Torvalds +Link: http://lkml.kernel.org/r/1411561812.3659.23.camel@decadent.org.uk +Signed-off-by: Ingo Molnar +--- + arch/x86/tools/relocs.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/arch/x86/tools/relocs.c b/arch/x86/tools/relocs.c +index bbb1d2259ecf..a5efb21d5228 100644 +--- a/arch/x86/tools/relocs.c ++++ b/arch/x86/tools/relocs.c +@@ -695,7 +695,7 @@ static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel, + * + */ + static int per_cpu_shndx = -1; +-Elf_Addr per_cpu_load_addr; ++static Elf_Addr per_cpu_load_addr; + + static void percpu_init(void) + { +-- +2.29.2 + diff --git a/device/testing/linux-asus-z00t/APKBUILD b/device/testing/linux-asus-z00t/APKBUILD index 2f027c32a..46ca7c417 100644 --- a/device/testing/linux-asus-z00t/APKBUILD +++ b/device/testing/linux-asus-z00t/APKBUILD @@ -32,6 +32,7 @@ source=" 01_fix_gcc6_errors.patch 02_mdss_fb_refresh_rate.patch 05_dtb-fix.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -62,4 +63,5 @@ sha512sums="2a43545d07b4b477749ac4eaf793e0e7cf105699264d4bd97df20904a3039f421330 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_fix_gcc6_errors.patch a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch -0e5ebee2f1b0005fcae4f313219c0b6481b3d044c7167e0fb18b72db0eae49aef7b281cd29e0fa1e653fc5585064c990085ca68f920348c3d9d9ea9524d1baa6 05_dtb-fix.patch" +0e5ebee2f1b0005fcae4f313219c0b6481b3d044c7167e0fb18b72db0eae49aef7b281cd29e0fa1e653fc5585064c990085ca68f920348c3d9d9ea9524d1baa6 05_dtb-fix.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-asus-z00t/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-asus-z00t/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-asus-z00t/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-asus-z00vd/APKBUILD b/device/testing/linux-asus-z00vd/APKBUILD index b7825c4c9..a4f470cdc 100644 --- a/device/testing/linux-asus-z00vd/APKBUILD +++ b/device/testing/linux-asus-z00vd/APKBUILD @@ -23,6 +23,7 @@ source=" 02_gcc8_error.patch 03_perf_python3.patch 04_dct_python3.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -82,4 +83,5 @@ sha512sums="eb4575d8d3603097141991bc207a51f3ed9281d6e1432570666aeeb3299c86574e80 1db0eb57279ab2b0ad70e0f93dfe6faa0d807cf24832c2e55b2c726b43cdece84edfc614e6455cddddbce890de1df80e37fd1805b9fd6ccc259047c5ef7a6ba6 01_fix_warnings.patch f60b91c7cffd1704e6ac51d1c352b87f74432fc645deff2ff4feeeffff3c441af425191254f871a999555b3abcd1d199eeba0c12dbef4d9364f4d70df4484976 02_gcc8_error.patch c64bbad5e6f33e086d35e8f4e08ffc840b3bfb09fba49f635dd2eb671301cb8e5fd2915b3406a8bb7fce2de6638ce0337adcd14182316b7a5941ff84352744de 03_perf_python3.patch -b1aef615711138992101466b7fea4762698ba87620a55f748bd66f20a2114122678e85c3bb85ef0ae0d394552d2f4577535086a5d80a878459aadc9a9fb42ce0 04_dct_python3.patch" +b1aef615711138992101466b7fea4762698ba87620a55f748bd66f20a2114122678e85c3bb85ef0ae0d394552d2f4577535086a5d80a878459aadc9a9fb42ce0 04_dct_python3.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-asus-z00vd/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-asus-z00vd/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-asus-z00vd/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-bq-chaozu/APKBUILD b/device/testing/linux-bq-chaozu/APKBUILD index 87b6cdf5e..34f9c44bd 100644 --- a/device/testing/linux-bq-chaozu/APKBUILD +++ b/device/testing/linux-bq-chaozu/APKBUILD @@ -32,6 +32,7 @@ source=" 02_prima_misleading_indentation.patch 03_fix_u_f_header.patch 04_fix_usb_gadget_function.patch + gcc10-extern_YYLOC_global_declaration.patch $_config" builddir="$srcdir/$_repository-$_commit" @@ -56,4 +57,5 @@ sha512sums="c72365057ddc94d0fd051f0a40f12e6eb0ba31b8fc0ad673c352be0924bc96c64372 8cfd728ccf2bf19450dad5d9fe482ba2461dcf43d25440572a1df73b5a2599f4556ddcafd7cd594cb11c8da5767887d4c1585863c8b36335e7b371f7b735307d 02_prima_misleading_indentation.patch b408f157cc025d410b38f5aee9be977e670e1ac3f195f6c3a6681446fa0c3887067d62a4f729cfcd058fab42fca355b0265764dc2d21515f6e023ed025f55d41 03_fix_u_f_header.patch 1f23466d1a864f2d2c67ae4250b0c166ecb7755779bbdad6732808a001cc2826cc1d013c2281d2ca1d5abd7d60d13783f0b9f11bb8359971f2b30b911e627220 04_fix_usb_gadget_function.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch aaf5c6267f0e39ec584b545b50217fde76a2fd4900316219a062c0900a8d422372bbcfd353708fb2346042cf342e9fa9de75f724c7d732e9961bd2aacbe2798b config-bq-chaozu.armhf" diff --git a/device/testing/linux-bq-chaozu/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-bq-chaozu/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-bq-chaozu/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-bq-gohan/APKBUILD b/device/testing/linux-bq-gohan/APKBUILD index 624056d22..1ed46633b 100644 --- a/device/testing/linux-bq-gohan/APKBUILD +++ b/device/testing/linux-bq-gohan/APKBUILD @@ -28,6 +28,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -48,4 +49,5 @@ package() { } sha512sums="4e9c7984e567482d7b550ee2bd737eca38355995935ea2653f6f9f605818813e3a3c0d9c4f3649c6897cf172b0009f020e8e3de129e6f64bf2874349b4ff8081 linux-bq-gohan-19147fab27a5104598d615c4ea939aee2e18ade8.tar.gz -42e2a1a8b1750b5b4e7bdd74bb54ebbf80d2d07bf8f64c5a0c2a91472ed7e8233fccd89d62ad8ff1cc44ba633cfbdf2ab101c60010a1aa37b364368ceac8af8c config-bq-gohan.armv7" +42e2a1a8b1750b5b4e7bdd74bb54ebbf80d2d07bf8f64c5a0c2a91472ed7e8233fccd89d62ad8ff1cc44ba633cfbdf2ab101c60010a1aa37b364368ceac8af8c config-bq-gohan.armv7 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-bq-gohan/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-bq-gohan/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-bq-gohan/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-bq-picmt/APKBUILD b/device/testing/linux-bq-picmt/APKBUILD index 0b4bf6979..88e3533ec 100644 --- a/device/testing/linux-bq-picmt/APKBUILD +++ b/device/testing/linux-bq-picmt/APKBUILD @@ -28,6 +28,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/JonnyMe/$_repository/archive/$_commit.tar.gz $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -47,4 +48,5 @@ package() { } sha512sums="409acfb8f8951e3b0d1a11160d2f21e5f4f7de932187ab35828df84b6a3532a9711eceae82105bc93785a0fff1483b994c51ceb4cb60ec34943db137a4091480 linux-bq-picmt-f727041ed84edbe41169f612430ec23fe0754a7e.tar.gz -0393408784501f499dbd41f4e24389e2deab73d55201dc1dcb5a95f0e33d0823aa8d090bab47f8facba518600840098e754a65118cfc002f220581aed4d842ab config-bq-picmt.armv7" +0393408784501f499dbd41f4e24389e2deab73d55201dc1dcb5a95f0e33d0823aa8d090bab47f8facba518600840098e754a65118cfc002f220581aed4d842ab config-bq-picmt.armv7 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-bq-picmt/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-bq-picmt/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-bq-picmt/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-chuwi-hi10plus/0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch b/device/testing/linux-chuwi-hi10plus/0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch new file mode 100644 index 000000000..60b23a0f8 --- /dev/null +++ b/device/testing/linux-chuwi-hi10plus/0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch @@ -0,0 +1,40 @@ +From df6d4f9db79c1a5d6f48b59db35ccd1e9ff9adfc Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Thu, 16 Jan 2020 12:46:51 -0800 +Subject: [PATCH] x86/boot/compressed: Don't declare __force_order in + kaslr_64.c + +GCC 10 changed the default to -fno-common, which leads to + + LD arch/x86/boot/compressed/vmlinux + ld: arch/x86/boot/compressed/pgtable_64.o:(.bss+0x0): multiple definition of `__force_order'; \ + arch/x86/boot/compressed/kaslr_64.o:(.bss+0x0): first defined here + make[2]: *** [arch/x86/boot/compressed/Makefile:119: arch/x86/boot/compressed/vmlinux] Error 1 + +Since __force_order is already provided in pgtable_64.c, there is no +need to declare __force_order in kaslr_64.c. + +Signed-off-by: H.J. Lu +Signed-off-by: Borislav Petkov +Link: https://lkml.kernel.org/r/20200124181811.4780-1-hjl.tools@gmail.com +--- + arch/x86/boot/compressed/kaslr_64.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/arch/x86/boot/compressed/kaslr_64.c b/arch/x86/boot/compressed/kaslr_64.c +index 748456c365f4..9557c5a15b91 100644 +--- a/arch/x86/boot/compressed/kaslr_64.c ++++ b/arch/x86/boot/compressed/kaslr_64.c +@@ -29,9 +29,6 @@ + #define __PAGE_OFFSET __PAGE_OFFSET_BASE + #include "../../mm/ident_map.c" + +-/* Used by pgtable.h asm code to force instruction serialization. */ +-unsigned long __force_order; +- + /* Used to track our page table allocation area. */ + struct alloc_pgt_data { + unsigned char *pgt_buf; +-- +2.29.2 + diff --git a/device/testing/linux-chuwi-hi10plus/APKBUILD b/device/testing/linux-chuwi-hi10plus/APKBUILD index a98885e9d..204ca0f30 100644 --- a/device/testing/linux-chuwi-hi10plus/APKBUILD +++ b/device/testing/linux-chuwi-hi10plus/APKBUILD @@ -22,6 +22,8 @@ source=" $_config input-silead-Add-MSSL0017-to-acpi_device_id.patch platform-x86-touchscreen_dmi-Add-info-for-the-CHUWI-.patch + linux4.17-gcc10-extern_YYLOC_global_declaration.patch + 0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch " builddir="$srcdir/linux-$pkgver" @@ -59,4 +61,6 @@ dev() { sha512sums="8d84560e22a6473653efa1dc229c8f8c4f95da8c2f61050583bb1285efa774c958fb13da1cf83a4f9c2cd2e73f2075569da346fa64399ccd058e793754da066a linux-chuwi-hi10plus-5.1.7.tar.gz c591fbe7eef35cd62eed569782cdafb06a07d216d3657b007469502119426b3f52eccd268f02d5fd60e461bc96b262ca3f5f4b1ab9a7122d7af27d83db6cadc6 config-chuwi-hi10plus.x86_64 cffb4b1dc204a15697aa26749df49b3f450de808cb630cf53d4718d933031a42789b79e94d39a9fe44a75e385f609c70aa8ccfb2e91e4fe473e0ee5245146c66 input-silead-Add-MSSL0017-to-acpi_device_id.patch -b97509150d4061001e90e1a595723c479252647b5f94f50b7be0673d11556b28a90fa0afff9f0961a4512c3cbc8d4b02b827e75f75385cbb3ad63b378f3931e3 platform-x86-touchscreen_dmi-Add-info-for-the-CHUWI-.patch" +b97509150d4061001e90e1a595723c479252647b5f94f50b7be0673d11556b28a90fa0afff9f0961a4512c3cbc8d4b02b827e75f75385cbb3ad63b378f3931e3 platform-x86-touchscreen_dmi-Add-info-for-the-CHUWI-.patch +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch +e049afcae29e24f9c63c926f18036250f9362e8ec713034631d983357685c3841e8bd9779417654a24a88f88d913a59a9043659eeb919c4ebb5d9a0689176494 0001-x86-boot-compressed-Don-t-declare-__force_order-in-k.patch" diff --git a/device/testing/linux-chuwi-hi10plus/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-chuwi-hi10plus/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-chuwi-hi10plus/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-fairphone-fp2/APKBUILD b/device/testing/linux-fairphone-fp2/APKBUILD index 0908c0809..841019aa5 100644 --- a/device/testing/linux-fairphone-fp2/APKBUILD +++ b/device/testing/linux-fairphone-fp2/APKBUILD @@ -29,6 +29,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch 0001-fix-video-argb-setting.patch 0003-Fix-includes.patch @@ -62,6 +63,7 @@ sha512sums="6b440c5d087b790894606d4736af815204d9e6f682b7c1ba78f5852fa7aecd74cb27 dafe4a3f2b6e8415c6114df20acc9619791fe80b3f2e772e4da685a80b8fe856f77f8bb038c992559f092e5ce38145c3b021db6d00c6f267ce3d85020225bde9 config-fairphone-fp2.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch a48336bbfead6ad0c84d2fce0c40a3f5530aebdff356a6835cceaf59a50a6f860d2f8027703a92927955fbb18857ba78788e010d017bf67730f069b36e96fe87 0001-fix-video-argb-setting.patch 403d4999e98ddf73e083076c130a7c9de265096b7abeaabe1ba4305403202e651289a538d104cb37adf783fcecea009f3ed2b722d8640d8d3f12e6cbb8ebe97d 0003-Fix-includes.patch diff --git a/device/testing/linux-fairphone-fp2/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-fairphone-fp2/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-fairphone-fp2/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-google-crosshatch-mainline/APKBUILD b/device/testing/linux-google-crosshatch-mainline/APKBUILD index 05c6cb811..30331dd39 100644 --- a/device/testing/linux-google-crosshatch-mainline/APKBUILD +++ b/device/testing/linux-google-crosshatch-mainline/APKBUILD @@ -27,6 +27,7 @@ _commit="9c9b87cec239101274451cc9c086da60108f9fda" source=" $pkgname-$_commit.tar.gz::https://github.com/Pixel3Dev/$_repository/archive/$_commit.tar.gz config-$_flavor.aarch64 + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " subpackages="$pkgname-dev" @@ -160,4 +161,5 @@ dev() { "$subpkgdir"/lib/modules/$_abi_release/build } sha512sums="1ce235689d7ce0b40be203cb16c1bdfe9bc7b2c5e793a942afc5ea4f3268a0a15b684d9c4017a87916d989d8592a96a4223976c95bf7fcca603e71d2f20fee86 linux-google-crosshatch-mainline-9c9b87cec239101274451cc9c086da60108f9fda.tar.gz -e33913137709c3192458fc95f23580e1659b4714bb4031bc2c354c4db790e455df84c104cdb85078d3dc7c3a456f8891f285f4ae480e7751ebfce283346b2924 config-google-crosshatch-mainline.aarch64" +e33913137709c3192458fc95f23580e1659b4714bb4031bc2c354c4db790e455df84c104cdb85078d3dc7c3a456f8891f285f4ae480e7751ebfce283346b2924 config-google-crosshatch-mainline.aarch64 +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-google-crosshatch-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-google-crosshatch-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-google-crosshatch-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-google-glass/APKBUILD b/device/testing/linux-google-glass/APKBUILD index 61684eba0..5bf0defc0 100644 --- a/device/testing/linux-google-glass/APKBUILD +++ b/device/testing/linux-google-glass/APKBUILD @@ -29,6 +29,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/GlassHack/$_repository/archive/$_commit.tar.gz $_config compiler-gcc6.h + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -49,4 +50,5 @@ package() { sha512sums="b98916d6cc745115e89be35158b4cf0e025e73261a8f56302e9b74d8a7b597df8bdef1ee4ce8503dfc4fc94be16b91227b358cba7c5bc1fabde182876f6becf7 linux-google-glass-1091b53a0b5e20d23a8447161e181e2a53e944de.tar.gz 0f37a7112c45893ba431f3f0051fa99b4b9c1ed59c62b165a5edb7d80b114d1f73bde06fdbb6be972bef6ddb51933bb8e5862a0e7b55c4552f3301c62bff9f88 config-google-glass.armhf -d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h" +d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-google-glass/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-google-glass/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-google-glass/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-htc-a5ul/APKBUILD b/device/testing/linux-htc-a5ul/APKBUILD index 06b7d321e..f81790c7b 100644 --- a/device/testing/linux-htc-a5ul/APKBUILD +++ b/device/testing/linux-htc-a5ul/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h 0003-Fix-CC-error.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -58,4 +59,5 @@ package() { sha512sums="0d7df2eff49cb40fa5f5353b2c63bdb0f4dd9f654ac0f09ab2547f2e47b62659f011e9b5c1e4cf00307c8017e654980ad3065133964d5359a41af8704463522a linux-htc-a5ul-2115207f50d4c2e4bad1f1fc1498109f57b6ebc7.tar.gz cf1bc88e7946f420715faa83d5dff789fd815b13e42046de26b9a013061365eaea11ff91851b701ca0c862111705e1aa7f3a91b1902cbf0649e21be9a6608118 config-htc-a5ul.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -4d328283b2c4e55624703f204f804d9a40e5aa504d7c7198365536c47793d598271a63e864596c7b54ed8f60e74862ec6b4859a948c2c2ed2158f15cb148a94d 0003-Fix-CC-error.patch" +4d328283b2c4e55624703f204f804d9a40e5aa504d7c7198365536c47793d598271a63e864596c7b54ed8f60e74862ec6b4859a948c2c2ed2158f15cb148a94d 0003-Fix-CC-error.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-htc-a5ul/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-htc-a5ul/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-htc-a5ul/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-htc-flounder/APKBUILD b/device/testing/linux-htc-flounder/APKBUILD index 5032b7587..6b1d2a360 100644 --- a/device/testing/linux-htc-flounder/APKBUILD +++ b/device/testing/linux-htc-flounder/APKBUILD @@ -29,6 +29,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config compiler-gcc6.h + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -49,4 +50,5 @@ package() { sha512sums="b9ee4b14b0466e0b19d869810ceb852dd70399a90cdb081b902177685b87d242e11284bb0f619ea103b30ef5544f06a88c0131d028024ad8aa45809697e070fa linux-htc-flounder-a8f66d78789d66906c886fd6818fb648d0a84a2a.tar.gz 2c3afe116d18f716938b7f95171aa62f8cb6c9e19e86df7ae2d78315cc9c03b926b27c15ebe6aa138cac9552655eac50b6ccd1587c8d1664b97649f2934821a0 config-htc-flounder.aarch64 -d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h" +d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-htc-flounder/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-htc-flounder/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-htc-flounder/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-htc-m8/APKBUILD b/device/testing/linux-htc-m8/APKBUILD index ed99321f9..fb5e197aa 100644 --- a/device/testing/linux-htc-m8/APKBUILD +++ b/device/testing/linux-htc-m8/APKBUILD @@ -32,6 +32,7 @@ source=" 0001-fix-video-argb-setting.patch 02_gpu-msm-fix-gcc5-compile.patch psmouse_base.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -62,4 +63,5 @@ sha512sums="3f826c698af5839fd83e9204d8d4c28db35a0e8c174c0cef005acea5fa53b2463fb0 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 35cdbf82daef7a421a92ee3b95cc57d1c77ac62d3957bb2ea60021817381348a7c9dd4119becaae2faa8ace7e21fb40d417b9ca1c0affc46947ea52625bd9127 0001-fix-video-argb-setting.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch -f7e31cfe422696922aec52002e56c58103183966edee3bb8e1995d33f8d37b07c32280a8ecc213874e358a6ff367418556a4542fba7e3c17e4b8e82e05c3a543 psmouse_base.patch" +f7e31cfe422696922aec52002e56c58103183966edee3bb8e1995d33f8d37b07c32280a8ecc213874e358a6ff367418556a4542fba7e3c17e4b8e82e05c3a543 psmouse_base.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-htc-m8/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-htc-m8/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-htc-m8/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-htc-memul/APKBUILD b/device/testing/linux-htc-memul/APKBUILD index b577aa42a..4ffda82bf 100644 --- a/device/testing/linux-htc-memul/APKBUILD +++ b/device/testing/linux-htc-memul/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch 0001-undefine-DIAG_XPST.patch 0002-fix-video-argb-setting.patch @@ -54,6 +55,7 @@ sha512sums="23e477d471607cbede9632569a05231f480ca47f5d00e8233a8503f40ab01a6a6a7f dc4f519ec1ed4f642d281d89513b4eb2611feea72c1ff64c7da104d66ce497dbfddd3998f566e8b9b5582fb8116bfb68c6a1bdd4a8867bd5f0b6d2b347cda323 config-htc-memul.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch b98c43fd812329b9f3ac6df6810a24fb1a72a4d8476b7dcf2209ce56a3e5b5fe115b97f2e906cdbecdd46d7229688aae8de85932c1308aba6e8a47cb00fd8dda 0001-undefine-DIAG_XPST.patch 173af2c693d986a2892d7afc22568c3c692644a23245c0e55b4835b9c2f1e3731fbb5085183663741408a3ec9e128f9ba5390c92aea471d64b062cff4de3656f 0002-fix-video-argb-setting.patch" diff --git a/device/testing/linux-htc-memul/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-htc-memul/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-htc-memul/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-huawei-alice/APKBUILD b/device/testing/linux-huawei-alice/APKBUILD index 9bd797de6..9532c10f0 100644 --- a/device/testing/linux-huawei-alice/APKBUILD +++ b/device/testing/linux-huawei-alice/APKBUILD @@ -31,6 +31,7 @@ source=" 03_fix_get_ro_secure.patch 04_fix_hisiwifi_makefiles.patch $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -55,4 +56,5 @@ sha512sums="0432f760efbf0ac64a51e0ad229b2c3a3400ca8e0b7be04fce81b352482d980b7ae8 33599989d5088bb58bcbebe1b33f324fca130fac7f4938e848c07abafb119af9cebf94ef4acf786b5e43e9199a8200aa216a4238a0331d426861651204aea8c8 02_fix_undeclared_AID_INET.patch 11e2825cec9fde87241b43993b956872c6686c5c76acef0332867c14fb3b6c4d64dc1d54d8dc6edb1e3375fd2369918912598a413f279a885f253630a658a4c6 03_fix_get_ro_secure.patch 2a7f487903a7f97ae50acb42a35096d688b51285f62e36ce0a70110539ffb6b116cb9cf1796d6332fe78c1a2ff597ece2ffa551428e92610c97ef635d52c57fb 04_fix_hisiwifi_makefiles.patch -da3efc16ae2045d59aa9d0ef19e0779c305e51a103172ee1adb226c37cf4a3c2170bfd3b39cfc5d1bab79a2290a5b907717b224bdbaa8285cca18eb6e61b1b6b config-huawei-alice.aarch64" +da3efc16ae2045d59aa9d0ef19e0779c305e51a103172ee1adb226c37cf4a3c2170bfd3b39cfc5d1bab79a2290a5b907717b224bdbaa8285cca18eb6e61b1b6b config-huawei-alice.aarch64 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-huawei-alice/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-huawei-alice/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-huawei-alice/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-huawei-angler/APKBUILD b/device/testing/linux-huawei-angler/APKBUILD index e6f46bdff..3d6ee3de5 100644 --- a/device/testing/linux-huawei-angler/APKBUILD +++ b/device/testing/linux-huawei-angler/APKBUILD @@ -31,6 +31,7 @@ source=" $_config compiler-gcc6.h kernel-use-the-gnu89-standard-explicitly.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -99,4 +100,5 @@ package() { sha512sums="de3f5ab1c6609b94d416b0eebd5ae948698f0f6ec81e84fbee152df7c2778d8df94cec43b5abca583fe5977bb28037b3b6d2c3ff652a50493a1f24da31dadd7f linux-huawei-angler-04d1557af1259b211609fa41adbe852b5f9cf2da.tar.gz aa46647bd35d1938ddf03ca2d2240e06d928bf83408b50642f9f8bfa3227d4d897dd3b609b77db25ccce7c09332163345ff70beeb6b99b4921624298bbd3d332 config-huawei-angler.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" +ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-huawei-angler/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-huawei-angler/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-huawei-angler/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-huawei-cameron/APKBUILD b/device/testing/linux-huawei-cameron/APKBUILD index fdbc7668b..e9bf4f996 100644 --- a/device/testing/linux-huawei-cameron/APKBUILD +++ b/device/testing/linux-huawei-cameron/APKBUILD @@ -24,6 +24,7 @@ source=" 04_make_rdr_hisi_adapter_compileable.patch 05-disable-huawei-bfmr.patch 06-py3-compat.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -53,4 +54,5 @@ sha512sums="1da7c7666f1bf8e3fd3931331b1ebf0ab9520fce47d44749c30abcef55856deaced0 86afc1337a34524c49e9beaad6506f7038a7413340abc473f8d209a4d3cd6ebbcf8315ae41902427edf97064742c02e2e5bb705a8bcd36d1cae19f76a509e235 03_add_compression_methods_to_Kconfig.patch cdc60b6c829df3b014226b9cb506ed71cf005cf5fec8d4339b54a23f052465501aaa4983ec00f33ef301db2e6a70b24a30439b3f6ce8f7c00348c05d3132ec3f 04_make_rdr_hisi_adapter_compileable.patch 6e420722576111a7ba49f265a66de632631c13d1bdb67553916d2156149226526daedc8298d83a38115c0a7189497cdb92b0daa0a263a92e6093f575e855a6e5 05-disable-huawei-bfmr.patch -e783a5a775797efd229b049dba9a4eacd74b6dd7de2f37dfc0f9ead7c2ca3e617c162d8b28cec2d68fe5c51bff67a7045441b36b055582f07ff531f1dc445809 06-py3-compat.patch" +e783a5a775797efd229b049dba9a4eacd74b6dd7de2f37dfc0f9ead7c2ca3e617c162d8b28cec2d68fe5c51bff67a7045441b36b055582f07ff531f1dc445809 06-py3-compat.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-huawei-cameron/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-huawei-cameron/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-huawei-cameron/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-leeco-s2/APKBUILD b/device/testing/linux-leeco-s2/APKBUILD index 1ae65a9e2..487110240 100644 --- a/device/testing/linux-leeco-s2/APKBUILD +++ b/device/testing/linux-leeco-s2/APKBUILD @@ -33,6 +33,7 @@ source=" 02_fix_msm_dba.patch 03_psci.patch 05_dtb-fix.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -56,4 +57,5 @@ d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104c b23dfac4f6be2ac460f220f9e0780590c8d137cdfc5f0bf513efa0fb1ca07f32a6f0a53a96b215e9db8cdc28937e0eb46e6420147b5d3cf4dc64cff77b414457 01_fix_gcc6_errors.patch 3cf963ee3dbf08547d731081850183ec2a30924f182b12eddc3befb9bd1a3ed9aefdbc8bfa10ff62d2351ce69743996edb00830559f84dad0d067cff7de5a127 02_fix_msm_dba.patch a66521ea257ed7d339592e198ce9cab983deb20fa45c02ffa8689ac7081d879ae3bff9648107c65e2805893c08611b356a55e6c088c8e17c7631364aa2a10c39 03_psci.patch -0e5ebee2f1b0005fcae4f313219c0b6481b3d044c7167e0fb18b72db0eae49aef7b281cd29e0fa1e653fc5585064c990085ca68f920348c3d9d9ea9524d1baa6 05_dtb-fix.patch" +0e5ebee2f1b0005fcae4f313219c0b6481b3d044c7167e0fb18b72db0eae49aef7b281cd29e0fa1e653fc5585064c990085ca68f920348c3d9d9ea9524d1baa6 05_dtb-fix.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-leeco-s2/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-leeco-s2/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-leeco-s2/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lenovo-karate/APKBUILD b/device/testing/linux-lenovo-karate/APKBUILD index b6fdab51d..ade1a74c1 100644 --- a/device/testing/linux-lenovo-karate/APKBUILD +++ b/device/testing/linux-lenovo-karate/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h 01_prima_gcc6.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="bc362a70215315eee0c63e52701488f9aa31c7e6af8d80f9dcef7c06b1d522f5e5a7a21c80c554575b21568ffb0fc2101407eb33c8d030f326943925275e34f9 linux-lenovo-karate-d99e6751356d0d310db6a16f3fe7eeaea8041675.tar.gz ad91e3e2cf276f4c1d9c155267398d2303577a9f40a1afea3b6403bc873c0b0aa65b06ecb2ff1288ba94ac4d60295f81bf95b48a52bffe6309352c32f424ea36 config-lenovo-karate.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_prima_gcc6.patch" +972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_prima_gcc6.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lenovo-karate/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lenovo-karate/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lenovo-karate/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-bullhead/APKBUILD b/device/testing/linux-lg-bullhead/APKBUILD index 5ca88f6f3..bca3beb2d 100644 --- a/device/testing/linux-lg-bullhead/APKBUILD +++ b/device/testing/linux-lg-bullhead/APKBUILD @@ -25,18 +25,26 @@ fi _repository="bullhead" _commit="57351a6494f82cda87c697e10afb98b7f3bd28a2" _config="config-$_flavor.$arch" +_wireguard_commit="c3fb88503cabc2234db2c1dfda41f0288c9f4ba8" source=" $pkgname-$_commit.tar.gz::https://github.com/franciscofranco/$_repository/archive/$_commit.tar.gz $_config + wireguard-fetch-$_wireguard_commit.sh::https://raw.githubusercontent.com/WireGuard/android_kernel_wireguard/$_wireguard_commit/fetch.sh compiler-gcc6.h static-inline.patch driver-fix.patch undefined-screen_info.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" prepare() { default_prepare + + install -Dm755 "$srcdir"/wireguard-fetch-$_wireguard_commit.sh \ + scripts/fetch-latest-wireguard.sh + ln -sfv /proc/self/fd /dev/fd + . downstreamkernel_prepare } @@ -52,7 +60,9 @@ package() { sha512sums="f34e79b5c80e6dcb2de4a85ec5a59b837338b55c4fef5ac5c6dfaf0d78220a016397442032fbf340eeead1201dd01feeff660adfe3406fdddf66832e59416898 linux-lg-bullhead-57351a6494f82cda87c697e10afb98b7f3bd28a2.tar.gz 7e49fa92edfe2057f3454909ad2bc7e643c8372fbb64003ec66581896e6497cedd506a721df436f10f741d30cceee7c1e8a9fbe215755deae575bb2e2b5bb757 config-lg-bullhead.aarch64 +80c744be3228255d400efc249129c03388d3f8b2e717ee027e92ca2726686ef7760df1c7c4dd172d76885831c219fd0504523d6146eb4d3d117139fafe57c30d wireguard-fetch-c3fb88503cabc2234db2c1dfda41f0288c9f4ba8.sh d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h ad77ff2bea83e603bfdbd6bdae7a15f8e8d4a4a005a6ad26b6d8872767bb80b41cc2c0df228d6978ad0bd9e84486bea98a178478b93948e3e37794755e136bd6 static-inline.patch 64060a1b42743b398feb7b9b05259ff5bc8a3607c9e357d9c1f57c9c0994b433a2fc0c2697a34c71b78ca4096f06ef18e1f5575c4a6a3e93d3c39066ee88d418 driver-fix.patch -f05386bd27c61e579e69b6ece42b99438ae6da67b8321eec3e4b408a06ff9bdc35cb354fe6dd66751c9118263463f91eb8c250e82532ec4698ea61ac3371c558 undefined-screen_info.patch" +f05386bd27c61e579e69b6ece42b99438ae6da67b8321eec3e4b408a06ff9bdc35cb354fe6dd66751c9118263463f91eb8c250e82532ec4698ea61ac3371c558 undefined-screen_info.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-bullhead/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-bullhead/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-bullhead/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-d285/APKBUILD b/device/testing/linux-lg-d285/APKBUILD index f46268bb0..c2e0112d4 100644 --- a/device/testing/linux-lg-d285/APKBUILD +++ b/device/testing/linux-lg-d285/APKBUILD @@ -27,6 +27,7 @@ source=" 00_fix_return_address.patch 02_gpu-msm-fix-gcc5-compile.patch 03_mdss_fb_refresh_rate.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -108,4 +109,5 @@ ced52e69fca2bb06541e1b809c9559fc99e6cf40d7ed9107108bbaba8d19ea4630b3a5c6ce6315e4 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch -a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 03_mdss_fb_refresh_rate.patch" +a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 03_mdss_fb_refresh_rate.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-d285/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-d285/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-d285/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-d722/APKBUILD b/device/testing/linux-lg-d722/APKBUILD index 57fa37c25..6ad603bee 100644 --- a/device/testing/linux-lg-d722/APKBUILD +++ b/device/testing/linux-lg-d722/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch " builddir="$srcdir/$_repository-$_commit" @@ -48,9 +49,10 @@ package() { "$pkgdir/boot/dt.img" } + sha512sums="6406689c9fe29ab7bc6874cd7ed0d3770fd15a3befc90f1d2fef26b100c581c0dd99ec3bd30f83ff42f2ba8b29239ac7254ebc8f359fbe70348d862b07057e79 linux-lg-d722-bf756279493c2cc4656b784afa29822b30838e98.tar.gz 658e9727683fb04f5034365ac6aac0e651476bf39e14ceb1b578a6cecbc9d0e564aa9f4b5a81b4609248da770ca31bc2e0ec6a2fa10e1f1e3d5d32c3062896da config-lg-d722.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" - diff --git a/device/testing/linux-lg-d722/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-d722/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-d722/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-d855/APKBUILD b/device/testing/linux-lg-d855/APKBUILD index e35ecb20d..2e7ab13ec 100644 --- a/device/testing/linux-lg-d855/APKBUILD +++ b/device/testing/linux-lg-d855/APKBUILD @@ -31,6 +31,7 @@ source=" $_config compiler-gcc6.h 02_gpu-msm-fix-gcc5-compile.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -98,4 +99,5 @@ package() { sha512sums="a2e7c0575a677846f734804a462729ca97505101e9090231aeeae5c863b9d1a65d227f04a302157ee9579336be4f8b589f77cb7916ee7d8fc8b8d7fb97295374 linux-lg-d855-efce7b0879c76224f5bf37d8a1025eaed99192b0.tar.gz 03b01823f41490456aa618b8fc77c9e2093680ea8b54c3c425eb6bb41c3e66e1cf0d39bfcd130bd26a97610b1b8cd04393853d5e1b1f8203dd70b5bae46306c9 config-lg-d855.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch" +7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-d855/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-d855/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-d855/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-dory/APKBUILD b/device/testing/linux-lg-dory/APKBUILD index 34b1486c6..a0fa69810 100644 --- a/device/testing/linux-lg-dory/APKBUILD +++ b/device/testing/linux-lg-dory/APKBUILD @@ -34,6 +34,7 @@ source=" 01_avoid_rpmb_read_during_boot.patch 02_fix_mdss_fb_refresh_rate.patch 03_fix_mdss_fb_memory_allocation.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -76,4 +77,5 @@ d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104c ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 760fdff79df31754ebed59839f34fc8c5a61750471614ac93a01b1e13b2535e7ca1f879c0cad3e83ad92946586c91679ba853eac4fe454d7e948317c84d81941 01_avoid_rpmb_read_during_boot.patch 26b599d6b0c435d9e0b80f578c1cc0714d60f532a98efbbcb0e313f5c5dcd2c8619afa5776091d14ea65e268a1f128b378fe30ba1743e1428f3300b505a9861c 02_fix_mdss_fb_refresh_rate.patch -5208c3f33099e22516e00ab90234784918157d0712a8a9cf81418a7ea1c136601cb54f83d490577f2cadb6ed94ac6c6f242e7b310fb5f09222de568e416c6731 03_fix_mdss_fb_memory_allocation.patch" +5208c3f33099e22516e00ab90234784918157d0712a8a9cf81418a7ea1c136601cb54f83d490577f2cadb6ed94ac6c6f242e7b310fb5f09222de568e416c6731 03_fix_mdss_fb_memory_allocation.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-dory/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-dory/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-dory/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-h815/APKBUILD b/device/testing/linux-lg-h815/APKBUILD index 0f921fc73..bfa295a00 100644 --- a/device/testing/linux-lg-h815/APKBUILD +++ b/device/testing/linux-lg-h815/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h fix-powerlevel.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="48a3345de582a6e4ba7fc2f87ffd423750bb8a1878ce386b8504306a49294e01e6c4c7511d2c178d8c9fb228c288782fe64f606df381843f144986d1cd467ad7 linux-lg-h815-aad745da91abbdf8bacda189aebf22db048604f5.tar.gz 402468eed41f972a6444e49384124588ca36628be20efb5f939c51f28e1c2f00e79ae96c08d2ef73d55c50fc997b6a34c5923b4f6c60f35c848058cf7c01236f config-lg-h815.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -337fe3e03580bbe73e5c20420981c11bf7c71e67270a828df309e6f08a573c3ce0d5cdd68efe5552abb4635d4ba1788df80e81745204955fedaf5731144ea994 fix-powerlevel.patch" +337fe3e03580bbe73e5c20420981c11bf7c71e67270a828df309e6f08a573c3ce0d5cdd68efe5552abb4635d4ba1788df80e81745204955fedaf5731144ea994 fix-powerlevel.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-h815/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-h815/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-h815/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-lenok/APKBUILD b/device/testing/linux-lg-lenok/APKBUILD index e1b0b9556..4abe356a4 100644 --- a/device/testing/linux-lg-lenok/APKBUILD +++ b/device/testing/linux-lg-lenok/APKBUILD @@ -33,6 +33,7 @@ source=" $_config compiler-gcc6.h 02_mdss_fb_refresh_rate.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -100,4 +101,5 @@ package() { sha512sums="ae4dbdf716cf446e9788c5e1d847ff45cca60831b6199568c9a46d6319824e57515f63eabf5250ceffee5f543c1de0813a1fb48e559c2f7d51cfc73a809ee934 linux-lg-lenok-7044f08636f6b8407bb00404a2e27ae0ce859f1e.tar.gz 9958b0e58a8ace822277330f861dc12f131118c802bc2fb91018a7070d2dfb667cbe0662376bf4df3827dfddc3d5443f210ba4e207cdda071e70233fd17ab2f2 config-lg-lenok.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch" +a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-lenok/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-lenok/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-lenok/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-lg-w5/APKBUILD b/device/testing/linux-lg-w5/APKBUILD index 13dac9b99..3acaa9658 100644 --- a/device/testing/linux-lg-w5/APKBUILD +++ b/device/testing/linux-lg-w5/APKBUILD @@ -32,6 +32,7 @@ source=" 00_fix_return_address.patch 02_gpu-msm-fix-gcc5-compile.patch 03_fix_various_include_directives.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -62,4 +63,5 @@ sha512sums="6406689c9fe29ab7bc6874cd7ed0d3770fd15a3befc90f1d2fef26b100c581c0dd99 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch -a220197b2d1314a993a49f2168bde966b60331bb935a5eb39bcf3789d234348573276d76e1d43d4ffd816d64fbee57f62e33eb3f5567901c838e2814cb83692a 03_fix_various_include_directives.patch" +a220197b2d1314a993a49f2168bde966b60331bb935a5eb39bcf3789d234348573276d76e1d43d4ffd816d64fbee57f62e33eb3f5567901c838e2814cb83692a 03_fix_various_include_directives.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-lg-w5/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-lg-w5/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-lg-w5/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-meizu-turbo/APKBUILD b/device/testing/linux-meizu-turbo/APKBUILD index b4271bc41..ac82e6d91 100644 --- a/device/testing/linux-meizu-turbo/APKBUILD +++ b/device/testing/linux-meizu-turbo/APKBUILD @@ -21,6 +21,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/meizuosc/$_repository/archive/$_commit.tar.gz $_config gcc7-give-up-on-ilog2-const-optimizations.patch + gcc10-extern_YYLOC_global_declaration.patch 0001-Get-rid-of-Android-toolchain-binaries-in-Makefile.patch 0002-Make-exynos_ufs_ctrl_hci_core_clk-visible-to-other-T.patch 0003-Remove-hard-coded-denial-of-ro-attr-change-for-SD.patch @@ -47,6 +48,7 @@ package() { sha512sums="3e2fed72982aa58ae4fb403f70a0141680e01188c8c82c9272478b5fc9022de8ef7f229c44f6d07f0aa14904d6c1fb2f5fd3233440ea9f42702987ca165ce0ce linux-meizu-turbo-2d3fa1ca1fbc8b52c75b2bcc3784b7e52085768b.tar.gz ca765b290e78cf74074dfec8a742625694a9d592f9213ea877469bd3b3761477f8a934ae995fc01d2875a4a7d7018d8bf3a668382a50aaf3603854d7eab98917 config-meizu-turbo.aarch64 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 1ebe72fe30dc92015b518ebc6eed9145a71b6a71efecd130757013831bcc1ba75e40dce5b8708028c8604ab9737d7679fce941dd879fcddf0b290d5d02cafae9 0001-Get-rid-of-Android-toolchain-binaries-in-Makefile.patch 9669953f33404ebbceb91ac20c9023e76c35c5d21c2a506917139f58f16d5670ee085c366199b9a154fe4b5c6bfd59ed5a0af9fc06d7e92c2bf0b876f66e44b6 0002-Make-exynos_ufs_ctrl_hci_core_clk-visible-to-other-T.patch f81ec28b6bcf59ed842ccf1fe6549d847b804a54d0e705f60c68e3cb07f776763c7ddd2168dacc1d23c4b0c6602bae84c3a921b4df7f2545ae2597c54c4dd4c1 0003-Remove-hard-coded-denial-of-ro-attr-change-for-SD.patch diff --git a/device/testing/linux-meizu-turbo/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-meizu-turbo/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-meizu-turbo/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-ali/APKBUILD b/device/testing/linux-motorola-ali/APKBUILD index c765443cc..1ca93cdb2 100644 --- a/device/testing/linux-motorola-ali/APKBUILD +++ b/device/testing/linux-motorola-ali/APKBUILD @@ -26,6 +26,7 @@ source=" fix_fb.patch fix_fb_h.patch fix_mdss_overlay.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -53,4 +54,5 @@ e2cf5b20831c05881780b7db1f40135ca7c8e0d2a4f7a8afa4eee16c7eae1711f2f02f72266309d5 3ccfaf591befba3b67d24134a516352173767cac0479d3011f077866e02a792f3581e50d05110375a8f84876213823d37d3791c4cb82f19f212bc4bee57934c8 fix_mdp_ctrl_off.patch cb7edd7bf9642400276ccb1ddf38cc4ed6fd934c0f0fbc43839903dfd9a3d433121d7624f53be309a10e1703024079d25b369016ccadc870dfd31d988dc22b77 fix_fb.patch 3532faa75cbdbe034082420491abbf61c4a0a744b5d5c676ee9e1de971655dfac77129932baf78ad45ff0f01c3fa139253d1a3ff8461671536a9aebc5d16586a fix_fb_h.patch -eb183307dd0b79407c0b6c92cdc9898d2834a8309938e1af14708e94a375c1c68b5f63c0096bae7e29f28d9191dd73c33d0bbf0686fb722daa37bcabc92dea3f fix_mdss_overlay.patch" +eb183307dd0b79407c0b6c92cdc9898d2834a8309938e1af14708e94a375c1c68b5f63c0096bae7e29f28d9191dd73c33d0bbf0686fb722daa37bcabc92dea3f fix_mdss_overlay.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-ali/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-ali/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-ali/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-cedric/APKBUILD b/device/testing/linux-motorola-cedric/APKBUILD index 1cd2ccad0..09ce664fb 100644 --- a/device/testing/linux-motorola-cedric/APKBUILD +++ b/device/testing/linux-motorola-cedric/APKBUILD @@ -21,6 +21,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/Sohamlad7/$_repository/archive/$_commit.tar.gz $_config gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 03_fix_rndis_ipa_trace_header_not_found.patch 05_fix_u_f_header.patch 06_fix_usb_gadget_function.patch @@ -53,6 +54,7 @@ package() { sha512sums="706b37cf09d23abab80ba6e8dfbd8c806e4ecb4c3a31f0b0b5ba7ac29c7922716c46e89e4a99eb0febc2d7abe4b433e1b25a7e4f4c05ec43646c6c685e44b4c4 linux-motorola-cedric-2d29701ed2d080029f0bd3ceba07df66ae4e9c2d.tar.gz 21d9e6dbe84117fb7a515e960a75f51fa0f66d85abc5d19c2a993463c6f81fc8429ab80ebc1933296e4dca0ceae82e5e0e5a778772c7cad66029f9ec17fa07b5 config-motorola-cedric.aarch64 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 9c549714f03c7a7666e8aa7508a48cfdccab7cf3e97fb59c4df8fa97f75492365926f82c4a677c50780d68d4905504dcccbdd6de6344bd8d4b88b2331933ed46 03_fix_rndis_ipa_trace_header_not_found.patch b408f157cc025d410b38f5aee9be977e670e1ac3f195f6c3a6681446fa0c3887067d62a4f729cfcd058fab42fca355b0265764dc2d21515f6e023ed025f55d41 05_fix_u_f_header.patch 1f23466d1a864f2d2c67ae4250b0c166ecb7755779bbdad6732808a001cc2826cc1d013c2281d2ca1d5abd7d60d13783f0b9f11bb8359971f2b30b911e627220 06_fix_usb_gadget_function.patch diff --git a/device/testing/linux-motorola-cedric/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-cedric/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-cedric/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-channel/APKBUILD b/device/testing/linux-motorola-channel/APKBUILD index 690300509..7529d9bab 100644 --- a/device/testing/linux-motorola-channel/APKBUILD +++ b/device/testing/linux-motorola-channel/APKBUILD @@ -23,6 +23,7 @@ source=" disable_tty_port_set_policy.patch disable_skip_initramfs.patch mdss-panel-to-fb-var.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch $_config " builddir="$srcdir/$_repository-$_commit" @@ -47,4 +48,5 @@ sha512sums="41bbbe33864866407877c5769882782e099a3f48898eb26ea08f172ff0bcc1239e2f 0fd5fd59e16c24a85302de83f61468591df472afbddaeab2b3dbf59cf9d48af2ac8ecc1a48a72b7a1db44077fbd4856dc60f2b2885eb1adf1f8e96b3a311eaad disable_tty_port_set_policy.patch 65048fb6474fd543b14bc99d9d95cfe5297da239af211d327a8509f7777d489bd01dd911364e0c62ec0e68f4c22ebb3b145eabfe01cad2abf57cf46896a1e58f disable_skip_initramfs.patch d5b868c64b8ebddcf74cb3aa478f30f0897af1e14e4fc42d977921104a6c568cc0bf36fc8a3b0f538cd3ca2ebf59244fdf23186a903259e5acc14d1c4ef4ccc3 mdss-panel-to-fb-var.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch 9cfefeefeaddfa7827357a5a2ede3ac6c5bb559d040b7e2dc657b4cb3bd0e84823f35500c569547a7bdf6eb98c4c2f37f3d941fb0b95b835040f83c46bdc896d config-motorola-channel.aarch64" diff --git a/device/testing/linux-motorola-channel/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-channel/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-motorola-channel/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-def/APKBUILD b/device/testing/linux-motorola-def/APKBUILD index 41b27150a..5579cb1cc 100644 --- a/device/testing/linux-motorola-def/APKBUILD +++ b/device/testing/linux-motorola-def/APKBUILD @@ -29,6 +29,7 @@ source=" dsi-staging-fix-duplicate-static.patch fix-hdcp-case-label.patch fix_ipa_buf_size_mismatch.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch $_config " builddir="$srcdir/$_repository-$_commit" @@ -60,4 +61,5 @@ sha512sums="80fa3677d51cee6e64d7edaf56448bcc3b4f1c0fa56679a0e93986f7d322ce291c65 45cd1dded5c56c93aa80a016ec9a96098633d6b38a02f2614cc0d96737409c24230d22eaaf8a244ce5d2eef07fb34cddcb06aea87e4b7805138cb5ac8c62f7cf dsi-staging-fix-duplicate-static.patch 9b459f035f4277172265888a810af53b82de94df700f3dc79398bec585a9b85deed3a36634ae88482fdef9b276b2aa1189386e8646184375cd3042f08bd7acdd fix-hdcp-case-label.patch 592d87cbb9532e0311a9d23bc10bdbae9859709993e7b88a7202cd7023e8cc3fcdaa1810a2171771222df2ead44b8de048cb5b10b5088f44607d7c7c5b15da1b fix_ipa_buf_size_mismatch.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch b1396e45dca85f368e7de0634481b491139fdd525a809809b8f5f6ecd8e6d84b87322e0f788a69ee47030b8c6ee78923db8a72e5c1f5f2657106c7b963f770ce config-motorola-def.aarch64" diff --git a/device/testing/linux-motorola-def/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-def/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-motorola-def/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-falcon/APKBUILD b/device/testing/linux-motorola-falcon/APKBUILD index f29f313e8..0a84b9089 100644 --- a/device/testing/linux-motorola-falcon/APKBUILD +++ b/device/testing/linux-motorola-falcon/APKBUILD @@ -32,6 +32,7 @@ source=" 00_fix_return_address.patch 02_gpu-msm-fix-gcc5-compile.patch 03_mdss_fb_refresh_rate.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -62,4 +63,5 @@ d0a23e075db5fb49db5dd50ec2038c1e613b7d25a79aad94685449599e6a40c0ba36c2e298148baf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch -83e52e5c5eb9721fe256c04f371197e9befeb129c6a0826c134000b96f8c1987f5634a6a207f1924bd2e833c7822866794742b91b1833d14998d80b5c1d5e646 03_mdss_fb_refresh_rate.patch" +83e52e5c5eb9721fe256c04f371197e9befeb129c6a0826c134000b96f8c1987f5634a6a207f1924bd2e833c7822866794742b91b1833d14998d80b5c1d5e646 03_mdss_fb_refresh_rate.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-falcon/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-falcon/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-falcon/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-ghost/APKBUILD b/device/testing/linux-motorola-ghost/APKBUILD index a9461d7ce..2f66a718e 100644 --- a/device/testing/linux-motorola-ghost/APKBUILD +++ b/device/testing/linux-motorola-ghost/APKBUILD @@ -34,6 +34,7 @@ source=" 02_Input-lifebook-use-static-inline-instead-of-inline-i.patch 03_Input-sentelic-use-static-inline-instead-of-inline.patch 04_fix-video-argb-setting.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -59,4 +60,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 01_gpu-msm-fix-gcc5-compile.patch 5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 02_Input-lifebook-use-static-inline-instead-of-inline-i.patch 2d77d90b501aa8afbf81629e73fc0a2055b373942975f58277e43f398d0835b3dbbff4a1118137ec82873ba90a254fea87c1d73ba7708578f1779bd0b4c6ff2d 03_Input-sentelic-use-static-inline-instead-of-inline.patch -e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 04_fix-video-argb-setting.patch" +e3083c260ed9c4fc0d83f43106700b6173876dbfae072f6e6696ac6785a4dc17771fbcb3e21601e04ed29a11bf0f7a2a09ad549375e0c34cea245c7f2e2bcbbd 04_fix-video-argb-setting.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-ghost/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-ghost/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-ghost/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-lux/APKBUILD b/device/testing/linux-motorola-lux/APKBUILD index bdfdf4df4..c188a7ff5 100644 --- a/device/testing/linux-motorola-lux/APKBUILD +++ b/device/testing/linux-motorola-lux/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch " builddir="$srcdir/$_repository-$_commit" @@ -52,4 +53,5 @@ sha512sums="eb22bf2f84cdac011563c5d92e38e1b5b25f5247fd8aa658175518846a44841c8c30 e8bd0e896b1822c282f5a8eca44f2a0e409461fce8997e8ba36727d58ed3289390239ea7db65cd07948fa1b43b12bb8d5a4544fdcfecb3ef86384fe70653a796 config-motorola-lux.armhf 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" diff --git a/device/testing/linux-motorola-lux/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-lux/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-lux/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-maserati/APKBUILD b/device/testing/linux-motorola-maserati/APKBUILD index 37eefc296..0e553b4a3 100644 --- a/device/testing/linux-motorola-maserati/APKBUILD +++ b/device/testing/linux-motorola-maserati/APKBUILD @@ -39,6 +39,7 @@ source=" $_config compiler-gcc6.h 01_maserati-fix-gcc6-compile.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _wlan_builddir="$srcdir/$_wlan_repository-$_wlan_commit/mac80211/compat_wl12xx" @@ -106,4 +107,5 @@ sha512sums="0cb163100dad093b56c208c17c021a8aa3a4ae133468701d4ece2fc7342661db8e11 a27237cff59b13740d4107bcfcac706ba5dfc204f51e39fb5b72fb1fbb1fb0ac13fc1a9c694dfc48c0883d359ff11fd7a67ca1e3f277bd086b5c63160fe0824c android_hardware_ti_omap4-0f456ee3a0d8cc79b708a11b505a9e376d467a2b.tar.gz 421ce94fb9e5f7cedeb2e817d6f18b8095aed067e1359494751a04b7e0456d8c396599de59aabf037642b73bfbb1d29020969cad6ca0853c0b4e6abdd1474b57 config-motorola-maserati.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -90c3a109600b00ce691d13cc19a1868cd9aea4033f99273a8cfc83e0f7beced31421303fa0418fb8a919843bf4c1310d4597e6c7d37c7776356036269810308f 01_maserati-fix-gcc6-compile.patch" +90c3a109600b00ce691d13cc19a1868cd9aea4033f99273a8cfc83e0f7beced31421303fa0418fb8a919843bf4c1310d4597e6c7d37c7776356036269810308f 01_maserati-fix-gcc6-compile.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-maserati/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-maserati/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-maserati/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-montana/APKBUILD b/device/testing/linux-motorola-montana/APKBUILD index 6039dd4b3..447f40f1a 100644 --- a/device/testing/linux-motorola-montana/APKBUILD +++ b/device/testing/linux-motorola-montana/APKBUILD @@ -20,6 +20,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/MontanaDevelopment/$_repository/archive/$_commit.tar.gz $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -42,4 +43,5 @@ package() { } sha512sums="369dfffb8088958226b1a259705f4af1e5e9b02d32fde4cd9f9c50f2165658a187f5aa74badff77761a02c2c088484789267db6afbcc3e802dd62b1e819553c0 linux-motorola-montana-1e8993177823e4ddf3b5d91da6335d75ad513dec.tar.gz -3d05f43f3c3ca5afc5bc46aeb7b08ffda78ca6b146bf9d8969c14da3b62ae9fa83dab85cac291aadf9ee4d182e98d6d56f8da9324681a6b697e22456c9fbbee5 config-motorola-montana.aarch64" +3d05f43f3c3ca5afc5bc46aeb7b08ffda78ca6b146bf9d8969c14da3b62ae9fa83dab85cac291aadf9ee4d182e98d6d56f8da9324681a6b697e22456c9fbbee5 config-motorola-montana.aarch64 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-montana/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-montana/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-montana/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-osprey/APKBUILD b/device/testing/linux-motorola-osprey/APKBUILD index d2712a770..3e92a4a93 100644 --- a/device/testing/linux-motorola-osprey/APKBUILD +++ b/device/testing/linux-motorola-osprey/APKBUILD @@ -20,6 +20,7 @@ source=" compiler-gcc6.h Wno-error.patch 02_mdss_fb_refresh_rate.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -113,4 +114,5 @@ sha512sums="fbc2e1fa6ff33dd4c20bb063c655fe85ee20c194a9c19a5fadd3434b8ade4b953778 d98f97a3dce8c580161f185bf0ebe2a349c94539848a742adfe6d94b30a709c53d1ac59c5fdfb53b72b5f2fbccb0e62c45117951cbcbdae22fdf24690f4d79e1 config-motorola-osprey.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 135828e7c9a8cdd4e1f71143e84a80a5d882d2627cacf5e5d808d1172d57cb0ca19520b53429a5f3eee7a17d1489bd77d31ce34e3790062fadb6aa392c09e1af Wno-error.patch -a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch" +a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-osprey/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-osprey/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-osprey/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-peregrine/APKBUILD b/device/testing/linux-motorola-peregrine/APKBUILD index ba3e10063..073b57bfa 100644 --- a/device/testing/linux-motorola-peregrine/APKBUILD +++ b/device/testing/linux-motorola-peregrine/APKBUILD @@ -33,6 +33,7 @@ source=" 02_gpu-msm-fix-gcc5-compile.patch 03_mdss_fb_refresh_rate.patch 06_fix_mdss_fb_rgb_mode.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -64,4 +65,5 @@ d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104c ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 03_mdss_fb_refresh_rate.patch -384ae0bf2f5d7e15b0b60655693fd600b52c0f5bfcaa4ba7336d0ebeb224e84b99b597f77d26a1249e14a4e7bbc1629be00556b393bb9dd2266cb4bd67c3cfea 06_fix_mdss_fb_rgb_mode.patch" +384ae0bf2f5d7e15b0b60655693fd600b52c0f5bfcaa4ba7336d0ebeb224e84b99b597f77d26a1249e14a4e7bbc1629be00556b393bb9dd2266cb4bd67c3cfea 06_fix_mdss_fb_rgb_mode.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-peregrine/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-peregrine/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-peregrine/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-perry/APKBUILD b/device/testing/linux-motorola-perry/APKBUILD index a85081cdb..cb589b67e 100644 --- a/device/testing/linux-motorola-perry/APKBUILD +++ b/device/testing/linux-motorola-perry/APKBUILD @@ -21,6 +21,7 @@ source=" $_config arm-smmu.patch epl8802_alsps.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -48,4 +49,5 @@ package() { sha512sums="f31bfdb0941ee1976763eafd1bdc4048ba646e6bb7bc9ef7e40ada11369bcd514ac9cd57d1b2eb793b5af0697b028bfcd2ed1686de233d3ea52ac27dd9998d5c linux-motorola-perry-729b33fc2d3125da153badce07a88e22a16a37a9.tar.gz 9ed82ed6016526f4da8c0ecb1d2a8f1197fd6e054552002aa84799d28aad4dbe3543d3ebe57606ab62291de506015483061c566baab08a570b725ef789a5ff2e config-motorola-perry.aarch64 a1d0e865c91f7eb542832e3ff60fc7083bc4f5b5a7abecbf13ad6a867a5fab7c84e4187df8c4960dd01d610e1a968c801572f3e7fee97bc851bf3ab32c2e3f8c arm-smmu.patch -2f58744834780143b8f3df1d61bc2c9d4f712d18db9fec4b70768f302e27f1ac04402bf4ee28be635d6b942c941e68760c7ff86ebf053c744b29fd43bd9d5e47 epl8802_alsps.patch" +2f58744834780143b8f3df1d61bc2c9d4f712d18db9fec4b70768f302e27f1ac04402bf4ee28be635d6b942c941e68760c7ff86ebf053c744b29fd43bd9d5e47 epl8802_alsps.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-perry/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-perry/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-perry/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-potter/APKBUILD b/device/testing/linux-motorola-potter/APKBUILD index e8622a806..faf8876dd 100644 --- a/device/testing/linux-motorola-potter/APKBUILD +++ b/device/testing/linux-motorola-potter/APKBUILD @@ -35,6 +35,7 @@ source=" 05_fix_u_f_header.patch 06_fix_usb_gadget_function.patch compiler-gcc6.h + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -67,4 +68,5 @@ sha512sums="e735870e981e727afd0fb97c3ae5e544a724cbf6024c6ad710fca7e50bb19a613b42 1a128e1483459144726458175314c58528e6b1f1a85e5f4230fa0461b0c3dd650037567f672c220a95618f9df023a82a35f010e8e8b784e349806516c1daaf7e 04_fix_stmvl53l0_headers.patch b408f157cc025d410b38f5aee9be977e670e1ac3f195f6c3a6681446fa0c3887067d62a4f729cfcd058fab42fca355b0265764dc2d21515f6e023ed025f55d41 05_fix_u_f_header.patch 1f23466d1a864f2d2c67ae4250b0c166ecb7755779bbdad6732808a001cc2826cc1d013c2281d2ca1d5abd7d60d13783f0b9f11bb8359971f2b30b911e627220 06_fix_usb_gadget_function.patch -d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h" +d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-potter/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-potter/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-potter/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-shamu/APKBUILD b/device/testing/linux-motorola-shamu/APKBUILD index 69663426a..e3b2fb8c0 100644 --- a/device/testing/linux-motorola-shamu/APKBUILD +++ b/device/testing/linux-motorola-shamu/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h 00_fix_return_address.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="2349f1ea66d3bf05675d91a8cf959bf683818c4aafc04b3ec60f8d0ee07dae1d38ade24b14a2457df733ed2db8249dba680a70992d5748806375b76b9cc47dc5 linux-motorola-shamu-0f791f84d1951e144f1e466ba97dd692d33d93c7.tar.gz ffba29331b793b05831bd7cf4d5ddae0cb9ca6c8aae6ecf6c8826f8aa1aa62ced03a0559afe3efa6c838ecc0f0cb9ea05a3583bcef3e9e32ce2bcc42497171e6 config-motorola-shamu.armhf d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch" +ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-shamu/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-shamu/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-shamu/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-surnia/APKBUILD b/device/testing/linux-motorola-surnia/APKBUILD index f16e7cb85..a9855f10c 100644 --- a/device/testing/linux-motorola-surnia/APKBUILD +++ b/device/testing/linux-motorola-surnia/APKBUILD @@ -28,6 +28,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config gcc7-give-up-on-ilog2-const-optimizations.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -55,4 +56,5 @@ package() { sha512sums="28e70a5af0df65b85c257c4ca455553d38b17dad8d141876854c5a38502114638c8e59440cffcf81c278a6836e39ec0f63ed35dad825c49a8c3f299de7617b80 linux-motorola-surnia-4c864820053bb70e21cf1e9764baefefd4d2f6b1.tar.gz 44b4dbdddbc054f5d8188fde5ae4197c6005aadbf0ebf82fdf50fa529bc5b09fed62744fdb6592a9790e99795c5f7be9763a515ff43bd990117372ac5ff2f8a2 config-motorola-surnia.armhf -77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch" +77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-surnia/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-surnia/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-surnia/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-motorola-titan/APKBUILD b/device/testing/linux-motorola-titan/APKBUILD index 05a2603cf..0014beff8 100644 --- a/device/testing/linux-motorola-titan/APKBUILD +++ b/device/testing/linux-motorola-titan/APKBUILD @@ -39,6 +39,7 @@ source=" 06_fix_mdss_fb_rgba_mode.patch multiple-fixes-gcc-5.patch Wno-error.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL-2.0-only" @@ -118,4 +119,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 02_mdss_fb_refresh_rate.patch 5f0c30fc48fd0c8f9ca4e3d929dd15e982565e91b2e9e6b81df88c78c7fb646d3e99dfd6c9e02873caa1ca1e9cd6a7c03b97640fb80781cc78f5725122b65507 06_fix_mdss_fb_rgba_mode.patch 4c13711fdcdce3ac0c4d30b79da7a331a9f32d46ad0b9572419b82d58db6eed76f728a340848d66a6378702749c56247439abb26fc1df0d3f5cfd1ef5b53acf9 multiple-fixes-gcc-5.patch -d77966385f1aeb17fad6c3989766e874fea9d5818433d0c92c106dfd9aa3065102f018afb38678b0d741192d9efa4ede0ac4278802bf0878e3dec62dec64f50c Wno-error.patch" +d77966385f1aeb17fad6c3989766e874fea9d5818433d0c92c106dfd9aa3065102f018afb38678b0d741192d9efa4ede0ac4278802bf0878e3dec62dec64f50c Wno-error.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-motorola-titan/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-motorola-titan/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-motorola-titan/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-nextbit-robin/APKBUILD b/device/testing/linux-nextbit-robin/APKBUILD index 12bfdf09a..482d4d3fe 100644 --- a/device/testing/linux-nextbit-robin/APKBUILD +++ b/device/testing/linux-nextbit-robin/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h 01_psci_err.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="f2bffe51d021cbe7e5eb3f33486ee3544ca4477e4d21bfb2cffb5743e16dd24a02dbbb93daa45f43ed1825607b730fb39a1b7dace7b24f99a844dca577ba52ad linux-nextbit-robin-8b8773362248bdba3224a1d92e76c5b9004519d6.tar.gz 2b1bfe206071852b5866cd932f290650e57866386dbf80f992d9229d287fa5910724ad9486280e0f8c0885adae77ac5cf9803fdc5d5594b524a87ceddd947d7e config-nextbit-robin.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -8740861d5e125a5f9faa144e6fe6d7e6413250664547f217bf8a02e1bea77f9809582c952cdd3618fcbf150979faab57540ecc3370d6734cc82bbd62afdf15b1 01_psci_err.patch" +8740861d5e125a5f9faa144e6fe6d7e6413250664547f217bf8a02e1bea77f9809582c952cdd3618fcbf150979faab57540ecc3370d6734cc82bbd62afdf15b1 01_psci_err.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-nextbit-robin/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-nextbit-robin/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-nextbit-robin/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-nokia-beatles/APKBUILD b/device/testing/linux-nokia-beatles/APKBUILD index 82275a6c4..f948239e2 100644 --- a/device/testing/linux-nokia-beatles/APKBUILD +++ b/device/testing/linux-nokia-beatles/APKBUILD @@ -33,6 +33,7 @@ source=" 0003-undeclared-SG_MAX_CDB_SIZE.patch 0004-dts-adaptations.patch 0005-mobicore-section-mismatch.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -58,4 +59,5 @@ ed1c144529612e7e5320a00979095431135bd3a65271ca76b8b6ceecb26db11d11899a9104695387 80aa04da9cad38d65f6c58dd7cfc8a537265f516cbb03f7da96eb193d61c8d2ec9d2d429b7ce5e95ea57d88f934930fb89c5eb90e27b756c1cfb839fbda4d64b 0002-begin-end-decl.patch afbd100831551aff08fdd1b0f7307800877fb8483f7f77bc3ee6b3752cdd21e2d9bca8c4804c12dabc9c5e18f5f7a7cee4e8267109515fab2c9328d3da9ee4ce 0003-undeclared-SG_MAX_CDB_SIZE.patch 39b2bc3a9e8989e5ba6d49b44ced92753b5d7894891d4a5d1d79225a82e6eb909bc823fe5fdabec5dd79a26802eecdf4e45c6ccf1eb5990740eed4a2a06a9332 0004-dts-adaptations.patch -e05ff99be3ded020a995016c4c2419ad8808bed4be8713a9df5f6e9ad74800e5ea77cf890d64d67ecf5878ba6a91f1bd8c633a66e1f1a4bf28bcea7dc95862e0 0005-mobicore-section-mismatch.patch" +e05ff99be3ded020a995016c4c2419ad8808bed4be8713a9df5f6e9ad74800e5ea77cf890d64d67ecf5878ba6a91f1bd8c633a66e1f1a4bf28bcea7dc95862e0 0005-mobicore-section-mismatch.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-nokia-beatles/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-nokia-beatles/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-nokia-beatles/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-nokia-frt/APKBUILD b/device/testing/linux-nokia-frt/APKBUILD index 384bb0341..126478835 100644 --- a/device/testing/linux-nokia-frt/APKBUILD +++ b/device/testing/linux-nokia-frt/APKBUILD @@ -21,6 +21,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/pmsourcedump/$_repository/archive/$_commit.tar.gz $_config gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 00_symlinks.patch 01_makefile_path.patch 02_drvgen_mk.patch @@ -55,6 +56,7 @@ package() { sha512sums="676be1813c0886c509591a4940b9fdbd91243aaf84a8efebd7229f681e84211d86cc3466079808eb2fba45c0ada4bc7d43a4b5ab599326702c1d4830fa16d630 linux-nokia-frt-588ea962d4c9c21d20a7109273587e49c7da9235.tar.gz 8022a2eeb992f17119844a09ed431088001ee5c8701efe320419d9eaec5abe7bdd551183ce3b962eb241accaabb52628680c41008c33463732030c114a5813d0 config-nokia-frt.armv7 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 1d1a99de49b29069eb1711ad884e3f0db0956d8eeb81bdb332e6aa13fb7f5cdd48cd75791cebc08b1aa0644cdd643d7632791a272333547a6ffe68a75295e7a8 00_symlinks.patch ef8b9da80ca67424a02acfbf99924e3ea06574c83c6a737031f6ac41b718742ef0bd66b968b14118cac021067e29184e2199f238ace2a43dc2176d9cce796bc5 01_makefile_path.patch aaf7e208f307db3126202f3f3410d4f8a74b450ef719717a064c817258cb428a150a798494f57e43f9e1f747ad83527e565f8d81c3c746d1fb0b4e42e6e30d50 02_drvgen_mk.patch diff --git a/device/testing/linux-nokia-frt/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-nokia-frt/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-nokia-frt/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-nokia-n9/APKBUILD b/device/testing/linux-nokia-n9/APKBUILD index 417d83d0f..c92e0f80e 100644 --- a/device/testing/linux-nokia-n9/APKBUILD +++ b/device/testing/linux-nokia-n9/APKBUILD @@ -32,6 +32,7 @@ source=" 0009-misc-apds990x-convert-to-iio.patch 0010-ARM-dts-N9-Add-support-for-apds990x-ALS-PS.patch 0011-HACK-export-dma-access-functions-needed-by-PVR-drive.patch + linux4.17-gcc10-extern_YYLOC_global_declaration.patch $_config RM-696_Pyrenees_SMD_V1_6.raw " @@ -103,7 +104,7 @@ package() { } sha512sums="ab47849314b177d0eec9dbf261f33972b0d89fb92fb0650130ffa7abc2f36c0fab2d06317dc1683c51a472a9a631573a9b1e7258d6281a2ee189897827f14662 linux-4.16.tar.xz -7642aed8440407d6287b9b2b02ce2bfeb544fce0b9a67ab2a1d7bfabd6a4873fc79b52fbcf6542d358cb625ff0bb26b13a304b3daa858490bbcac3567392e5e9 linux-v4.16-v4.17-rc4.patch +3b58e0d85fefc92ebc293e659b24c185c2c3315025984593b75e069512fd4f671457f4a96e8abccdea5e1b4348d2efe3b4cebedf5f09fc3ab885f12f29983336 linux-v4.16-v4.17-rc4.patch 0939e39c44eabc74fb970294599a720dcd3dc56e2836e4c20ffe9af5f132080c4ce72daca4996723f47cae924d67980f542bc010fcdbc757617ea30eff2c4529 0001-SREv2.patch 67b05fba89abb9c39e06a5a636534ac7b732e09d5cebff09fb214383fd03c3bcb1c3cf9736de3c533474b5d34e7f0ecc284ab9cf4a37f7a94914a005847acdc9 0002-drm-add-rename-MIPI_DCS_SET_PARTIAL_XXX.patch 2901f07d72371cc004dd7520c35279aa1c4d196575663641cc152e841b623337592d0651fcf95550df77325c5a47a7f722b4b86a3b72d7686e5ae8fa7b0240d4 0003-drm-omap-panel-dsi-cm-use-defines-from-mipi_display..patch @@ -115,5 +116,6 @@ ac1173aa911326b467d3d453dba80641c1d32302989acebc2a3bdb14236c56dca6ace4f6e848a2d1 c2130e7b5aa389d1377a027acced3af6caf57bd797d4326cd5f3088af5fbcd5ade5764f27c1d12306ab5905a05583eab8e3ddaac6fafc868aa13b8c004039485 0009-misc-apds990x-convert-to-iio.patch a260f4e218416ec51740ddc01b74f177123211604428a0204fd1098230503d64e6a7ba14073747de24195e9a2dbeabac7e971232bf4fde193d1ac6b15377d6d7 0010-ARM-dts-N9-Add-support-for-apds990x-ALS-PS.patch 8ad7e3b360139fcd5d79b4cbcf5bfca2f394807394aed022177d5b5fc843b7e0785c93f2ee1ff66e9bcac54ca191fbef30d62a5d6b7eec1ae2f7f9dd70a65fa3 0011-HACK-export-dma-access-functions-needed-by-PVR-drive.patch +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch d3277bc075542fb621adabfc6c59d308bb05aefd159e447e4bf0f10bd0d6b84454d02882c3c53f01f132f6182986770209a998c14c3f59bd4e64bb64a5ecc7c4 config-nokia-n9.armhf a9b2eba95ead1226108bf664f49bcad70be99df7284ba807abdbd86a8dc68ebda6fc5d88c15846009f7748f1ae4d6735477d316bb9f298e7728071dad506b35f RM-696_Pyrenees_SMD_V1_6.raw" diff --git a/device/testing/linux-nokia-n9/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-nokia-n9/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-nokia-n9/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-oneplus-bacon/APKBUILD b/device/testing/linux-oneplus-bacon/APKBUILD index df455dceb..a0bced92e 100644 --- a/device/testing/linux-oneplus-bacon/APKBUILD +++ b/device/testing/linux-oneplus-bacon/APKBUILD @@ -34,6 +34,7 @@ source=" 02_gpu-msm-fix-gcc5-compile.patch 0001-fix-video-argb-setting.patch mdss_fb_refresh_rate.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL-2.0-only" @@ -124,4 +125,5 @@ a3cb2ac5a990954f4bb314754f075c3fb42b6583f3e4a79b77f296313b3fdcbcd8d2a1a4be7de5c2 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch a48336bbfead6ad0c84d2fce0c40a3f5530aebdff356a6835cceaf59a50a6f860d2f8027703a92927955fbb18857ba78788e010d017bf67730f069b36e96fe87 0001-fix-video-argb-setting.patch -a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 mdss_fb_refresh_rate.patch" +a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 mdss_fb_refresh_rate.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-oneplus-bacon/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-oneplus-bacon/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-oneplus-bacon/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-oneplus-msm8998/APKBUILD b/device/testing/linux-oneplus-msm8998/APKBUILD index ef7e884e1..4ee2d3064 100644 --- a/device/testing/linux-oneplus-msm8998/APKBUILD +++ b/device/testing/linux-oneplus-msm8998/APKBUILD @@ -33,6 +33,7 @@ source=" 0004-disable-interfering-bt_power-rfkill.patch 0005-update-msm8998-qpnp-rtc-driver-src-with-sm8150.patch 0006-disable-various-spammy-driver-logging.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -58,4 +59,5 @@ a484dc777b37b43eb54f8beb20eef51b7a9177928f97f1b200951c6ece70805e7fa3762f4ad06865 a29c158497e8ef4afddce57e42e54de81629ddf85df4a229282b528ec63475bfa5ed4cc6ff5f77d22300c7124655807355aa7b0cc25d8b02e122b752777f677a 0003-fix-synaptics_s3320-touchscreen-driver-input.patch 1afb3a4e6af51d073a6e9d3352b0b5ab2918018d2ada972e72209eba3fc5b98926e691ff0d641a9d03a4ce8030e6ed15dff54b3720c751ab7134db53bfd2e685 0004-disable-interfering-bt_power-rfkill.patch 44031dfaa8fe9a073924fd3549ebb158d32ec2925f29f0a0ca6b1959fb4597dd32232035253bd896985a7d81235c1fbdd917347d7ff5257103be8ee4bb02e5fe 0005-update-msm8998-qpnp-rtc-driver-src-with-sm8150.patch -083da52f3a2bfa745104690773539426afff3150e81ea25a377d51f7253d83f6eedfb62644907171e142db114435cc6a3e0627b9dc04a99ae6e5796dc8159209 0006-disable-various-spammy-driver-logging.patch" +083da52f3a2bfa745104690773539426afff3150e81ea25a377d51f7253d83f6eedfb62644907171e142db114435cc6a3e0627b9dc04a99ae6e5796dc8159209 0006-disable-various-spammy-driver-logging.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-oneplus-msm8998/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-oneplus-msm8998/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-oneplus-msm8998/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-oneplus-oneplus2/APKBUILD b/device/testing/linux-oneplus-oneplus2/APKBUILD index af6c9fb07..6af9ceb5e 100644 --- a/device/testing/linux-oneplus-oneplus2/APKBUILD +++ b/device/testing/linux-oneplus-oneplus2/APKBUILD @@ -30,6 +30,7 @@ source=" $_config compiler-gcc6.h 00_mt_width_major_params.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="81ef633e95b16a6413cacc7eb287e5194396bc34c198d29b498a4c6f8750836ec1f247b6ba7b2371bc642c48ef2492dc0c18ee358d0bc3291d2a0c1d0ded684e linux-oneplus-oneplus2-0178fae80ec43cefa75f590e18a9039f5b379425.tar.gz f24e3daf68697515e911718961a1addfc3a27c38d0e26d9a8b272ef7fa369798f0a3c8ad26a34cb6985eb24a23b1892eaa9eb748aa03c48ac19e0ae3d2dc3161 config-oneplus-oneplus2.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -d4eff67f99708e091499ce033a0709ba6765d83ed74c7411bd7d8ec72ce822db4e7c3bc8e7f51ccc8610486546ea9d9485a7cb93a761c8307b94283b337da726 00_mt_width_major_params.patch" +d4eff67f99708e091499ce033a0709ba6765d83ed74c7411bd7d8ec72ce822db4e7c3bc8e7f51ccc8610486546ea9d9485a7cb93a761c8307b94283b337da726 00_mt_width_major_params.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-oneplus-oneplus2/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-oneplus-oneplus2/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-oneplus-oneplus2/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-oneplus-onyx/APKBUILD b/device/testing/linux-oneplus-onyx/APKBUILD index 8ed331c97..e8765f61f 100644 --- a/device/testing/linux-oneplus-onyx/APKBUILD +++ b/device/testing/linux-oneplus-onyx/APKBUILD @@ -31,6 +31,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config kernel-use-the-gnu89-standard-explicitly.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -53,4 +54,5 @@ package() { sha512sums="a44507d013ec12aadc134daca7ed255da9ec78d5627db6edbf9a3e178b89c292810a1cbe801bc1d98cc3ae2a5bf04239c9d555fa5fa0db701b399c39c02c1013 linux-oneplus-onyx-3d82ae9121f3863c8aa6f49fe5935d975e564138.tar.gz f25b62a0d0d323e6e0dc71e91ab6506c9bd23068c8d1a81705ba4b17815dff7a599a769fae54f84241447a17c183b8997b3417f924ec7122ed1f76090d67eda8 config-oneplus-onyx.armv7 -ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" +ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-oneplus-onyx/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-oneplus-onyx/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-oneplus-onyx/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-oppo-find-7a/APKBUILD b/device/testing/linux-oppo-find-7a/APKBUILD index 03f1b47c4..646bed29f 100644 --- a/device/testing/linux-oppo-find-7a/APKBUILD +++ b/device/testing/linux-oppo-find-7a/APKBUILD @@ -23,6 +23,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch 0001-fix-video-argb-setting.patch 0002-mdss_fb.patch @@ -89,6 +90,7 @@ sha512sums="e3fa1f9ab51a2b6213b9abaa3bb5e010fd2c41e98f572022fcfff66f17fc3639e1b2 4604900b231262bab6e73160d79e69313c6379278bff700b34be07c843daa6b1e1790f497524ff92549d81cb7ccd2ac42a4a2de0f849460daa25ff37116dbcae config-oppo-find-7a.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch a48336bbfead6ad0c84d2fce0c40a3f5530aebdff356a6835cceaf59a50a6f860d2f8027703a92927955fbb18857ba78788e010d017bf67730f069b36e96fe87 0001-fix-video-argb-setting.patch 5b3aabb59ae7a06c4c13668dde2033be477116626a423c4828e53330afebf8e07fc907a3add193f9dc263a6c9a80771475703e5d4c28a9bddd0597e2a8cd9b89 0002-mdss_fb.patch diff --git a/device/testing/linux-oppo-find-7a/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-oppo-find-7a/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-oppo-find-7a/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-ouya-ouya-mainline/APKBUILD b/device/testing/linux-ouya-ouya-mainline/APKBUILD index 2cbb23ad8..28bc51dc7 100644 --- a/device/testing/linux-ouya-ouya-mainline/APKBUILD +++ b/device/testing/linux-ouya-ouya-mainline/APKBUILD @@ -19,6 +19,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_rev.tar.gz::https://github.com/decatf/$_repository/archive/$_rev.tar.gz $_config + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_rev" @@ -69,4 +70,5 @@ package() { sha512sums="5892de457aea6d4cbbfbcc902d24891dcc03c40638510d031d5007477241cb3616ca5c0a2fcad6882f4e8a341b767b3b6a18b42f496198bf08b326d2a1cd7fdd linux-ouya-ouya-mainline-7c3acfbc49c690a8ec27f2269840a7e141182ab9.tar.gz -09b93d7efb39c69edd5fc9ebaf476dc383335cb2feaf4b84ebba28b7bdc248f7c7d467d76a6c1cfdf4d2cd436b83eec2654952a8b64eafcdd6d47c804c277c0b config-ouya-ouya-mainline.armv7" +09b93d7efb39c69edd5fc9ebaf476dc383335cb2feaf4b84ebba28b7bdc248f7c7d467d76a6c1cfdf4d2cd436b83eec2654952a8b64eafcdd6d47c804c277c0b config-ouya-ouya-mainline.armv7 +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-ouya-ouya-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-ouya-ouya-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-ouya-ouya-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-ouya-ouya/APKBUILD b/device/testing/linux-ouya-ouya/APKBUILD index 5da4c76bc..9a90d8600 100644 --- a/device/testing/linux-ouya-ouya/APKBUILD +++ b/device/testing/linux-ouya-ouya/APKBUILD @@ -26,7 +26,8 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/milaq/$_repository/archive/$_commit.tar.gz $_config compiler-gcc6.h - 00_fix_return_address.patch"" + 00_fix_return_address.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -48,4 +49,5 @@ package() { sha512sums="7e29ed39c61693d85d344b6eb6180920431364124e8a261f28804585e7362ddbb3ad43c9610bed1ce83b1de7957261e450862081f53de98a5873b5a8aad1748e linux-ouya-ouya-49f035e65e689f8c227bac7a6c4ecf89ad9158af.tar.gz a17d3e68b4a7e74ed767cae54df4efd2e1e7910fa95603f2b0b7ab3eee07ca967702f2e32391344267e6667083fa2ee30b9eaa14e0f7dafcadf4635fba5a1d55 config-ouya-ouya.armv7 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h -6b7ecfd0939b920f263492484e8d60ff30c55614a750f5efd813a699729e65916e31b106e18bd6ea9858b37753403a6428f3a8d993c18b2459685aa29c1f2055 00_fix_return_address.patch" +6b7ecfd0939b920f263492484e8d60ff30c55614a750f5efd813a699729e65916e31b106e18bd6ea9858b37753403a6428f3a8d993c18b2459685aa29c1f2055 00_fix_return_address.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-ouya-ouya/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-ouya-ouya/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-ouya-ouya/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-planet-geminipda/APKBUILD b/device/testing/linux-planet-geminipda/APKBUILD index 195906798..9a98bf472 100644 --- a/device/testing/linux-planet-geminipda/APKBUILD +++ b/device/testing/linux-planet-geminipda/APKBUILD @@ -28,6 +28,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/gemian/$_repository/archive/$_commit.tar.gz $_config py3-compat.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -50,4 +51,5 @@ package() { sha512sums="84579ba59ada9166794ec02843616049128c199f9c68b519d3e33056822a22d12921b6589ff058d08e580e877a227a124f999f041e29b6d81a8fde7ce7480b11 linux-planet-geminipda-bf7daa4483d5dce94c9d478fc28854f5978d60da.tar.gz 1436f595cffc46a9dd9a28432ee3c2349062ca8b47035b5f09d24820140beff7dcbc6d26076781a873fce21394395c582d15b3f3c4c7bc9e6c8f51d76ff8ae57 config-planet-geminipda.aarch64 -9c12d5d2064d2f0b2b35e3c068ed2406c0a7dc8ffbc55712fd0a8411b40b08eb73987c1b2a3e710eea0e83f659c0eae99dbf11d306d43a30cebcafd009459ad6 py3-compat.patch" +9c12d5d2064d2f0b2b35e3c068ed2406c0a7dc8ffbc55712fd0a8411b40b08eb73987c1b2a3e710eea0e83f659c0eae99dbf11d306d43a30cebcafd009459ad6 py3-compat.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-planet-geminipda/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-planet-geminipda/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-planet-geminipda/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-gtel3g/APKBUILD b/device/testing/linux-samsung-gtel3g/APKBUILD index 1f922a0b3..31a3f31cb 100644 --- a/device/testing/linux-samsung-gtel3g/APKBUILD +++ b/device/testing/linux-samsung-gtel3g/APKBUILD @@ -21,6 +21,7 @@ source="$pkgname-$_commit.tar.gz::https://github.com/realaravinth/$_repository/a $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch fix_recordmcount.patch 00_fix_return_address.patch fix-dts.patch @@ -54,6 +55,7 @@ sha512sums="46b60368a79483f4cc322934027b413cea602b70ca2fd5683913c2a350f03ed26acb 17d94fb74b82fda5838b54df94431868050409d83c7b4aeecd2e4f4231c77cd875ad8a3d6b9e333f5c6143136b6b298415955aa9064292af173d352d985ec898 config-samsung-gtel3g.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 6aa11a75f422ac5c20cddfce23bff81940e61e65bc86fe1070c60714a6ccf631b2da70bff20e2b88e723706f0f233eb03540a8d9389adffd495592e8ab6bd82a fix_recordmcount.patch ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch cf417e27474788ee89738427e0298a1c6e3c73e24514cec5dfc7528dde1f55afec3d15fec0c9ead13da3cb0c998756a9da6a9fd67035dd7e7062d5d8c13c578c fix-dts.patch diff --git a/device/testing/linux-samsung-gtel3g/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-gtel3g/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-gtel3g/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-gtelwifi/APKBUILD b/device/testing/linux-samsung-gtelwifi/APKBUILD index 4aa37d255..c13cb33d3 100644 --- a/device/testing/linux-samsung-gtelwifi/APKBUILD +++ b/device/testing/linux-samsung-gtelwifi/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch fix-recordmcount.patch fix-dtb_qcom,msm-id.patch @@ -54,6 +55,7 @@ sha512sums="1d951c9e33d79250513665a617867816d81df866e869ba20664c9f4b2f05845e6ff7 5e42374348cc3e3ad7ba3e46c60ec86b3bf68e2aabbd4ce17782386b188662014bfb658c14b19f1eaf52ee416183e5f7c66d9b4017e2da0f393d98c89ce6cf04 config-samsung-gtelwifi.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch 32911549f0c89972d06af838954978ee90fb2eabacc1393c0bffa12deb9d80ddec5322f859df772d90afea733965bd669e85d5e90657d4f69995ae9fc25dd4f3 fix-recordmcount.patch e8137de3cc4d49d5447cad6c299f0f88c2d2e60e012168bc857f4898ebc1da5c88c679927227c8675211af079d5a56b5b1baef4a3dbc86cb4e921c14d3f93357 fix-dtb_qcom,msm-id.patch diff --git a/device/testing/linux-samsung-gtelwifi/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-gtelwifi/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-gtelwifi/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-gts210velte/APKBUILD b/device/testing/linux-samsung-gts210velte/APKBUILD index 0ed98e658..39beaa26f 100644 --- a/device/testing/linux-samsung-gts210velte/APKBUILD +++ b/device/testing/linux-samsung-gts210velte/APKBUILD @@ -31,6 +31,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config 01_fix_msm_dba.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -61,4 +62,5 @@ package() { sha512sums="4fd6cbb31e389bdc50defb586d4a2d86d8bb51556b45b8f974c5ecb11de4900d36d0af65090f61664e32a48a7cef3f89f57157b460f4d6d5d05fa71e1400a099 linux-samsung-gts210velte-f6ab8eed124e3adc1c90d9f3106abd21c0bd0397.tar.gz 0dc4d943e8effe6778d2c6f0353990757435f1fce59083b7bfaa834328fa91d7df3c2543758cbb20e7c115c9f28b7d9eb7e936024331af995f9da88223e45c6e config-samsung-gts210velte.aarch64 -7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch" +7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-gts210velte/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-gts210velte/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-gts210velte/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-gts210vewifi/APKBUILD b/device/testing/linux-samsung-gts210vewifi/APKBUILD index d39213026..c519c8c80 100644 --- a/device/testing/linux-samsung-gts210vewifi/APKBUILD +++ b/device/testing/linux-samsung-gts210vewifi/APKBUILD @@ -31,6 +31,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config 01_fix_msm_dba.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -61,4 +62,5 @@ package() { sha512sums="37e55b3e64308a29deb8932d8d2452ff76601558bdcb9ff58f3a016f5ec63c2941e5fe7cdcced50d5039d3cdadaa5d43004c4e27cb8b105f8fda7596d676fb9e linux-samsung-gts210vewifi-82d475a1952b9bbb6652b35e87671b5031bcf934.tar.gz 31d6b7356ac1c1053dce3319371b18298a4a6e815abcd910a7e0ff0a4dc03bcff15da14f8e8d485c80da29169788754f019f2b158355c3768bae7c2b17f3047b config-samsung-gts210vewifi.aarch64 -7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch" +7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 01_fix_msm_dba.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-gts210vewifi/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-gts210vewifi/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-gts210vewifi/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-hero2lte/APKBUILD b/device/testing/linux-samsung-hero2lte/APKBUILD index 41c318e20..31e873d87 100644 --- a/device/testing/linux-samsung-hero2lte/APKBUILD +++ b/device/testing/linux-samsung-hero2lte/APKBUILD @@ -21,6 +21,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/ivanmeler/$_repository/archive/$_commit.tar.gz $_config 01-remove-android-defines.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -52,4 +53,5 @@ package() { sha512sums="28a447fca84c3c1bc95b505362a989964e652ff0c11a8f99e151225c4a29971c7698c846c7826552fcdc4acff799b3150e577892df88697776ce13cd0e76ac5f linux-samsung-hero2lte-4f50ed696fc6ec36d277ba1af73e98d34e7bc0d6.tar.gz 220b15da3dbf4594490b1d43b962db5bc605de22e7ec8302211614d8c1be69110f9c0589758c215c1655674ef7a5e303af54eb86822e9b4b870a79b162e81fb6 config-samsung-hero2lte.aarch64 -66e27a174e12d56f5b77932985f0001b551c834d68b2a1bcc1d0b7d04e555757fc9137c182bd4cf5ffd57bf2cb0918d758dfe153a6140b77f02e7b9f33ecfb2c 01-remove-android-defines.patch" +66e27a174e12d56f5b77932985f0001b551c834d68b2a1bcc1d0b7d04e555757fc9137c182bd4cf5ffd57bf2cb0918d758dfe153a6140b77f02e7b9f33ecfb2c 01-remove-android-defines.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-hero2lte/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-hero2lte/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-hero2lte/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-i927/APKBUILD b/device/testing/linux-samsung-i927/APKBUILD index 9f09fb51a..6f7e0a4a3 100644 --- a/device/testing/linux-samsung-i927/APKBUILD +++ b/device/testing/linux-samsung-i927/APKBUILD @@ -78,6 +78,7 @@ source=" 0057-ASoC-tegra_wm8994-New-driver-based-on-WM8903.patch 0058-ARM-dts-tegra20-glide-Bindings-for-new-audio-driver.patch 0059-drm-panel-s6e63m0-Workaround-screen-corruption-on-bo.patch + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$pkgver" @@ -167,4 +168,5 @@ e6afa8f6874020c35d17604a358ef3005b37062154967d99d0b01a45fb60cb1831878331388b1760 19eabc6df1544b96ec2fcd263bc02c1d86cde7377ec44bd825f1d542858b01fd7569d9809bdfe1c3ff141d098f5daa9181f5469539a626a9316792531cf8f465 0056-ARM-dts-tegra20-glide-Lower-GPIO-I2C-frequency.patch 5e51d492a47b8c5e9f7c61afba59b90c341a8d3c4783526b23a26d4486e6ebae180030cbfeecf6a78c724efc2fea87ef7b48cc81e28ebc0b7f7e772bde9faa93 0057-ASoC-tegra_wm8994-New-driver-based-on-WM8903.patch 15cf6ea4a27297ca24bb1c7a01abbde983b9783ce24339b59561c9aef09f3d86c36e183babeb603a20f9ca24cbf3b8274ee9d9d9467aa77450c30eeb4b3262aa 0058-ARM-dts-tegra20-glide-Bindings-for-new-audio-driver.patch -feb09eeed8df63c732d8bd0d394d3be3524f88c77d7a5168d3ba712fe703f9063f63d2f210b600e1efd5a0139d6d4eed898a5b0b07803b1a2c11bc04c96b238d 0059-drm-panel-s6e63m0-Workaround-screen-corruption-on-bo.patch" +feb09eeed8df63c732d8bd0d394d3be3524f88c77d7a5168d3ba712fe703f9063f63d2f210b600e1efd5a0139d6d4eed898a5b0b07803b1a2c11bc04c96b238d 0059-drm-panel-s6e63m0-Workaround-screen-corruption-on-bo.patch +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-i927/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-i927/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-samsung-i927/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-j1mini3g/APKBUILD b/device/testing/linux-samsung-j1mini3g/APKBUILD index a455ee97d..3dda67224 100644 --- a/device/testing/linux-samsung-j1mini3g/APKBUILD +++ b/device/testing/linux-samsung-j1mini3g/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch sprdfb-fix-swapped-colors.patch sprdfb-check-for-buffering.patch " @@ -53,5 +54,6 @@ sha512sums="f1686df6ee6e1f24c6460295c830b67b2146ab5b34ead2291fa92c3f83ba12884db8 298e71e2ae105277dcf82304779ca99bf0d2cc77d21e1e6950f2523bdf4d3d3d38d62154f77a3aafcd81434a0554e94af92c2809bf2641b9979635e33146cc47 config-samsung-j1mini3g.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 6836001b24508d413a059f19b0c6f6f547037f68886c22159ad51be91d1a089e3d1d9ed79c3c62724648df7f810cd81d96a83f4a34368b373524b649e5539656 sprdfb-fix-swapped-colors.patch e33ed12de874c1c8bc9231aea3b0389b18ee0ff804e39c0f47d9cbf657ea19015370d6114846c2d142fbdb88f472f0e65811c53b9b335feb8ae2f30dffdf4846 sprdfb-check-for-buffering.patch" diff --git a/device/testing/linux-samsung-j1mini3g/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-j1mini3g/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-j1mini3g/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-j3nxlte/APKBUILD b/device/testing/linux-samsung-j3nxlte/APKBUILD index c90b1f7d2..256a94821 100644 --- a/device/testing/linux-samsung-j3nxlte/APKBUILD +++ b/device/testing/linux-samsung-j3nxlte/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch fix_recordmcount.patch qcom,msm-id_fix.patch fix_touchscreen.patch @@ -54,6 +55,7 @@ sha512sums="733f04dee55effcbbd8c28b9b2b84b05ca9e95d538bd10177edc40f36ee640cd260f fd2938deffd68ec451139193c8cb9383bdd8455358e6ee8fc5d8174e4857d6c55887e41b3201b0884c29c653877351290ee6ddf096dee21566e1bcc7e9bae7ac config-samsung-j3nxlte.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 6aa11a75f422ac5c20cddfce23bff81940e61e65bc86fe1070c60714a6ccf631b2da70bff20e2b88e723706f0f233eb03540a8d9389adffd495592e8ab6bd82a fix_recordmcount.patch dd6e3113ad7d87da76e92d5a656a683e735e1b18e6217c1beb4238ad60f48b1bc429c9e62dc9752b7242201610e95990dafc13f499aa09c74a26079022ae17ec qcom,msm-id_fix.patch 54eb205043b9e1b12f4f88d8163611e6769a702490045f5704483c92b17c9297250fde7d257b6d0e82d0cdbaed88d52d85137aeafcd4c4b138cecfffc921857e fix_touchscreen.patch" diff --git a/device/testing/linux-samsung-j3nxlte/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-j3nxlte/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-j3nxlte/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-klte/APKBUILD b/device/testing/linux-samsung-klte/APKBUILD index 2ce39e441..d6cc61c27 100644 --- a/device/testing/linux-samsung-klte/APKBUILD +++ b/device/testing/linux-samsung-klte/APKBUILD @@ -42,6 +42,7 @@ source=" 0011-Backport-shm-add-memfd_create-syscall.patch 0012-Backport-asm-generic-add-memfd_create-system-call-to-unistd.h.patch 0013-Backport-ARM-wire-up-memfd_create-syscall.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -87,4 +88,5 @@ a2bd1b925ba0e1ba0a68dcb134604abbaddf456426a468662d77bc02f0d09d4d07c0c89001c0973e 54d71b32b456a3d0abd090c820214240688484f4cadbbde0304bf3cb5246b1aa3893dd85736dc5db2f3d6f9de1f5e84a1adcf5a661a62586452f1002360dc691 0010-Backport-shm-add-sealing-API.patch c62d67a5fb28082e86a585b4c64891525db640ce694445f0fb19e67fb8dcd9ccbfbcb6fba8692964fac8b026c39cfa558cf316a7e22828ac13f58f5b9938ef09 0011-Backport-shm-add-memfd_create-syscall.patch cbf6e4bdf53b02f897923d0f6eea5320acc6760c3f3ed762e69928ced7e3b6f2a5355df4a2fccf560f010a4a1968e7ae1a3f62c2db299857d6bcc9715d932822 0012-Backport-asm-generic-add-memfd_create-system-call-to-unistd.h.patch -2f256f6ec9fa7b240dd1f9417622bfd5a8ca4a9ea12cd2ef171540e1425d4171122c0597fe12af913ef60979ef9a3dce8a6c1c523c91020cb9481560901cc92b 0013-Backport-ARM-wire-up-memfd_create-syscall.patch" +2f256f6ec9fa7b240dd1f9417622bfd5a8ca4a9ea12cd2ef171540e1425d4171122c0597fe12af913ef60979ef9a3dce8a6c1c523c91020cb9481560901cc92b 0013-Backport-ARM-wire-up-memfd_create-syscall.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-klte/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-klte/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-klte/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-kylevess/APKBUILD b/device/testing/linux-samsung-kylevess/APKBUILD index eca55c266..35f9ea3d9 100644 --- a/device/testing/linux-samsung-kylevess/APKBUILD +++ b/device/testing/linux-samsung-kylevess/APKBUILD @@ -32,6 +32,7 @@ source=" 01_patch_lifebook_detect.patch 02_patch_fsp_detect.patch 03_fix_to_state.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -56,4 +57,5 @@ d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104c c40eaa11547f5bc2b1ff965506bdfe3015ff16e4b5ad9ccb3b8134ceafd1d32407c4ef2b213e02e036ce1e9bdcbfe768dff7d4b054bec77705a176c1f783b6f5 00_return_address.patch 36418ec3d31d1d6d9915afcf3d38d4549aeeb49c3825414b51b67db7a1ab6482f22d2723da3b258b671956809949278a51f6507df9b0052aec0bd0c59f56919a 01_patch_lifebook_detect.patch 9da951bb0391564f33bdb0a97c339997eda7b15ec2f160da8af237cc87c233b8c3dcdc1a12759e04d69d075ae9b0afaf726101ef356e788d7f4606a03db2e248 02_patch_fsp_detect.patch -7bc5894a412d45e45e308915dbe3a964419f443f149ef390d2f09151dd15ca86767c7fdd4e927cfb602d6d455755d4941d68a9f139a1cd3f89f0d90088dafde4 03_fix_to_state.patch" +7bc5894a412d45e45e308915dbe3a964419f443f149ef390d2f09151dd15ca86767c7fdd4e927cfb602d6d455755d4941d68a9f139a1cd3f89f0d90088dafde4 03_fix_to_state.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-kylevess/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-kylevess/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-kylevess/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-matissewifi/APKBUILD b/device/testing/linux-samsung-matissewifi/APKBUILD index b1371a901..58a7336aa 100644 --- a/device/testing/linux-samsung-matissewifi/APKBUILD +++ b/device/testing/linux-samsung-matissewifi/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch 00_smd_private.patch 01_timeconst.patch @@ -58,6 +59,7 @@ sha512sums="fe9bfcd7b16519b60d555492db9ca1f9afe5574da93931221b8aae3b06ac768ead45 dd0c902461d33dc6fb4e58aeaac2ea53b612af9afa639de67cb0eafe38c0a2ea3b35357c5021717c0e7bf7cb0c7e33272b17f5fcb320246f0e11916f895fca93 config-samsung-matissewifi.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch 39892cc41e484c51dccc29cadea475aaf99772bafb19231086b614b9eaee520843cd9361c89a6780229961e0ebf4bbf0e115d0e30f8302944b78091fcf7900e7 00_smd_private.patch a2bb98fb8d988bbb659cae00fbaca360828300e9b98b90aed5ee0dd839c3f740696df4094a9021b813cbada06820d115aabed581a47cdd2c947e8d853c20b145 01_timeconst.patch diff --git a/device/testing/linux-samsung-matissewifi/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-matissewifi/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-matissewifi/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-nevisp/APKBUILD b/device/testing/linux-samsung-nevisp/APKBUILD index b091d4fe8..1309179b3 100644 --- a/device/testing/linux-samsung-nevisp/APKBUILD +++ b/device/testing/linux-samsung-nevisp/APKBUILD @@ -31,6 +31,7 @@ source=" android_paranoid_network.patch gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -67,4 +68,5 @@ sha512sums="1c62313451ff2a04ab9259a4b2c954388a360f45f20af90d05e9cfe73d31f49fc484 ef33f5750688ff64b11958c815adae071b326adb18d072eb639fc07585dda428c81c5a697d652b4748fa3a86280dbfea5494253708058802bbf31bacf7cc0d55 config-samsung-nevisp.armv7 d8cdc1137e6a4ad78a3a31acc40f0c98f4db272eaf5b90ee850abb83b80916c4ff3c18a0a181e94eebead44213f6314e3363d0c4b91d95ee1adafbcad6dc57ab android_paranoid_network.patch 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch -197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch" +197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-nevisp/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-nevisp/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-nevisp/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-p4wifi/APKBUILD b/device/testing/linux-samsung-p4wifi/APKBUILD index bcc047db1..a5d7410bb 100644 --- a/device/testing/linux-samsung-p4wifi/APKBUILD +++ b/device/testing/linux-samsung-p4wifi/APKBUILD @@ -19,6 +19,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_rev.tar.gz::https://github.com/decatf/$_repository/archive/$_rev.tar.gz $_config + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_rev" @@ -68,4 +69,5 @@ package() { } sha512sums="2fdcb7ecefc09dfe763f58bae085740b0279ec255e082f663b49e5d324f5af83a5691d681204a0ff07d3e89d0666728007ce620aa921f79c43f5b3481756320b linux-samsung-p4wifi-8de8fd48d3a4765b7cef982e550cc06b806d5977.tar.gz -e648f295e554ecd360b8e4f60093482c807cedd3dcb5c6d05dd7efbc1fe3bc1de92d32bb913d7db1d66bd5efcf239a7dd465e302106bc9fd585c01faf7d7c124 config-samsung-p4wifi.armv7" +e648f295e554ecd360b8e4f60093482c807cedd3dcb5c6d05dd7efbc1fe3bc1de92d32bb913d7db1d66bd5efcf239a7dd465e302106bc9fd585c01faf7d7c124 config-samsung-p4wifi.armv7 +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-samsung-p4wifi/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-p4wifi/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-samsung-p4wifi/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-s3ve3g/APKBUILD b/device/testing/linux-samsung-s3ve3g/APKBUILD index 718c7ab13..f31eb7af4 100644 --- a/device/testing/linux-samsung-s3ve3g/APKBUILD +++ b/device/testing/linux-samsung-s3ve3g/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch 0001-remove-Unified-Sysfs-for-GPU-kernel-option.patch 0002-always-reserve-framebuffer-memory.patch @@ -55,6 +56,7 @@ sha512sums="c2984fc0707e00a718c486f31491921c5112ec0c13d4d9d5032f77765859fa4f1989 79c7aa697eb3e2856baed7db6c55b811f14120ac19392653856a88c125573a80bfbc093b865b3c6a81a5c6c30bbc58291476f45c42b4ca21b94b9ce304b497f9 config-samsung-s3ve3g.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch 472f2aacb61f66a253113bce3846cb132ce73cf98df4b08245184ac96857f8d3657e80c5ecdabfc04f61ea0971a0e4d2c64dc5886f6c949b560e018e855a5a95 0001-remove-Unified-Sysfs-for-GPU-kernel-option.patch 99710981a40c5ce465fc6de9c438349224c52a4175a0bcbec95bd4d860a44abfa0d59151e94b85a40f049aadff66cb02b74ea84c51424ec5b19b76b17edb5b20 0002-always-reserve-framebuffer-memory.patch diff --git a/device/testing/linux-samsung-s3ve3g/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-s3ve3g/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-s3ve3g/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-samsung-zanin/APKBUILD b/device/testing/linux-samsung-zanin/APKBUILD index 2538b1aa5..92024076d 100644 --- a/device/testing/linux-samsung-zanin/APKBUILD +++ b/device/testing/linux-samsung-zanin/APKBUILD @@ -23,6 +23,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 00_fix_return_address.patch 03_fix_paranoid_network_disabled.patch 04_fix_undefined_reference_to_to_state.patch @@ -49,6 +50,7 @@ sha512sums="1c62313451ff2a04ab9259a4b2c954388a360f45f20af90d05e9cfe73d31f49fc484 42c15c88a7bc49858b8f7a54cc97f839a0fd77d0f18504c01e750a5284eb833c77edd3db394aef7b05652265362856a36b83545abf58b76ca498ace1156f96e0 config-samsung-zanin.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41f0a5c7d03e27921ccaa214fd0ac5c72245a094ce60128864 00_fix_return_address.patch df62e03666313bb03d9a455eac875f170a55d378b6e56b847c1c6ff1ce5cfafcfdf1d7605754ca3c684840ea00357f9ec4c6621f6ff77377132a484b9258f6f7 03_fix_paranoid_network_disabled.patch bbe9bfd32c887f2af09c96e0d5bad15276b12edb7012d4bd4bb7c374c84a94bf5820310c6dda0238fa6f95cda6d2e1244a4583435fae2b8d19082d9d48629360 04_fix_undefined_reference_to_to_state.patch diff --git a/device/testing/linux-samsung-zanin/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-samsung-zanin/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-samsung-zanin/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-amami/APKBUILD b/device/testing/linux-sony-amami/APKBUILD index 6c5b53a4d..379cb9559 100644 --- a/device/testing/linux-sony-amami/APKBUILD +++ b/device/testing/linux-sony-amami/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch downstream-backport-getrandom.patch " @@ -46,4 +47,5 @@ sha512sums="fae2299d9d36956be71f40ae724ac0a5069b53d440c114184f82495550c76743e927 0896618a3bb536dc5f8d9932fe704e8f279000207054039bf8df25e89fb9b2d7d70175cbc4af2ee42982ff7af39fd98c41ec5d79d517a36d9ac3fad5344ce615 config-sony-amami.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch b921570e799682d3ac6bff5dae2c7a69da24cd6988e57605fea0bd039e8b677e8335e11846c51798a5fb15011eaf0495fe6a410833a244319140798d7b70fea1 downstream-backport-getrandom.patch" diff --git a/device/testing/linux-sony-amami/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-amami/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-amami/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-aries/APKBUILD b/device/testing/linux-sony-aries/APKBUILD index 2599f0b19..651fef499 100644 --- a/device/testing/linux-sony-aries/APKBUILD +++ b/device/testing/linux-sony-aries/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -44,4 +45,5 @@ package() { sha512sums="fae2299d9d36956be71f40ae724ac0a5069b53d440c114184f82495550c76743e9275e37ad00f6d4a012d32e91a580f424cdb1a1222647c5f2fd678a405a225f linux-sony-aries-2134cafba220b32c43701368413ee333b41b7fe0.tar.gz 0c453c3f74941854e98d3a4465e667e6996192b2c0e8ef69a3de5815cd26317642099bf7e85b91f200c5ba5edd70c43fb7a5982f0268fb8d31788a537914c8ef config-sony-aries.armhf 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch -197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch" +197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-aries/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-aries/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-aries/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-hollyss/APKBUILD b/device/testing/linux-sony-hollyss/APKBUILD index baf5b794d..f0668ceec 100644 --- a/device/testing/linux-sony-hollyss/APKBUILD +++ b/device/testing/linux-sony-hollyss/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch mt_cpufreq_64.c.patch setup.c.patch " @@ -47,5 +48,6 @@ sha512sums="db24fa217ec5877c688e376b3bc9b8c76c59dc3bd89bdbba5a1c133c2645d0cb945c 6623b8f1a997644e069fca0dba62af7b06e1b1e5c586693d0f5b11467b151e724f0ff19fa66b7034b14c8c0f94b35e18ecfd6c189bf427d536d2af63ff9e6fb7 config-sony-hollyss.aarch64 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch e0ededeef62e49a36bfc27b18cb65b1d417e771e8500463dd394f5c7558571aacabac251873a8476ee1f91d7c8bf84ee6b6444f4f198e2fe7ddb310138f15e7c mt_cpufreq_64.c.patch d290271d2133e071f2d8a2ac8c54a2e0be0b556b2faf87954ff69f15db31a9dc16a312c45d1955f7dfd227443f418242f41c3a6c88ccac43d4d43cfbcd210143 setup.c.patch" diff --git a/device/testing/linux-sony-hollyss/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-hollyss/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-hollyss/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-honami/APKBUILD b/device/testing/linux-sony-honami/APKBUILD index bc8feb950..ab67923e5 100644 --- a/device/testing/linux-sony-honami/APKBUILD +++ b/device/testing/linux-sony-honami/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -43,4 +44,5 @@ package() { sha512sums="b76641c07489712d393f1d318b0d4138e5c7126d4b78cfc23bcde07911cba185d3872e886f69197bd3912e8b4c646b74fb6992dee0ce3829d2995531ac4f257e linux-sony-honami-d78970c1afd9fad52cb4402c7bcb9701e8a06d41.tar.gz 05e1a9509009f43cc76b957de7b8d072508c0b48c06ca5912f61aac3dfbabd9625dc7490a0af6f54fdf043dcb60faa1a262d6c3d2f1974783ea0067f020b5cd8 config-sony-honami.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch -197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch" +197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-honami/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-honami/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-honami/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-leo/APKBUILD b/device/testing/linux-sony-leo/APKBUILD index 028be9b13..e24117222 100644 --- a/device/testing/linux-sony-leo/APKBUILD +++ b/device/testing/linux-sony-leo/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 00_fix-video-argb-setting.patch " builddir="$srcdir/$_repository-$_commit" @@ -45,4 +46,5 @@ sha512sums="baf5e90b83abd8d9630563144faae13c72df50b9d1867325061f78738e0c6a8b5cbd 77f48ff6fb1eaf468bfcd72ba37e656d59943dd487eb51279c62e1a31263162610661e699ec5b5a30a4f5c055fffbd42b67566e134d6423f76ebf50fc92a5629 config-sony-leo.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch a48336bbfead6ad0c84d2fce0c40a3f5530aebdff356a6835cceaf59a50a6f860d2f8027703a92927955fbb18857ba78788e010d017bf67730f069b36e96fe87 00_fix-video-argb-setting.patch" diff --git a/device/testing/linux-sony-leo/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-leo/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-leo/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-nicki-mainline/APKBUILD b/device/testing/linux-sony-nicki-mainline/APKBUILD index 9b8cd9ee6..97baabab3 100644 --- a/device/testing/linux-sony-nicki-mainline/APKBUILD +++ b/device/testing/linux-sony-nicki-mainline/APKBUILD @@ -27,6 +27,7 @@ _commit="ad6ab7f8c57896cb3829e6a80408e0912d6096c2" source=" $pkgname-$_commit.tar.gz::https://github.com/konradybcio/$_repository/archive/$_commit.tar.gz config-$_flavor.armv7 + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -106,4 +107,5 @@ package() { } sha512sums="31e9ef9b3e956df38824865c291530fa5dda067bfea8b0169a3871d7876cfe192a42ae631e51a8a02f7c64319269c8af2688d8ae180805173bf2c1c84c390a59 linux-sony-nicki-mainline-ad6ab7f8c57896cb3829e6a80408e0912d6096c2.tar.gz -8d13767d289c02ebe60fa0a1699599544450c181d256f8bca5d5e4a71b4aa88f93ae47f801f7c4df9c922b51cc1d3a43814c973bee22cce810e77c3b6bf5f600 config-sony-nicki-mainline.armv7" +8d13767d289c02ebe60fa0a1699599544450c181d256f8bca5d5e4a71b4aa88f93ae47f801f7c4df9c922b51cc1d3a43814c973bee22cce810e77c3b6bf5f600 config-sony-nicki-mainline.armv7 +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-nicki-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-nicki-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-sony-nicki-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-scorpion/APKBUILD b/device/testing/linux-sony-scorpion/APKBUILD index 003ab98f2..a08e2c809 100644 --- a/device/testing/linux-sony-scorpion/APKBUILD +++ b/device/testing/linux-sony-scorpion/APKBUILD @@ -32,6 +32,7 @@ source=" 00_Input-sentelic-use-static-inline-instead-of-inline.patch 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch 02_reduce_lzo_compression.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -55,4 +56,5 @@ sha512sums="a3e1bd39f25da9b695fceb0282c036721352c52b7e495f37dc578d6076462c8495cb d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 2d77d90b501aa8afbf81629e73fc0a2055b373942975f58277e43f398d0835b3dbbff4a1118137ec82873ba90a254fea87c1d73ba7708578f1779bd0b4c6ff2d 00_Input-sentelic-use-static-inline-instead-of-inline.patch 5c49f6ff6773a7dc3067d2b1359648fe7a9f758b6c068d6fa69d9aaf24a291ba8022c960317d926aabc11d020a71b20c4e81a6fcf9b21ef66d9b6d065bae23e9 00_Input-lifebook-use-static-inline-instead-of-inline-i.patch -ef5b912c26fea4ab882592bdf7487942c64b123de8d25d08d976f29743f311742ee2f773bf2d110ddb5095f254dbb0bd4487c5cfce77311929082599199e7ebd 02_reduce_lzo_compression.patch" +ef5b912c26fea4ab882592bdf7487942c64b123de8d25d08d976f29743f311742ee2f773bf2d110ddb5095f254dbb0bd4487c5cfce77311929082599199e7ebd 02_reduce_lzo_compression.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-scorpion/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-scorpion/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-scorpion/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-seagull/APKBUILD b/device/testing/linux-sony-seagull/APKBUILD index 301b085ff..b6c77f64e 100644 --- a/device/testing/linux-sony-seagull/APKBUILD +++ b/device/testing/linux-sony-seagull/APKBUILD @@ -37,6 +37,7 @@ source=" 03_fix_various_include_directives.patch 04_timeconst_fix.patch 05_psmouse_base.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit/" @@ -70,4 +71,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch f3a3b9a2e4f390b7b6bb5e986172db4258c6ce3babf76df7eb19aa7197ef9d16cf5e3bda5996b2d6d5be86a25ee984f1ea601a838c1b61724cbb6659da127e03 03_fix_various_include_directives.patch a2bb98fb8d988bbb659cae00fbaca360828300e9b98b90aed5ee0dd839c3f740696df4094a9021b813cbada06820d115aabed581a47cdd2c947e8d853c20b145 04_timeconst_fix.patch -f7e31cfe422696922aec52002e56c58103183966edee3bb8e1995d33f8d37b07c32280a8ecc213874e358a6ff367418556a4542fba7e3c17e4b8e82e05c3a543 05_psmouse_base.patch" +f7e31cfe422696922aec52002e56c58103183966edee3bb8e1995d33f8d37b07c32280a8ecc213874e358a6ff367418556a4542fba7e3c17e4b8e82e05c3a543 05_psmouse_base.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-seagull/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-seagull/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-seagull/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-sumire/APKBUILD b/device/testing/linux-sony-sumire/APKBUILD index f8add824a..e3bcd361a 100644 --- a/device/testing/linux-sony-sumire/APKBUILD +++ b/device/testing/linux-sony-sumire/APKBUILD @@ -26,6 +26,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -45,4 +46,5 @@ package() { } sha512sums="789e9abdc5fd7e93ef3a80e332d045302f699adcef1e69c56a9798ac4cea01c9853170bfaf03ac7603f1f2d970cb723ced430a85b03dc602eab14a8a9876cb75 linux-sony-sumire-0c7176b039b6deeecdd31ceea97b39910393a563.tar.gz -8ff85e0f14adc596d875ae957e57b96280d27bba6453546de251ecd693fc849bf680add12e3c7c7c07cc383af1087f9f56372aaa804422bfb7251f361790c1a3 config-sony-sumire.aarch64" +8ff85e0f14adc596d875ae957e57b96280d27bba6453546de251ecd693fc849bf680add12e3c7c7c07cc383af1087f9f56372aaa804422bfb7251f361790c1a3 config-sony-sumire.aarch64 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-sumire/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-sumire/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-sumire/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-suzu/APKBUILD b/device/testing/linux-sony-suzu/APKBUILD index e7cfe3491..41fe6e94e 100644 --- a/device/testing/linux-sony-suzu/APKBUILD +++ b/device/testing/linux-sony-suzu/APKBUILD @@ -27,6 +27,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/sonyxperiadev/$_repository/archive/$_commit.tar.gz $_config + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -46,4 +47,5 @@ package() { } sha512sums="c21d609d76ed65bd87e05e0b2874b861fce2af342286f65cf189dd651e54bce34147222880c812ccc7d70ae92d170c2b994c4a94b59fe0f69066240bb67326a2 linux-sony-suzu-6593c13acef86ad284ca49aa890e593855210dd1.tar.gz -feb287658042a71e4d584b1833bd159fd082889feef2f1a6bb9af298528501e0ab60421e56a0675b3be4b159de2276f5a71f28a7910052918905d99e20e63ce8 config-sony-suzu.aarch64" +feb287658042a71e4d584b1833bd159fd082889feef2f1a6bb9af298528501e0ab60421e56a0675b3be4b159de2276f5a71f28a7910052918905d99e20e63ce8 config-sony-suzu.aarch64 +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-suzu/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-suzu/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-sony-suzu/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-sony-tulip/APKBUILD b/device/testing/linux-sony-tulip/APKBUILD index fdb58974b..174943271 100644 --- a/device/testing/linux-sony-tulip/APKBUILD +++ b/device/testing/linux-sony-tulip/APKBUILD @@ -28,6 +28,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/bartcubbins/$_repository/archive/$_commit.tar.gz $_config + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -47,4 +48,5 @@ package() { } sha512sums="7372b4fdfca2fef3c8ae48c9353a6d7ea658fc8412e2b288ee1097d902f5d9b81a0b76f3fc0e1bc74a015ec34e84c4942608f0e522d628b3deb288f4b177428c linux-sony-tulip-d8e51bc7dd6bde228f1d9a7ddcf664845c4f07fb.tar.gz -7ed4290977b393fa5111eaff6c5513a0eb0dd7cf4447d70e26a38e670e45331ccd2fd1b4e56b0598019121ca08116e057304aa36c932a454616e8b0956c095c8 config-sony-tulip.aarch64" +7ed4290977b393fa5111eaff6c5513a0eb0dd7cf4447d70e26a38e670e45331ccd2fd1b4e56b0598019121ca08116e057304aa36c932a454616e8b0956c095c8 config-sony-tulip.aarch64 +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-sony-tulip/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-sony-tulip/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-sony-tulip/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-t2m-flame/APKBUILD b/device/testing/linux-t2m-flame/APKBUILD index e14928b73..7bd32217d 100644 --- a/device/testing/linux-t2m-flame/APKBUILD +++ b/device/testing/linux-t2m-flame/APKBUILD @@ -36,6 +36,7 @@ source=" 04_fix-fb-imgtype.patch 05_fix-mdp3-ctrl-off.patch 06_fix-clock.patch + gcc10-extern_YYLOC_global_declaration.patch " license="GPL2" @@ -128,4 +129,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 ee53d221cad0970316f16ff52927b9a133a2297b61a61976bd75c07b735b4c87d0a7e6b37d9a849460ec57f6da097801c9ae110b95f33756ca23a148ef86a1d2 03_add-missing-dtbs.patch 8b7615530d6c423ffb1bd3e99a28c045f5586fac9e586dea11d68e5d41dea1b161e2bba915547db94fb1f1fecc2e98c23b3aa7b2736255616440371c827fcab2 04_fix-fb-imgtype.patch f239137a5664515016190effa9f6385b18b599bad48892cb7337723438c0d3d6dc10a719c0733ccb27a93198ceef9daf332146be2e906c591caab92f53869ae4 05_fix-mdp3-ctrl-off.patch -4b0dc5d425c9a6191a8cd3896ffd9adacdb5706a3b31e38f434ec131880fdb75e1717abb54f042c032c512575a1cec2eb63fff9ec87198d2e5f47260f04c721c 06_fix-clock.patch" +4b0dc5d425c9a6191a8cd3896ffd9adacdb5706a3b31e38f434ec131880fdb75e1717abb54f042c032c512575a1cec2eb63fff9ec87198d2e5f47260f04c721c 06_fix-clock.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-t2m-flame/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-t2m-flame/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-t2m-flame/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-teclast-x80pro/APKBUILD b/device/testing/linux-teclast-x80pro/APKBUILD index 2f88da114..d8157c3a7 100644 --- a/device/testing/linux-teclast-x80pro/APKBUILD +++ b/device/testing/linux-teclast-x80pro/APKBUILD @@ -22,6 +22,8 @@ options="!strip !check !tracedeps pmb:cross-native" source=" https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/linux-$_kernver.tar.xz config-$_flavor.x86_64 + net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch + x86-boot-compressed-Don-t-declare-__force_order-in-k.patch " if [ "${pkgver%.0}" = "$pkgver" ]; then @@ -175,4 +177,6 @@ dev() { sha512sums="77e43a02d766c3d73b7e25c4aafb2e931d6b16e870510c22cef0cdb05c3acb7952b8908ebad12b10ef982c6efbe286364b1544586e715cf38390e483927904d8 linux-4.14.tar.xz 393ea8e7ad25063c1a610d3245e50ae32e9780788259bc56876cb1960ee0bd73f0e3ac4be5eb91ca109571c6a1a3ce6bb93a2fa5b0aaa50f3256cbeb01b3cac6 config-teclast-x80pro.x86_64 +b081e9bfb3eb3f024486de2952d4b0dc6c81facb31ddf4456b386fb5c043a3a11cefe1636dece5cf0ea655746ed35a79c8318cabba8661e39c580e6faed97ba7 net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch +2df069bdb782fffe57988da34ac51607d59ce728e9bfbf7a26e9845729ef0888a18f528103318693c602b251e103bd224c3aef8d703599ede81144dcb2599bca x86-boot-compressed-Don-t-declare-__force_order-in-k.patch d509365295b6bb5ad55d8859a6cc7cae00ef7b7b34aef21167fcfc992accbf9ac1f4191446c911b55844b09ff0c7f83fd422aea71c2877521331b7b0e05a9205 patch-4.14.73.xz" diff --git a/device/testing/linux-teclast-x80pro/net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch b/device/testing/linux-teclast-x80pro/net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch new file mode 100644 index 000000000..623ff3922 --- /dev/null +++ b/device/testing/linux-teclast-x80pro/net-phy-micrel-Use-strlcpy-for-ethtool-get_strings.patch @@ -0,0 +1,39 @@ +From 1f7d62fdd8dd974808c4c4c5dcc35b908d92cb3b Mon Sep 17 00:00:00 2001 +From: Florian Fainelli +Date: Fri, 2 Mar 2018 15:08:38 -0800 +Subject: [PATCH] net: phy: micrel: Use strlcpy() for ethtool::get_strings + +commit 55f53567afe5f0cd2fd9e006b174c08c31c466f8 upstream. + +Our statistics strings are allocated at initialization without being +bound to a specific size, yet, we would copy ETH_GSTRING_LEN bytes using +memcpy() which would create out of bounds accesses, this was flagged by +KASAN. Replace this with strlcpy() to make sure we are bound the source +buffer size and we also always NUL-terminate strings. + +Fixes: 2b2427d06426 ("phy: micrel: Add ethtool statistics counters") +Signed-off-by: Florian Fainelli +Signed-off-by: David S. Miller +Signed-off-by: Greg Kroah-Hartman +--- + drivers/net/phy/micrel.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c +index 5be7fc354e33..ef5e5b621ec5 100644 +--- a/drivers/net/phy/micrel.c ++++ b/drivers/net/phy/micrel.c +@@ -674,8 +674,8 @@ static void kszphy_get_strings(struct phy_device *phydev, u8 *data) + int i; + + for (i = 0; i < ARRAY_SIZE(kszphy_hw_stats); i++) { +- memcpy(data + i * ETH_GSTRING_LEN, +- kszphy_hw_stats[i].string, ETH_GSTRING_LEN); ++ strlcpy(data + i * ETH_GSTRING_LEN, ++ kszphy_hw_stats[i].string, ETH_GSTRING_LEN); + } + } + +-- +2.29.2 + diff --git a/device/testing/linux-teclast-x80pro/x86-boot-compressed-Don-t-declare-__force_order-in-k.patch b/device/testing/linux-teclast-x80pro/x86-boot-compressed-Don-t-declare-__force_order-in-k.patch new file mode 100644 index 000000000..79666f4fb --- /dev/null +++ b/device/testing/linux-teclast-x80pro/x86-boot-compressed-Don-t-declare-__force_order-in-k.patch @@ -0,0 +1,43 @@ +From a8dc79753d727b4dbb11bb1190f90f4863046f32 Mon Sep 17 00:00:00 2001 +From: "H.J. Lu" +Date: Thu, 16 Jan 2020 12:46:51 -0800 +Subject: [PATCH] x86/boot/compressed: Don't declare __force_order in + kaslr_64.c + +[ Upstream commit df6d4f9db79c1a5d6f48b59db35ccd1e9ff9adfc ] + +GCC 10 changed the default to -fno-common, which leads to + + LD arch/x86/boot/compressed/vmlinux + ld: arch/x86/boot/compressed/pgtable_64.o:(.bss+0x0): multiple definition of `__force_order'; \ + arch/x86/boot/compressed/kaslr_64.o:(.bss+0x0): first defined here + make[2]: *** [arch/x86/boot/compressed/Makefile:119: arch/x86/boot/compressed/vmlinux] Error 1 + +Since __force_order is already provided in pgtable_64.c, there is no +need to declare __force_order in kaslr_64.c. + +Signed-off-by: H.J. Lu +Signed-off-by: Borislav Petkov +Link: https://lkml.kernel.org/r/20200124181811.4780-1-hjl.tools@gmail.com +Signed-off-by: Sasha Levin +--- + arch/x86/boot/compressed/pagetable.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/arch/x86/boot/compressed/pagetable.c b/arch/x86/boot/compressed/pagetable.c +index e691ff734cb5..46573842d8c3 100644 +--- a/arch/x86/boot/compressed/pagetable.c ++++ b/arch/x86/boot/compressed/pagetable.c +@@ -36,9 +36,6 @@ + #define __PAGE_OFFSET __PAGE_OFFSET_BASE + #include "../../mm/ident_map.c" + +-/* Used by pgtable.h asm code to force instruction serialization. */ +-unsigned long __force_order; +- + /* Used to track our page table allocation area. */ + struct alloc_pgt_data { + unsigned char *pgt_buf; +-- +2.29.2 + diff --git a/device/testing/linux-tokio-techbook/APKBUILD b/device/testing/linux-tokio-techbook/APKBUILD index 829b938d7..ef0fba15c 100644 --- a/device/testing/linux-tokio-techbook/APKBUILD +++ b/device/testing/linux-tokio-techbook/APKBUILD @@ -24,6 +24,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/torvalds/$_repository/archive/$_commit.tar.gz $_config gcc8-fix-put-user.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -51,4 +52,5 @@ package() { sha512sums="0fde6b90d9ec94eca00f419e51f112f258e9cb9795375379e4078dc800784dad882935db39e74fb748727a82c91046e23dd39c76ae14bca9afe6f6b19d1ea452 linux-tokio-techbook-6a13feb9c82803e2b815eca72fa7a9f5561d7861.tar.gz 5dcc1c89d8c09132c9818b9284fad05345598e26facc8b7b70d6e2fe2af688b82de67ba7427cba1e51b1f5cda08ad8d5aef464ac295706315d293151b4ea7f8c config-tokio-techbook.armv7 -197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch" +197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-tokio-techbook/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-tokio-techbook/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-tokio-techbook/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-vernee-k506/APKBUILD b/device/testing/linux-vernee-k506/APKBUILD index 525313185..4d4cf43e7 100644 --- a/device/testing/linux-vernee-k506/APKBUILD +++ b/device/testing/linux-vernee-k506/APKBUILD @@ -29,6 +29,7 @@ source=" $_config python3dct.patch firmware_paths.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -51,4 +52,5 @@ package() { sha512sums="5d51b5ceb3968c37e0653f40dcbc334388f401a086d6232600a05c47ec40deb712fc23cbfca6a59e2e3e5a108c46429e4fe1550608f1fbd687f14c8d17376b6d linux-vernee-k506-6162531eeb91a5291c00eceff7cb707561143471.tar.gz 38df769d1752cd137bf2a5a41f627d52d5017e915edef5e0ba35b7f2b67b44310ca125ac104958fe9f2572d16de37d12aa5bc78beebc25cb7680f2a9c15a8dd5 config-vernee-k506.aarch64 a2990a27436d3ffe40f1fd1e388486727042cc5fa5be23b19dad623a18731c94c07ac4a89be1e59e6214593d2b03d38702b60a7475807e8cda0811c4e5d50a9b python3dct.patch -8aada5397de0d8f91475afb132e49e9dc500c6f153e98382b31c2d3cb38a9b6b177f47b3610df24260ab81b9e9588cf3e76b58c4213e2db2974345b53bf5e079 firmware_paths.patch" +8aada5397de0d8f91475afb132e49e9dc500c6f153e98382b31c2d3cb38a9b6b177f47b3610df24260ab81b9e9588cf3e76b58c4213e2db2974345b53bf5e079 firmware_paths.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-vernee-k506/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-vernee-k506/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-vernee-k506/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-wiko-lenny2/APKBUILD b/device/testing/linux-wiko-lenny2/APKBUILD index 83e6fdf17..cedb1fbc9 100644 --- a/device/testing/linux-wiko-lenny2/APKBUILD +++ b/device/testing/linux-wiko-lenny2/APKBUILD @@ -29,6 +29,7 @@ source="$pkgname-$_commit.tar.gz::https://github.com/pmsourcedump/linux-wiko-len fix-paths.patch fix-busybox-sh-compatibility.patch use-gnu89-explicitly.patch + gcc10-extern_YYLOC_global_declaration.patch $_config " builddir="$srcdir/$pkgname-$_commit" @@ -77,4 +78,5 @@ a88df2c0be9bcc26c738436036750c195986a5eda47529604cc4dd2ca0423e55ac6ae12031ec5553 5a96db8474cdb9f7704c7b30cdf426d3f37b7a5f5d172eeebeb434bdb943555c0abd26ed63531855a7ef1122b7a8c1ef394539f8685a5da15f036f47e3a40564 fix-paths.patch 9d5cbfb3fa0d076ae090778f4a80c172c296b71eca55bad69b25ecc6bd5658e38bcb53b7483b43066b21907bcb770974a2639983cb1ff59bb24f3fc429fc71d4 fix-busybox-sh-compatibility.patch 7674bf62ce6ac7a6cffa9468d464ed66448b72fdae95023895992a2127c107b9914e1453a1e8913ed4a62416c12ea40a54095da9c581a265c0c08476449de20d use-gnu89-explicitly.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 993f60d6be622def89c5c9857dd5011bb77e915f7866c51dd766a356858e334d43a696ac24630ff73470c4a43ed8280921f68eaaa3432819ceaae6e29403d121 config-wiko-lenny2.armv7" diff --git a/device/testing/linux-wiko-lenny2/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-wiko-lenny2/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-wiko-lenny2/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-wiko-lenny3/APKBUILD b/device/testing/linux-wiko-lenny3/APKBUILD index 21653c569..0f82f46c3 100644 --- a/device/testing/linux-wiko-lenny3/APKBUILD +++ b/device/testing/linux-wiko-lenny3/APKBUILD @@ -32,6 +32,7 @@ source=" 00_disable_drvgen.patch 01_add_generated_cust_dtsi.patch 02_fix_various_include_directives.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/LENNY3_OpenSource/kernel-3.18" @@ -55,4 +56,5 @@ a1fea5c1e3cc7341b9426e1475d694aaf98f3083396a456eb90185bca43ee98b986771327fe62182 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 8a04940e6f5424df67a3cc4c75dd19be1c9b560859e9db0ae67b766d52982a46156b601698afb80f90b9b99f63ef74e1f6147902b43ec97c25d2b75ba2f8d2b3 00_disable_drvgen.patch adda36d779a79b2f840361a7df91028fdb86dd9aa7d2b431b8bd1fc674175d6c5bd098f7a6765cc4e3f7b3428ff7d35d9f5bac31cb7602ea270a6affe843a2e9 01_add_generated_cust_dtsi.patch -42a7ef954d517f945bdbca16d92aff63b6b07260d666119dc96c33db577231f907c7968d9466bf163c397a37f4fb23a6886047b1eb821aa14687d43442c8e615 02_fix_various_include_directives.patch" +42a7ef954d517f945bdbca16d92aff63b6b07260d666119dc96c33db577231f907c7968d9466bf163c397a37f4fb23a6886047b1eb821aa14687d43442c8e615 02_fix_various_include_directives.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-wiko-lenny3/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-wiko-lenny3/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-wiko-lenny3/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-armani/APKBUILD b/device/testing/linux-xiaomi-armani/APKBUILD index 457fc2b01..ca01973a0 100644 --- a/device/testing/linux-xiaomi-armani/APKBUILD +++ b/device/testing/linux-xiaomi-armani/APKBUILD @@ -35,6 +35,7 @@ source=" 03_qdsp6v2.patch 04_mdss_mdp_trace.patch 05_q6voice.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -73,4 +74,5 @@ ea1d3b5a234fa565e3c1a792de48f4fc4e6023d281d303c8e319c7ef28edc5739ab0e4dea0139a41 7be03a9e78b7ac330a54b1f00509caa0621a95c0c55901878ad757f9dd69cc05ba2c8b5ea987063ae1224f92c4d090d515fa5d369e7755181a4871b0d0f82881 02_gpu-msm-fix-gcc5-compile.patch 1465b7f08dd4d7956c6651da3767648db085f4af8014fd3b24547626ba608734a0c6d8e86ffe086d81817c29f0d8e284e21a3ba50f51cd94ab42935bc124ad30 03_qdsp6v2.patch 8dd3c227af5c379eedecdabe64a481de3e8241431b5d3d3984ffad65ee74706860115eb1b797afe05f6c360f6696bcb7165fa7d634a4a7a147d98f45cbb5246d 04_mdss_mdp_trace.patch -4e7484eaa142e013c9aee12053d91a65983f7629d2b923566d4431143fa0529988dbc28b01dee21336995090ce8127b2ba79208bf61df359632bfeebae9c6618 05_q6voice.patch" +4e7484eaa142e013c9aee12053d91a65983f7629d2b923566d4431143fa0529988dbc28b01dee21336995090ce8127b2ba79208bf61df359632bfeebae9c6618 05_q6voice.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-armani/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-armani/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-armani/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-beryllium-mainline/APKBUILD b/device/testing/linux-xiaomi-beryllium-mainline/APKBUILD index 9b26017ef..50d9e5d78 100644 --- a/device/testing/linux-xiaomi-beryllium-mainline/APKBUILD +++ b/device/testing/linux-xiaomi-beryllium-mainline/APKBUILD @@ -23,6 +23,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/Venji10/$_repository/archive/$_commit.tar.gz $_config + linux4.17-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -43,4 +44,5 @@ package() { } sha512sums="4a834f11155b6cb7ca3e7da7f9a561b4f96a2288215ba46cf880f0b95e4ed3ebb5b911d99f1daf7d9e0f2480116e53ffef409e88980fac79026d951f10ef7db3 linux-xiaomi-beryllium-mainline-3ca4b97b596fa220d8511894ee67a34493664a6c.tar.gz -0821f35fc43fb075243c008481cb56682006394dcaee9b01d48411d6e44e8a432a8c67116399cfd3d50d9172c4c3b07c49165188f3d8966be55de47800812f7d config-xiaomi-beryllium.aarch64" +0821f35fc43fb075243c008481cb56682006394dcaee9b01d48411d6e44e8a432a8c67116399cfd3d50d9172c4c3b07c49165188f3d8966be55de47800812f7d config-xiaomi-beryllium.aarch64 +27827877040007fc1c4c719f7e2e19e5c272d44972415cfc53feba0313d87e4074f8204bdb13cbc5fe21ea61bf595314b68f10c081e7b7bac3c888b60f008acf linux4.17-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-beryllium-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-beryllium-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..59ae5eca7 --- /dev/null +++ b/device/testing/linux-xiaomi-beryllium-mainline/linux4.17-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.17-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-beryllium/APKBUILD b/device/testing/linux-xiaomi-beryllium/APKBUILD index c282c74b3..c5d8d76d8 100644 --- a/device/testing/linux-xiaomi-beryllium/APKBUILD +++ b/device/testing/linux-xiaomi-beryllium/APKBUILD @@ -23,6 +23,7 @@ _config="config-$_flavor.$arch" source=" $pkgname-$_commit.tar.gz::https://github.com/LineageOS/$_repository/archive/$_commit.tar.gz $_config + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -44,4 +45,5 @@ package() { } sha512sums="60f63841673f31e1faf9f26113e93ca5ccf83925618bc35d1f6e11744f2f0f295bf32cfb6f9ece1d104868ed12af5ac76dea2ee39b4fb26b0569c8779ce0d74d linux-xiaomi-beryllium-0c1feb8b3a7cc62aed52346331f64190e644cca9.tar.gz -7b65640db5d7af99188ef9cda90198a322f9c02a83a9ec0c3d85994e6adb97d2226e0d5a9afc194cce38b9552047c2e7724c2acd07c5ce172998b94a59d4e59e config-xiaomi-beryllium.aarch64" +7b65640db5d7af99188ef9cda90198a322f9c02a83a9ec0c3d85994e6adb97d2226e0d5a9afc194cce38b9552047c2e7724c2acd07c5ce172998b94a59d4e59e config-xiaomi-beryllium.aarch64 +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-beryllium/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-beryllium/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-xiaomi-beryllium/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-cactus/APKBUILD b/device/testing/linux-xiaomi-cactus/APKBUILD index ff952978b..798095f5d 100644 --- a/device/testing/linux-xiaomi-cactus/APKBUILD +++ b/device/testing/linux-xiaomi-cactus/APKBUILD @@ -22,6 +22,7 @@ source=" $pkgname-$_commit.tar.gz::https://github.com/MiCode/$_repository/archive/$_commit.tar.gz $_config 0001-Port-build-scripts-to-Python3.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -43,4 +44,5 @@ package() { sha512sums="7328c6fd8a8aad72a2b88b24319dd0887685d2c1f684f922b258df79aba9eaa151196ed0cb34f2364f7c04ccf1504b3749755ed6cadfd8568e92ae3f8d7f58e5 linux-xiaomi-cactus-b417db1e025f22dff9dfc65819ecf2db4d9d85f8.tar.gz 04fb175d506fc79e518cc40ab4c0299319f47e52c2e618d72b7cd48a843e0ee68ef89a4f57cb919e3523aba7121d1c225aed4f3f1e0e2f6c6e7aa80a099f7904 config-xiaomi-cactus.armv7 -3f295c4ed0eb6d2bcdb88e986a640b20f5fb4c299ae792b01b70b5319d6b3e0d59475a2f3686ed167249aa091a7156760b90f73e9d8dc5505cbaef4cc19d3ffb 0001-Port-build-scripts-to-Python3.patch" +3f295c4ed0eb6d2bcdb88e986a640b20f5fb4c299ae792b01b70b5319d6b3e0d59475a2f3686ed167249aa091a7156760b90f73e9d8dc5505cbaef4cc19d3ffb 0001-Port-build-scripts-to-Python3.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-cactus/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-cactus/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-xiaomi-cactus/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-cancro/APKBUILD b/device/testing/linux-xiaomi-cancro/APKBUILD index cea4bb6e4..404a1582a 100644 --- a/device/testing/linux-xiaomi-cancro/APKBUILD +++ b/device/testing/linux-xiaomi-cancro/APKBUILD @@ -37,6 +37,7 @@ source=" tspdrv_4.patch tspdrv_5.patch 05_q6voice.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -72,4 +73,5 @@ c1a70619ffb7aec52b8e4b0847800ff7eeae7f1061e61f68030849e0542175c1f83ca5fa12ab78c1 977e8b6bd17b148fea92952ea92d50c35dd94b3b585af2b30dee000c1092539139b08128494a63b7963bdd6ed4e6a2f44d5faba7e48af41e01440e41f9538b3b tspdrv_3.patch 4b6c12f0591302fe50617ce49eae456befd1e8b9cfcf7ec8a322cbff5f54fbfd85c1b5ea68ad5f84e63450a0972eb07e46bbeb9c5f76c9b42cc2d88e5ef295b7 tspdrv_4.patch a509f9fbe351fd22d3f036ed3718f9f1e0b24791b7ddb6851bc683fa5197f5856477f6b5552cd6bb6e07df1e355c2a65c228f29e896b158e369ca4c7c7e9e07b tspdrv_5.patch -4e7484eaa142e013c9aee12053d91a65983f7629d2b923566d4431143fa0529988dbc28b01dee21336995090ce8127b2ba79208bf61df359632bfeebae9c6618 05_q6voice.patch" +4e7484eaa142e013c9aee12053d91a65983f7629d2b923566d4431143fa0529988dbc28b01dee21336995090ce8127b2ba79208bf61df359632bfeebae9c6618 05_q6voice.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-cancro/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-cancro/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-cancro/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-ferrari/APKBUILD b/device/testing/linux-xiaomi-ferrari/APKBUILD index be7da6798..1865ff82c 100644 --- a/device/testing/linux-xiaomi-ferrari/APKBUILD +++ b/device/testing/linux-xiaomi-ferrari/APKBUILD @@ -27,6 +27,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 01_prima_gcc6.patch " builddir="$srcdir/$_repository-$_commit" @@ -55,4 +56,5 @@ sha512sums="2cd2854045eaada791e912612ce609ca4cb5d7082a5019fc86effa92db3fe4a1df8b 1a7c0a9d56541d7d22e05914d6bbc8a6c06fca596c5aa700d2e83408510a5aa4b65da2312fa1c85f4101264d845fefa6c72943b3b498b970d4b4d8d72b9e2ad1 config-xiaomi-ferrari.aarch64 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch a246e10cd979a7f5defb3a97049448b70cff892d667e41f998431ddbeb0e19a84687296b2456e807dd48090823bec63a340f07f3b4ba32121113914e41d299da 01_prima_gcc6.patch" diff --git a/device/testing/linux-xiaomi-ferrari/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-ferrari/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-ferrari/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-ido/APKBUILD b/device/testing/linux-xiaomi-ido/APKBUILD index 77ef80c13..8700b8621 100644 --- a/device/testing/linux-xiaomi-ido/APKBUILD +++ b/device/testing/linux-xiaomi-ido/APKBUILD @@ -31,6 +31,7 @@ source=" compiler-gcc6.h 01_fix_gcc6_errors.patch gcc-wrapper-port-to-py3.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -56,4 +57,5 @@ sha512sums="e22e3cff0819edd2d9f0f16bc952a97773a8b4b36394ab6acf61fd619988d6d0bf1f c7b9c2900c7d9fa49ea8ceb511092e58aa57e3cf6808e0c9130fac5a5619c7e67b7292e5c4dd23b0a9d3f14f73ba26cbc6c926d5947974395fd602c65324cc1d config-xiaomi-ido.aarch64 d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104ca1ac5d15f6c4aa49e8776cb44264a9a28dc551e0d1850dcc compiler-gcc6.h 972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_fix_gcc6_errors.patch -13e289c889a48946cd3d976932f06f749bed5c6596776f4b683aada4e3e2f50b66286d6f550b8f2e260b58867b759591bbf8b54cc07ad9d3bb761ff477f036a1 gcc-wrapper-port-to-py3.patch" +13e289c889a48946cd3d976932f06f749bed5c6596776f4b683aada4e3e2f50b66286d6f550b8f2e260b58867b759591bbf8b54cc07ad9d3bb761ff477f036a1 gcc-wrapper-port-to-py3.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-ido/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-ido/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-ido/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-kenzo/APKBUILD b/device/testing/linux-xiaomi-kenzo/APKBUILD index a9dcce163..43f0a05b9 100644 --- a/device/testing/linux-xiaomi-kenzo/APKBUILD +++ b/device/testing/linux-xiaomi-kenzo/APKBUILD @@ -29,6 +29,7 @@ source=" $_config 01_fix_gcc6_errors.patch 02_fix_msm_dba.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -55,4 +56,5 @@ package() { sha512sums="c2d57468544d9b96e7f55d8358419fecdbbb75ae02e08fb3e008a882750855966d989a79e058888bcdd5542f322fd26ac217cd73c316768183b496f108089b43 linux-xiaomi-kenzo-92430f1a110b9b49e69fb1d3bde81c0f048d0282.tar.gz 9f2737e98e9dd34097bc3e21aab2acd540627e352b431c82c1b1887e3e0c62bd2307d2031c83c7a3b0f8c118c8525dc989c17141410d8645fccdae6da0d53d01 config-xiaomi-kenzo.aarch64 972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_fix_gcc6_errors.patch -7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 02_fix_msm_dba.patch" +7e765cb696fa8c3dfbc305b05cbf1fad85fb9572613d5391e945341dae5974a745f4906c795dc841e5562b19ab77d5257f9741e514af2c2573aa4bb8b262ce51 02_fix_msm_dba.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-kenzo/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-kenzo/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-kenzo/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-lavender/APKBUILD b/device/testing/linux-xiaomi-lavender/APKBUILD index 06fae4360..f773845a7 100644 --- a/device/testing/linux-xiaomi-lavender/APKBUILD +++ b/device/testing/linux-xiaomi-lavender/APKBUILD @@ -36,6 +36,7 @@ source=" 0005-Adds-and-sets-BGRA-as-default.patch 0006-mdss-panel-to-fb-var.patch 0007-nvt-touch-f7a-unbreak-libinput.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -67,4 +68,5 @@ a8713d22404a5e2c0d2add3deb4cb033e972bd1983e10f1557d4de640c1329af50be2bfd92dc3cf7 066ac4b77388fd2001df227db216da9f435e06d29ce1be59d8a8923613f3390e154cb5b6cb7785614a3a4b12c01d9f1b84dfd09b884dede3fa6d0e5b1ddb9045 0004-Reduce-battery-spam-in-dmesg.patch f2a97a9500b6155a11f2341a8fd4b083ceb25a17d656c7975e34b9f3d8bacb495ae687f823db5fd07ddee27b2d95021f193bfadb5274185334255cda12bc85ce 0005-Adds-and-sets-BGRA-as-default.patch d5b868c64b8ebddcf74cb3aa478f30f0897af1e14e4fc42d977921104a6c568cc0bf36fc8a3b0f538cd3ca2ebf59244fdf23186a903259e5acc14d1c4ef4ccc3 0006-mdss-panel-to-fb-var.patch -e13adff827073edfaded0a34a1f913b7341069d062552f1444c3de390c3b3b08bf3cd4ad8cdf0f76c6be084ccc14469492a535a96022a0729ce56b3b09cfdfec 0007-nvt-touch-f7a-unbreak-libinput.patch" +e13adff827073edfaded0a34a1f913b7341069d062552f1444c3de390c3b3b08bf3cd4ad8cdf0f76c6be084ccc14469492a535a96022a0729ce56b3b09cfdfec 0007-nvt-touch-f7a-unbreak-libinput.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-lavender/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-lavender/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-xiaomi-lavender/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-mido/APKBUILD b/device/testing/linux-xiaomi-mido/APKBUILD index d300e037a..e9a91703d 100644 --- a/device/testing/linux-xiaomi-mido/APKBUILD +++ b/device/testing/linux-xiaomi-mido/APKBUILD @@ -36,6 +36,7 @@ source=" 05_fix_u_f_header.patch 05_fix_mdp3_ctrl_off.patch 06_fix_usb_gadget_function.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -85,4 +86,5 @@ d80980e9474c82ba0ef1a6903b434d8bd1b092c40367ba543e72d2c119301c8b2d05265740e4104c 9c549714f03c7a7666e8aa7508a48cfdccab7cf3e97fb59c4df8fa97f75492365926f82c4a677c50780d68d4905504dcccbdd6de6344bd8d4b88b2331933ed46 03_fix_rndis_ipa_trace_header_not_found.patch b408f157cc025d410b38f5aee9be977e670e1ac3f195f6c3a6681446fa0c3887067d62a4f729cfcd058fab42fca355b0265764dc2d21515f6e023ed025f55d41 05_fix_u_f_header.patch fbc61e379403990167853f4c4fbdfa22d7e9661a7eedecf2a75eec2a8008991a82d0a61be844ab4b1c88383f3fa79b43eff10b1039e44ad5a758a173cbf6386b 05_fix_mdp3_ctrl_off.patch -1f23466d1a864f2d2c67ae4250b0c166ecb7755779bbdad6732808a001cc2826cc1d013c2281d2ca1d5abd7d60d13783f0b9f11bb8359971f2b30b911e627220 06_fix_usb_gadget_function.patch" +1f23466d1a864f2d2c67ae4250b0c166ecb7755779bbdad6732808a001cc2826cc1d013c2281d2ca1d5abd7d60d13783f0b9f11bb8359971f2b30b911e627220 06_fix_usb_gadget_function.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-mido/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-mido/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-mido/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-santoni/APKBUILD b/device/testing/linux-xiaomi-santoni/APKBUILD index f2766d965..41ab1cf88 100644 --- a/device/testing/linux-xiaomi-santoni/APKBUILD +++ b/device/testing/linux-xiaomi-santoni/APKBUILD @@ -21,6 +21,7 @@ source=" disable-substream-runtime-errors.patch bt-hci-smd.patch 99_framebuffer.patch + gcc10-extern_YYLOC_global_declaration.patch $_config " builddir="$srcdir/$_repository-$_commit" @@ -45,4 +46,5 @@ a277af28a718f5caf94257005393aa92d62c96110a8ec6368ff62f2e0d871b69c56c4ce00174db63 14ee08e4f93befeaabfb35e6bf0b8bb5b2eecba1c21ce4498499c377c2cf4d5fccbfe85e14ca92c704d067386ec08a06805ab886f0ec7691471cf379838545aa disable-substream-runtime-errors.patch f5850f712ce7aa42ada1971fc5f428ac8b9f5eef77d8bfb09bb24e0636e0b70ae78009466ed4962bd257721126577a756114e2ee2a70d4a925dd57e0ec7bcfa6 bt-hci-smd.patch a6f9899ab97af727e4450201a2edc2bf6fc805d981fa967581b98c5e1ee0b9c005feeeb647b40b220a79ed9a318cf9bbf8f953aab941daf6fea4790a372aae21 99_framebuffer.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch 753b1517980a6aa4bc1ccea6d013cb5cf74cd85a92a279a5fff2f13f0930a9266305d9efdd06ce4fe7baf76eb47118fe95b855a458e0457d91041da9b8ef0897 config-xiaomi-santoni.aarch64" diff --git a/device/testing/linux-xiaomi-santoni/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-santoni/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-xiaomi-santoni/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-tissot/APKBUILD b/device/testing/linux-xiaomi-tissot/APKBUILD index b8dd01f63..de6cdf95a 100644 --- a/device/testing/linux-xiaomi-tissot/APKBUILD +++ b/device/testing/linux-xiaomi-tissot/APKBUILD @@ -29,7 +29,7 @@ source=" 0007-narrow-down-trace-include-paths.patch 0008-Add-config-option-to-fix-bootloader-cmdline-args.patch fix-xorg-mdss-update-fb-info.patch - gcc10-scripts-dtc-yylloc.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -60,4 +60,4 @@ d2da0e6d6945e7396d2cb7e30e64806be2473f0fb67e0117a0b9dc5204a105873828bd8d0c6cfbec 0ee10f54d0a66d4ee4b32599847e977262a3d906093efd34216b91aa12b9f7b46bcd28fffa8b054931eb77c82496d474eee9c5d28c59fc33f8903e6c536189e2 0007-narrow-down-trace-include-paths.patch cf5c7f3df4bb62617f0d6e3ece29fe2f316fd8d6d38ca352706cb207947ded2bfe7a6b65f9480843204610d6dffe52e6b11df24d3d0cae7812de56bc41081b20 0008-Add-config-option-to-fix-bootloader-cmdline-args.patch 4f73a06557207733707ca08c9991e04734e56386f3ce8e9cc5b640f4b47e1ae607ae3ea14a7003cb98a04f9df943e22c1baf316d520724237533c2c337cc56f2 fix-xorg-mdss-update-fb-info.patch -eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 gcc10-scripts-dtc-yylloc.patch" +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-tissot/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-tissot/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-xiaomi-tissot/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-xiaomi-willow/APKBUILD b/device/testing/linux-xiaomi-willow/APKBUILD index b4a4d3d22..96ca610b4 100644 --- a/device/testing/linux-xiaomi-willow/APKBUILD +++ b/device/testing/linux-xiaomi-willow/APKBUILD @@ -25,6 +25,7 @@ source=" selinux_include_generated_headers.patch remove_bootloader_cmdline_opts.patch touchscreen_nt36xxx_module.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" _outdir="out" @@ -55,4 +56,5 @@ fd85c31cf20cfc474d46a162d3b05f7c78c10c97634e812fc7b36f7b13ee3bc56e5ac3123689d214 f9339f17504e0d37c5f7847d09b5e38bf608ef146696a352d3a102fe59cf285984a94b4c5a0c7dad63c11fef82df94213a9c3fe4b3f8ff64b18e99741ed11561 fix_gcc.patch 6ab9db01d35f7f5cc2c19ebe5f65a7dc479a1c68de587300cdde9a6c759d34610666c72f0f321cd450cf56c13df3b54a774e0f7ebdbf0f8608fbfd66b49d04e7 selinux_include_generated_headers.patch 9ce867c4254b537ef5d2485780c26b72da8a3a8767ba71557f3b48d6c550e0e14c8c3e575b31bf65d2878f08a8a4926e48a1c2f1be534bf80a7a57f58313b0fd remove_bootloader_cmdline_opts.patch -c6c03502e89b9038ec929441377f802b1739470260d9aeac2f6763bb12b1758b547acbb3685df4e3038d250139c2fe4a9fd38b7badb15ad5d08847cf7223a5a5 touchscreen_nt36xxx_module.patch" +c6c03502e89b9038ec929441377f802b1739470260d9aeac2f6763bb12b1758b547acbb3685df4e3038d250139c2fe4a9fd38b7badb15ad5d08847cf7223a5a5 touchscreen_nt36xxx_module.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-xiaomi-willow/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-xiaomi-willow/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-xiaomi-willow/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-yu-tomato/APKBUILD b/device/testing/linux-yu-tomato/APKBUILD index 738887182..d947ca778 100644 --- a/device/testing/linux-yu-tomato/APKBUILD +++ b/device/testing/linux-yu-tomato/APKBUILD @@ -34,6 +34,7 @@ source=" mdss_fb_refresh_rate.patch rndis.patch fix_dp3_ctrl_off.patch + gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -65,4 +66,5 @@ sha512sums="7787047fc72da32e3dd5daa1d867be5e47035e76fe35ae681bc8456222bd891dd399 972e98523d6ef06342e69a09e979bdd86904cf7f9a843b519b37791e531b680182564a2ab537c94629c3589f4e775b2c39de04c64e210a0f8b6f10745c3596f1 01_fix_gcc6_errors.patch a8c955bf718f155011e980f3d0948be98e1fee5649f418299a4851780543019daf7afa406aa7b0829375645107e4e6fbf241026b0cabe2b2ac895a47df83d2d8 mdss_fb_refresh_rate.patch 635196d271a710eaf9c80ec7f7e1ec88c6b6ef5ce11cfb512d56d760e30b4db1f6e962091951c35ddaa8464293e239765a0d9bebadf59dfd40802434ce8f698f rndis.patch -f7f4df56c66c018a3d674e197a4545bb0cb9b81df4252c01904a766808ed9e573ae831b4dd8117134d7d2a59a91d3acf6fe5e8e18907cda57abc8bf17fae87cd fix_dp3_ctrl_off.patch" +f7f4df56c66c018a3d674e197a4545bb0cb9b81df4252c01904a766808ed9e573ae831b4dd8117134d7d2a59a91d3acf6fe5e8e18907cda57abc8bf17fae87cd fix_dp3_ctrl_off.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-yu-tomato/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-yu-tomato/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-yu-tomato/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-zte-kis3/APKBUILD b/device/testing/linux-zte-kis3/APKBUILD index e48d597d2..0be1c8ea6 100644 --- a/device/testing/linux-zte-kis3/APKBUILD +++ b/device/testing/linux-zte-kis3/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch kernel-use-the-gnu89-standard-explicitly.patch " builddir="$srcdir/$_repository-$_commit" @@ -52,4 +53,5 @@ sha512sums="5759d54232e0c83e71896fc4c859fe8554731678defa337ec9da441505e03fb2f3b7 8b29b9a7c51a4a60bb62b61c3f49e070f0789b8be6adfca162c2761a591c628fe62e5ac1af7fc77944a9e370ca94f1e8e1c7b402e702190ca3286ed54082bdd7 config-zte-kis3.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch ad0182a483791fc88e058838bc331b2f04a75ba291e763767babdb815efadfc3b4fda97e69e2e3f00a426cabea088e35297a92bd287592597d1e309be68ee92c kernel-use-the-gnu89-standard-explicitly.patch" diff --git a/device/testing/linux-zte-kis3/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-zte-kis3/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-zte-kis3/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-zte-p731a20/APKBUILD b/device/testing/linux-zte-p731a20/APKBUILD index e65ab1e3d..7c447b23c 100644 --- a/device/testing/linux-zte-p731a20/APKBUILD +++ b/device/testing/linux-zte-p731a20/APKBUILD @@ -22,6 +22,7 @@ source=" $_config gcc7-give-up-on-ilog2-const-optimizations.patch gcc8-fix-put-user.patch + gcc10-extern_YYLOC_global_declaration.patch 00_return_address.patch fix_cross_compile.patch qcom,msm-id_fix.patch @@ -66,6 +67,7 @@ sha512sums="38600cd20cd22e1ac7636597f5b1fbf6ef60e918f4d197ee8ac8073eb6740cec3314 7dd2de5877bdb5b47c9900c2db788c0a317a97ed0e8b988b0622b796442378590ff9d3dcd718542c6487db94cff0d2a15b07ad506cb02b3cbb3b56e0e8a2de05 config-zte-p731a20.armv7 77eba606a71eafb36c32e9c5fe5e77f5e4746caac292440d9fb720763d766074a964db1c12bc76fe583c5d1a5c864219c59941f5e53adad182dbc70bf2bc14a7 gcc7-give-up-on-ilog2-const-optimizations.patch 197d40a214ada87fcb2dfc0ae4911704b9a93354b75179cd6b4aadbb627a37ec262cf516921c84a8b1806809b70a7b440cdc8310a4a55fca5d2c0baa988e3967 gcc8-fix-put-user.patch +2b48f1bf0e3f70703d2cdafc47d5e615cc7c56c70bec56b2e3297d3fa4a7a1321d649a8679614553dde8fe52ff1051dae38d5990e3744c9ca986d92187dcdbeb gcc10-extern_YYLOC_global_declaration.patch c40eaa11547f5bc2b1ff965506bdfe3015ff16e4b5ad9ccb3b8134ceafd1d32407c4ef2b213e02e036ce1e9bdcbfe768dff7d4b054bec77705a176c1f783b6f5 00_return_address.patch 2bedb0af8a23f5febc5f23a41c91174bffa5cb3b9af699fd61c86089a5bead77a08aca23daa62a3b7e93845e9cf86a1f5cc2a5fb4c4a56af09cf5befa2287d31 fix_cross_compile.patch 0b3ae537793ebd6d24dfca9ec81674fc14b2aece4592bf2700795382f059501285a3e673c02a7114e8239040d41e096b10b819173f14ef837346ed60b0f55574 qcom,msm-id_fix.patch diff --git a/device/testing/linux-zte-p731a20/gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-zte-p731a20/gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..fe99abf4d --- /dev/null +++ b/device/testing/linux-zte-p731a20/gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file diff --git a/device/testing/linux-zuk-z2-row/APKBUILD b/device/testing/linux-zuk-z2-row/APKBUILD index bd2494b59..aad50b05d 100644 --- a/device/testing/linux-zuk-z2-row/APKBUILD +++ b/device/testing/linux-zuk-z2-row/APKBUILD @@ -31,6 +31,7 @@ source=" fix-includes.patch fix-macro-declare_usb_function.patch fix-macro-trace_include_path.patch + linux4.2-gcc10-extern_YYLOC_global_declaration.patch " builddir="$srcdir/$_repository-$_commit" @@ -65,4 +66,5 @@ sha512sums="f2c719bbafd39e02117c53ef539093e8542dfa4e3534e06bddf780a8a908b8fa0ce6 43fe667aebde511d55749d738d176f109ef8b0095f9f04015664a11b3f199f545a4f391d520b0dcd4275329a151a3ce19e49c0b8991ed30a934622bdc4e58c75 fix-nf_conntrack_sip_c.patch 5e2e2944dbc726b95db72fed8780607fafbf49cfdf871f78b27eedae30c74510cc3fcd6566a21e2ac2b92508e9e52008c118ed877e679b939b24f66311b6c40d fix-includes.patch 8b3934e3c4115e81ac40a3c8022f3134cd89133f7569557ca857b4fd514078c4898b2ba3427986936d029874903711d04d7757d5a87bcb89137073128e51e8f5 fix-macro-declare_usb_function.patch -c71ed4068fb815b1549cbf9fc2f5dcfc65f969f36700f916b227acb2c6c2f2062b66ef5a176f8876632a9240009a409e5a02c420d77fd3d9c05bb9833012caf0 fix-macro-trace_include_path.patch" +c71ed4068fb815b1549cbf9fc2f5dcfc65f969f36700f916b227acb2c6c2f2062b66ef5a176f8876632a9240009a409e5a02c420d77fd3d9c05bb9833012caf0 fix-macro-trace_include_path.patch +eaf2e61fcb508cdd239b8fed209d2a09ecac77287f6b46d003918fdf1c6fa2ee63f7390f3ff7c49029b8ed6cbcdd81c7e9a4b1ece9f5060b6fc84e322bd47f41 linux4.2-gcc10-extern_YYLOC_global_declaration.patch" diff --git a/device/testing/linux-zuk-z2-row/linux4.2-gcc10-extern_YYLOC_global_declaration.patch b/device/testing/linux-zuk-z2-row/linux4.2-gcc10-extern_YYLOC_global_declaration.patch new file mode 120000 index 000000000..094195829 --- /dev/null +++ b/device/testing/linux-zuk-z2-row/linux4.2-gcc10-extern_YYLOC_global_declaration.patch @@ -0,0 +1 @@ +../../.shared-patches/linux/linux4.2-gcc10-extern_YYLOC_global_declaration.patch \ No newline at end of file