tune-cortexa65.inc: Correct TUNE_FEATURES_tune-cortexa65
PATCH 1/1 tune-cortexa65.inc: Correct TUNE_FEATURES_tune-cortexa65
It incorrectly specified "cortexa55" instead of "cortexa65".
--- meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc +1 -1
@@ -11,6 +11,6 @@ require conf/machine/include/arm/arch-armv8-2a.inc # Little Endian base configs AVAILTUNES += "cortexa65" ARMPKGARCH_tune-cortexa65 = "cortexa65" -TUNE_FEATURES_tune-cortexa65 = "${TUNE_FEATURES_tune-armv8-2a-crypto} cortexa55" +TUNE_FEATURES_tune-cortexa65 = "${TUNE_FEATURES_tune-armv8-2a-crypto} cortexa65" PACKAGE_EXTRA_ARCHS_tune-cortexa65 = "${PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto} cortexa65" BASE_LIB_tune-cortexa65 = "lib64"
Good catch, maybe we should require tune-test.sh test for all tune modifying changes, it catches the issue as the very first tested case:
Testing fake MACHINE fake-cortexa65 for include conf/machine/include/arm/armv8-2a/tune-cortexa65.inc (1/76)
ERROR: something wrong in openembedded-core/scripts/tune/log.fake-cortexa65
martin@jama:/OE/build/oe-core$ cat
openembedded-core/scripts/tune/log.fake-cortexa65
NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3,
IP: 127.0.0.1, PORT: 44979, PID: 158972
ERROR: OE-core's config sanity checker detected a potential
misconfiguration.
Either fix the cause of this error or at your own risk disable the
checker (see sanity.conf).
Following is the list of potential problems / advisories: Toolchain tunings invalid:
Tuning 'cortexa65' has the following errors:
Feature 'cortexa55' is not defined.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
I'll let it finish in master branch and update
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
tomorrow.
Quoted 27 lines · Peter Kjellerstedt
It incorrectly specified "cortexa55" instead of "cortexa65".
Signed-off-by Peter Kjellerstedt <[email protected]>--- meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/conf/machine/include/arm/armv8-2a/tune-cortexa65.inc +0
-1@@ -11,6 +11,6 @@ require conf/machine/include/arm/arch-armv8-2a.inc # Little Endian base configs AVAILTUNES += "cortexa65" ARMPKGARCH_tune-cortexa65 = "cortexa65" -TUNE_FEATURES_tune-cortexa65 ="${TUNE_FEATURES_tune-armv8-2a-crypto} cortexa55"
+TUNE_FEATURES_tune-cortexa65 =
"${TUNE_FEATURES_tune-armv8-2a-crypto} cortexa65"
PACKAGE_EXTRA_ARCHS_tune-cortexa65 =
"${PACKAGE_EXTRA_ARCHS_tune-armv8-2a-crypto} cortexa65"
BASE_LIB_tune-cortexa65 = "lib64"
Quoted 24 lines · Martin Jansa
Good catch, maybe we should require
tune-test.shtest for all tune modifying changes, it catches the issue as the very first tested case:Testing fake MACHINE fake-cortexa65 for include conf/machine/include/arm/armv8-2a/tune-cortexa65.inc (1/76)
ERROR: something wrong in openembedded-core/scripts/tune/log.fake- cortexa65martin@jama:/OE/build/oe-core$ cat openembedded- core/scripts/tune/log.fake-cortexa65 NOTE: Started PRServer with DBfile: /OE/build/oe- core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44979, PID: 158972 ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:Toolchain tunings invalid:
Tuning 'cortexa65' has the following errors:
Feature 'cortexa55' is not defined.
Quoted 6 lines
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
I'll let it finish in master branch and update
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
tomorrow.
Could we turn tune-test.sh into something in oe-selftest? That way it would be tested on the infrastructure automatically...
Cheers,
Richard
Quoted 28 lines · Richard Purdie
Quoted 27 lines · Martin Jansa
Good catch, maybe we should require
tune-test.shtest for all tune modifying changes, it catches the issue as the very first tested case:Testing fake MACHINE fake-cortexa65 for include conf/machine/include/arm/armv8-2a/tune-cortexa65.inc (1/76)
ERROR: something wrong in openembedded-core/scripts/tune/log.fake- cortexa65martin@jama:/OE/build/oe-core$ cat openembedded- core/scripts/tune/log.fake-cortexa65 NOTE: Started PRServer with DBfile: /OE/build/oe- core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44979, PID: 158972 ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:Toolchain tunings invalid:
Tuning 'cortexa65' has the following errors:
Feature 'cortexa55' is not defined.Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Quoted 8 lines
Quoted 2 lines
I'll let it finish in master branch and update
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
Quoted 1 line
tomorrow.
Could we turn
tune-test.shinto something in oe-selftest? That way it would be tested on the infrastructure automatically...
It would be definitely better, this shell script is quite ugly, old and slow, It doesn't even use bitbake server which should really help in this case (it just calls "bitbake -e" for every combination of tune file and AVAILTUNES for it). It might also be affected by ARM_INSTRUCTION_SET setting in the distro, so in theory we should run most arm tunes twice.
My previous test was testing only the "neon-vfpv4" tunes, because that was probably the last thing I've modified few years ago.
Yesterday I've noticed it and removed this filter .. and it's still running, now at:
Testing DEFAULTTUNE armv7a-vfpv3 (45/145) for fake MACHINE fake-cortexa53 (33/76)
which means 45th DEFAULTTUNE from 145 on 33rd MACHINE from 76.. hopefully after it finishes all these cortex* variants it will get significantly faster, because other tune files don't have so many AVAILTUNES.
Sofar it found following issues (not all of them are from new tune files from Jon):
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa32.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa32) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa34.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa34) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa35.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa65) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa65ae.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa73) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa75) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa76) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76ae.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa77.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa77) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-ep9312: Error, the PACKAGE_ARCHS variable (all any
noarch arm armv4 armv4t ep9312 fake_ep9312) for DEFAULTTUNE (ep9312) does not contain TUNE_PKGARCH (ep9312t).scripts/tune/log.fake-mips-24k.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips-74k.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-neoversee1.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_neoversee1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversen1.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_neoversen1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-riscv.riscv32nf: Error, the PACKAGE_ARCHS variable
(all any noarch riscv32nf fake_riscv) for DEFAULTTUNE (riscv32nf) does not contain TUNE_PKGARCH (riscv32).scripts/tune/log.fake-riscv.riscv64nf: Error, the PACKAGE_ARCHS variable
(all any noarch riscv64nf fake_riscv) for DEFAULTTUNE (riscv64nf) does not contain TUNE_PKGARCH (riscv64).scripts/tune/log.fake-supersparc: Error, the PACKAGE_ARCHS variable (all
any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} fake_supersparc) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH (supersparc).Toolchain tunings invalid:
A message that is not in the archive (sent off-list or not yet received): [email protected]
The tune-test.sh just finished (after 44 hours), there are 3 big groups of issues:
1) 29 MACHINES with armv7atb-vfpv4d16 DEFAULTTUNE seem to be broken since:
commit 594f8584268d5179c18512beada2bae4a21325de
Author: Phil Edworthy <[email protected]> Date: Wed Nov 28 10:09:57 2018 +0000
arch-armv7*.inc: Add Cortex vfpv4-d16 support
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa57.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa57-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa72.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa72-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa7.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa7) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa8.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa8) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa9.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa9) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).scripts/tune/log.fake-thunderx.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_thunderx) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
2) Duplicated "_be" suffix in 24 MACHINES with aarch64_be DEFAULTTUNE seems to be introduced by:
commit 08433cc58abf0cf3e42b22d20870a50287cfb8bc
Author: Khem Raj <[email protected]> Date: Tue May 26 16:10:37 2020 -0700
armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH
Because it's first included in ARMPKGARCH and then appended from ARMPKGSFX_ENDIAN_64 again:
meta/conf/machine/include/arm/arch-arm64.inc:
ARMPKGARCH_tune-aarch64_be ?= "aarch64_be"
...ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}"TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"
scripts/tune/log.fake-cortexa32.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa32) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa34.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa34) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa35.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa53.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa55.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa57.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa57) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa57-cortexa53.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa57_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa65.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa65) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa65ae.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa72.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa72) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa72-cortexa53.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa72_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa73.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa73) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa53.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa75.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa75) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa76) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76ae.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be: Error, thePACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-cortexa77.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_cortexa77) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-neoversee1.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_neoversee1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-neoversen1.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_neoversen1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-thunderx.aarch64_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be fake_thunderx) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).scripts/tune/log.fake-thunderx.thunderx_be: Error, the PACKAGE_ARCHS
variable (all any noarch aarch64_be thunderx_be fake_thunderx) for DEFAULTTUNE (thunderx_be) does not contain TUNE_PKGARCH (thunderx_be_be).
3) Duplicated mips64el-o32 in 9 MACHINEs
commit ae5073c4abd8935c01d14d3e6395124f815bd10b
Author: Zubair Lutfullah Kakakhel <[email protected]> Date: Fri Sep 23 15:28:08 2016 +0100
arch-mips: Add mips64-o32 tunes
meta/conf/machine/include/mips/arch-mips.inc:
PACKAGE_EXTRA_ARCHS_tune-mips64el-o32 = "mipsel mips64el-o32 mips64el-o32"
scripts/tune/log.fake-mips-24k.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32r2.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32r6.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64r2.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64r6.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips-74k.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-octeon.mips64el-o32: Error, the PACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32
4) remaining issues:scripts/tune/log.fake-ep9312: Error, the PACKAGE_ARCHS variable (all any
noarch arm armv4 armv4t ep9312 fake_ep9312) for DEFAULTTUNE (ep9312) does not contain TUNE_PKGARCH (ep9312t).scripts/tune/log.fake-mips64r6.mipsisa64r6-nf: Error, the PACKAGE_ARCHS
variable (all any noarch mipsisa64r6 fake_mips64r6) for DEFAULTTUNE (mipsisa64r6-nf) does not contain TUNE_PKGARCH (mipsisa64r6-nf).scripts/tune/log.fake-riscv.riscv32nf: Error, the PACKAGE_ARCHS variable
(all any noarch riscv32nf fake_riscv) for DEFAULTTUNE (riscv32nf) does not contain TUNE_PKGARCH (riscv32).scripts/tune/log.fake-riscv.riscv64nf: Error, the PACKAGE_ARCHS variable
(all any noarch riscv64nf fake_riscv) for DEFAULTTUNE (riscv64nf) does not contain TUNE_PKGARCH (riscv64).scripts/tune/log.fake-supersparc: Error, the PACKAGE_ARCHS variable (all
any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} fake_supersparc) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH (supersparc).Toolchain tunings invalid:
Complete logs and this ugly&slow script from 2012 are included in:
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
Quoted 221 lines · Martin Jansa via lists.openembedded.org
Quoted 28 lines · Richard Purdie
Quoted 27 lines · Martin Jansa
Good catch, maybe we should require
tune-test.shtest for all tune modifying changes, it catches the issue as the very first tested case:Testing fake MACHINE fake-cortexa65 for include conf/machine/include/arm/armv8-2a/tune-cortexa65.inc (1/76)
ERROR: something wrong in openembedded-core/scripts/tune/log.fake- cortexa65martin@jama:/OE/build/oe-core$ cat openembedded- core/scripts/tune/log.fake-cortexa65 NOTE: Started PRServer with DBfile: /OE/build/oe- core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44979, PID: 158972 ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:Toolchain tunings invalid:
Tuning 'cortexa65' has the following errors:
Feature 'cortexa55' is not defined.Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Quoted 8 lines
Quoted 2 lines
I'll let it finish in master branch and update
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
Quoted 1 line
tomorrow.
Could we turn
tune-test.shinto something in oe-selftest? That way it would be tested on the infrastructure automatically...It would be definitely better, this shell script is quite ugly, old and slow, It doesn't even use bitbake server which should really help in this case (it just calls "bitbake -e" for every combination of tune file and AVAILTUNES for it). It might also be affected by
ARM_INSTRUCTION_SETsetting in the distro, so in theory we should run most arm tunes twice.My previous test was testing only the "neon-vfpv4" tunes, because that was probably the last thing I've modified few years ago.
Yesterday I've noticed it and removed this filter .. and it's still running, now at:
Testing DEFAULTTUNE armv7a-vfpv3 (45/145) for fake MACHINE fake-cortexa53 (33/76)which means 45th DEFAULTTUNE from 145 on 33rd MACHINE from 76.. hopefully after it finishes all these cortex* variants it will get significantly faster, because other tune files don't have so many AVAILTUNES.
Sofar it found following issues (not all of them are from new tune files from Jon):
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa32.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa32) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa34.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa34) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa35.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa73) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa75) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa77.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa77) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-ep9312: Error, thePACKAGE_ARCHSvariable (all
any noarch arm armv4 armv4t ep9312fake_ep9312) for DEFAULTTUNE (ep9312) does not containTUNE_PKGARCH(ep9312t).scripts/tune/log.fake-mips-24k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips-74k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-neoversee1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversee1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversen1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversen1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-riscv.riscv32nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv32nffake_riscv) for DEFAULTTUNE (riscv32nf) does not containTUNE_PKGARCH(riscv32).scripts/tune/log.fake-riscv.riscv64nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv64nffake_riscv) for DEFAULTTUNE (riscv64nf) does not containTUNE_PKGARCH(riscv64).scripts/tune/log.fake-supersparc: Error, thePACKAGE_ARCHSvariable
(all any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}fake_supersparc) for DEFAULTTUNE (None) does not containTUNE_PKGARCH(supersparc).Toolchain tunings invalid:
A message that is not in the archive (sent off-list or not yet received): [email protected]
Yesterday I've sent last batch of fixes for tune files:
"tune-thunderx.inc: don't append _be to ARMPKGARCH for
tune-thunderx_be"
"siteinfo: Recognize 32bit PPC LE" "siteinfo: Recognize bigendian sh3be and sh4be"
now all included tune files can at least parse.
All the necessary fixes were sent to ML.
And with the tune/test.sh results are also in:
ttps://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
<https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test>
Regards,
Quoted 543 lines · Martin Jansa via lists.openembedded.org
The
tune-test.shjust finished (after 44 hours), there are 3 big groups of issues:1) 29 MACHINES with armv7atb-vfpv4d16 DEFAULTTUNE seem to be broken since:
commit
594f8584268d5179c18512beada2bae4a21325deAuthor: Phil Edworthy <[email protected]> Date: Wed Nov 28 10:09:57 2018 +0000arch-armv7*.inc: Add Cortex vfpv4-d16 support
Some ARM Cortex devices have the VFPv4-D16, but no NEON.
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa57.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa57) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa57-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa57_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa72.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa72) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa72-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa72_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa53.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa7.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa7) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa8.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa8) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa9.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa9) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-thunderx.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_thunderx) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).2) Duplicated "
_be" suffix in 24 MACHINES withaarch64_beDEFAULTTUNE seems to be introduced by:commit
08433cc58abf0cf3e42b22d20870a50287cfb8bcAuthor: Khem Raj <[email protected]> Date: Tue May 26 16:10:37 2020 -0700armv8/tunes: Set
TUNE_PKGARCH_64based on ARMPKGARCHBecause it's first included in ARMPKGARCH and then appended from
ARMPKGSFX_ENDIAN_64again:meta/conf/machine/include/arm/arch-arm64.inc:
ARMPKGARCH_tune-aarch64_be ?= "aarch64_be"
...ARMPKGSFX_ENDIAN_64= "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '_be', '', d)}"TUNE_ARCH_64= "aarch64${ARMPKGSFX_ENDIAN_64}"TUNE_PKGARCH_64= "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"
scripts/tune/log.fake-cortexa32.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa32) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa34.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa34) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa35.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa53.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa53) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa55.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa57.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa57) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa57-cortexa53.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa57_cortexa53) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa72.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa72) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa72-cortexa53.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa72_cortexa53) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa73) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa53.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa73_cortexa53) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa75) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa77.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa77) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversee1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversee1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversen1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversen1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-thunderx.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_thunderx) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-thunderx.thunderx_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_bethunderx_befake_thunderx) for DEFAULTTUNE (thunderx_be) does not containTUNE_PKGARCH(thunderx_be_be).3) Duplicated mips64el-o32 in 9 MACHINEs
commit
ae5073c4abd8935c01d14d3e6395124f815bd10bAuthor: Zubair Lutfullah Kakakhel <[email protected]> Date: Fri Sep 23 15:28:08 2016 +0100arch-mips: Add mips64-o32 tunes
meta/conf/machine/include/mips/arch-mips.inc:
PACKAGE_EXTRA_ARCHS_tune-mips64el-o32 = "mipsel mips64el-o32 mips64el-o32"
scripts/tune/log.fake-mips-24k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32r2.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips32r6.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64r2.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips64r6.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips-74k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-octeon.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o324) remaining issues:
scripts/tune/log.fake-ep9312: Error, thePACKAGE_ARCHSvariable (all
any noarch arm armv4 armv4t ep9312fake_ep9312) for DEFAULTTUNE (ep9312) does not containTUNE_PKGARCH(ep9312t).scripts/tune/log.fake-mips64r6.mipsisa64r6-nf: Error, thePACKAGE_ARCHS
variable (all any noarch mipsisa64r6fake_mips64r6) for DEFAULTTUNE (mipsisa64r6-nf) does not containTUNE_PKGARCH(mipsisa64r6-nf).scripts/tune/log.fake-riscv.riscv32nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv32nffake_riscv) for DEFAULTTUNE (riscv32nf) does not containTUNE_PKGARCH(riscv32).scripts/tune/log.fake-riscv.riscv64nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv64nffake_riscv) for DEFAULTTUNE (riscv64nf) does not containTUNE_PKGARCH(riscv64).scripts/tune/log.fake-supersparc: Error, thePACKAGE_ARCHSvariable
(all any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}fake_supersparc) for DEFAULTTUNE (None) does not containTUNE_PKGARCH(supersparc).Toolchain tunings invalid:Complete logs and this ugly&slow script from 2012 are included in:
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
Quoted 221 lines · Martin Jansa via lists.openembedded.org
Quoted 28 lines · Richard Purdie
Quoted 27 lines · Martin Jansa
Good catch, maybe we should require
tune-test.shtest for all tune modifying changes, it catches the issue as the very first tested case:Testing fake MACHINE fake-cortexa65 for include conf/machine/include/arm/armv8-2a/tune-cortexa65.inc (1/76)
ERROR: something wrong in openembedded-core/scripts/tune/log.fake- cortexa65martin@jama:/OE/build/oe-core$ cat openembedded- core/scripts/tune/log.fake-cortexa65 NOTE: Started PRServer with DBfile: /OE/build/oe- core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44979, PID: 158972 ERROR: OE-core's config sanity checker detected a potential misconfiguration. Either fix the cause of this error or at your own risk disable the checker (see sanity.conf). Following is the list of potential problems / advisories:Toolchain tunings invalid:
Tuning 'cortexa65' has the following errors:
Feature 'cortexa55' is not defined.Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Quoted 8 lines
Quoted 2 lines
I'll let it finish in master branch and update
https://git.openembedded.org/openembedded-core-contrib/log/?h=jansa/tune-test
Quoted 1 line
tomorrow.
Could we turn
tune-test.shinto something in oe-selftest? That way it would be tested on the infrastructure automatically...It would be definitely better, this shell script is quite ugly, old and slow, It doesn't even use bitbake server which should really help in this case (it just calls "bitbake -e" for every combination of tune file and AVAILTUNES for it). It might also be affected by
ARM_INSTRUCTION_SETsetting in the distro, so in theory we should run most arm tunes twice.My previous test was testing only the "neon-vfpv4" tunes, because that was probably the last thing I've modified few years ago.
Yesterday I've noticed it and removed this filter .. and it's still running, now at:
Testing DEFAULTTUNE armv7a-vfpv3 (45/145) for fake MACHINE fake-cortexa53 (33/76)which means 45th DEFAULTTUNE from 145 on 33rd MACHINE from 76.. hopefully after it finishes all these cortex* variants it will get significantly faster, because other tune files don't have so many AVAILTUNES.
Sofar it found following issues (not all of them are from new tune files from Jon):
scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa32.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa32) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa34.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa34) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa35.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa73) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16: Error,
thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa75) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16: Error,
thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76ae.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be: Error, thePACKAGE_ARCHSvariable (all any noarchaarch64_befake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16: Error,
thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-cortexa77.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_cortexa77) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-ep9312: Error, thePACKAGE_ARCHSvariable (all
any noarch arm armv4 armv4t ep9312fake_ep9312) for DEFAULTTUNE (ep9312) does not containTUNE_PKGARCH(ep9312t).scripts/tune/log.fake-mips-24k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-mips-74k.mips64el-o32: Error, thePACKAGE_ARCHS
variable contains duplicates. The following archs are listed more than
once: mips64el-o32scripts/tune/log.fake-neoversee1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversee1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-neoversen1.aarch64_be: Error, thePACKAGE_ARCHS
variable (all any noarchaarch64_befake_neoversen1) for DEFAULTTUNE (aarch64_be) does not containTUNE_PKGARCH(aarch64_be_be).scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16: Error, thePACKAGE_ARCHSvariable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16}fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not containTUNE_PKGARCH(armv7at2b-vfpv4d16).scripts/tune/log.fake-riscv.riscv32nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv32nffake_riscv) for DEFAULTTUNE (riscv32nf) does not containTUNE_PKGARCH(riscv32).scripts/tune/log.fake-riscv.riscv64nf: Error, thePACKAGE_ARCHS
variable (all any noarch riscv64nffake_riscv) for DEFAULTTUNE (riscv64nf) does not containTUNE_PKGARCH(riscv64).scripts/tune/log.fake-supersparc: Error, thePACKAGE_ARCHSvariable
(all any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}fake_supersparc) for DEFAULTTUNE (None) does not containTUNE_PKGARCH(supersparc).Toolchain tunings invalid: