Yonggang Luo <[email protected]> writes:
> Collect each target-info-def.c object in target_info_def_objects,
> keyed by target dir. Link every value so constructors fill the
> list. Assert target_info() is not NULL and target_info_list() has
> one entry per linked object.
>
> Signed-off-by: Yonggang Luo <[email protected]>
Doesn't compile for me:
../tests/unit/meson.build:47:37: ERROR: Unknown method "values" in object
<[DictHolder] holds [dict]: {'aarch64-linux-user': <ExtractedObjects
'qemu-aarch64-linux-user': [<File: target-info-def.c (not built)>]>,
'aarch64_be-linux-user': <ExtractedObjects 'qemu-aarch64_be-linux-user':
[<File: target-info-def.c (not built)>]>, 'alpha-linux-user': <ExtractedObjects
'qemu-alpha-linux-user': [<File: target-info-def.c (not built)>]>,
'arm-linux-user': <ExtractedObjects 'qemu-arm-linux-user': [<File:
target-info-def.c (not built)>]>, 'armeb-linux-user': <ExtractedObjects
'qemu-armeb-linux-user': [<File: target-info-def.c (not built)>]>,
'hexagon-linux-user': <ExtractedObjects 'qemu-hexagon-linux-user': [<File:
target-info-def.c (not built)>]>, 'hppa-linux-user': <ExtractedObjects
'qemu-hppa-linux-user': [<File: target-info-def.c (not built)>]>,
'i386-linux-user': <ExtractedObjects 'qemu-i386-linux-user': [<File:
target-info-def.c (not built)>]>, 'loongarch64-linux-user': <ExtractedObjects
'qemu-loongarch64-linux-user': [<File: target-info-def.c (not built)>]>,
'm68k-linux-user': <ExtractedObjects 'qemu-m68k-linux-user': [<File:
target-info-def.c (not built)>]>, 'microblaze-linux-user': <ExtractedObjects
'qemu-microblaze-linux-user': [<File: target-info-def.c (not built)>]>,
'microblazeel-linux-user': <ExtractedObjects 'qemu-microblazeel-linux-user':
[<File: target-info-def.c (not built)>]>, 'mips-linux-user': <ExtractedObjects
'qemu-mips-linux-user': [<File: target-info-def.c (not built)>]>,
'mips64-linux-user': <ExtractedObjects 'qemu-mips64-linux-user': [<File:
target-info-def.c (not built)>]>, 'mips64el-linux-user': <ExtractedObjects
'qemu-mips64el-linux-user': [<File: target-info-def.c (not built)>]>,
'mipsel-linux-user': <ExtractedObjects 'qemu-mipsel-linux-user': [<File:
target-info-def.c (not built)>]>, 'mipsn32-linux-user': <ExtractedObjects
'qemu-mipsn32-linux-user': [<File: target-info-def.c (not built)>]>,
'mipsn32el-linux-user': <ExtractedObjects 'qemu-mipsn32el-linux-user': [<File:
target-info-def.c (not built)>]>, 'or1k-linux-user': <ExtractedObjects
'qemu-or1k-linux-user': [<File: target-info-def.c (not built)>]>,
'ppc-linux-user': <ExtractedObjects 'qemu-ppc-linux-user': [<File:
target-info-def.c (not built)>]>, 'ppc64-linux-user': <ExtractedObjects
'qemu-ppc64-linux-user': [<File: target-info-def.c (not built)>]>,
'ppc64le-linux-user': <ExtractedObjects 'qemu-ppc64le-linux-user': [<File:
target-info-def.c (not built)>]>, 'riscv32-linux-user': <ExtractedObjects
'qemu-riscv32-linux-user': [<File: target-info-def.c (not built)>]>,
'riscv64-linux-user': <ExtractedObjects 'qemu-riscv64-linux-user': [<File:
target-info-def.c (not built)>]>, 's390x-linux-user': <ExtractedObjects
'qemu-s390x-linux-user': [<File: target-info-def.c (not built)>]>,
'sh4-linux-user': <ExtractedObjects 'qemu-sh4-linux-user': [<File:
target-info-def.c (not built)>]>, 'sh4eb-linux-user': <ExtractedObjects
'qemu-sh4eb-linux-user': [<File: target-info-def.c (not built)>]>,
'sparc-linux-user': <ExtractedObjects 'qemu-sparc-linux-user': [<File:
target-info-def.c (not built)>]>, 'sparc32plus-linux-user': <ExtractedObjects
'qemu-sparc32plus-linux-user': [<File: target-info-def.c (not built)>]>,
'sparc64-linux-user': <ExtractedObjects 'qemu-sparc64-linux-user': [<File:
target-info-def.c (not built)>]>, 'x86_64-linux-user': <ExtractedObjects
'qemu-x86_64-linux-user': [<File: target-info-def.c (not built)>]>,
'xtensa-linux-user': <ExtractedObjects 'qemu-xtensa-linux-user': [<File:
target-info-def.c (not built)>]>, 'xtensaeb-linux-user': <ExtractedObjects
'qemu-xtensaeb-linux-user': [<File: target-info-def.c (not built)>]>,
'aarch64-softmmu': <ExtractedObjects 'qemu-aarch64-softmmu': [<File:
target-info-def.c (not built)>]>, 'alpha-softmmu': <ExtractedObjects
'qemu-alpha-softmmu': [<File: target-info-def.c (not built)>]>, 'arm-softmmu':
<ExtractedObjects 'qemu-arm-softmmu': [<File: target-info-def.c (not built)>]>,
'avr-softmmu': <ExtractedObjects 'qemu-avr-softmmu': [<File: target-info-def.c
(not built)>]>, 'hexagon-softmmu': <ExtractedObjects 'qemu-hexagon-softmmu':
[<File: target-info-def.c (not built)>]>, 'hppa-softmmu': <ExtractedObjects
'qemu-hppa-softmmu': [<File: target-info-def.c (not built)>]>, 'i386-softmmu':
<ExtractedObjects 'qemu-i386-softmmu': [<File: target-info-def.c (not
built)>]>, 'loongarch64-softmmu': <ExtractedObjects 'qemu-loongarch64-softmmu':
[<File: target-info-def.c (not built)>]>, 'm68k-softmmu': <ExtractedObjects
'qemu-m68k-softmmu': [<File: target-info-def.c (not built)>]>,
'microblaze-softmmu': <ExtractedObjects 'qemu-microblaze-softmmu': [<File:
target-info-def.c (not built)>]>, 'mips-softmmu': <ExtractedObjects
'qemu-mips-softmmu': [<File: target-info-def.c (not built)>]>,
'mips64-softmmu': <ExtractedObjects 'qemu-mips64-softmmu': [<File:
target-info-def.c (not built)>]>, 'mips64el-softmmu': <ExtractedObjects
'qemu-mips64el-softmmu': [<File: target-info-def.c (not built)>]>,
'mipsel-softmmu': <ExtractedObjects 'qemu-mipsel-softmmu': [<File:
target-info-def.c (not built)>]>, 'or1k-softmmu': <ExtractedObjects
'qemu-or1k-softmmu': [<File: target-info-def.c (not built)>]>, 'ppc-softmmu':
<ExtractedObjects 'qemu-ppc-softmmu': [<File: target-info-def.c (not built)>]>,
'ppc64-softmmu': <ExtractedObjects 'qemu-ppc64-softmmu': [<File:
target-info-def.c (not built)>]>, 'riscv32-softmmu': <ExtractedObjects
'qemu-riscv32-softmmu': [<File: target-info-def.c (not built)>]>,
'riscv64-softmmu': <ExtractedObjects 'qemu-riscv64-softmmu': [<File:
target-info-def.c (not built)>]>, 'rx-softmmu': <ExtractedObjects
'qemu-rx-softmmu': [<File: target-info-def.c (not built)>]>, 's390x-softmmu':
<ExtractedObjects 'qemu-s390x-softmmu': [<File: target-info-def.c (not
built)>]>, 'sh4-softmmu': <ExtractedObjects 'qemu-sh4-softmmu': [<File:
target-info-def.c (not built)>]>, 'sh4eb-softmmu': <ExtractedObjects
'qemu-sh4eb-softmmu': [<File: target-info-def.c (not built)>]>,
'sparc-softmmu': <ExtractedObjects 'qemu-sparc-softmmu': [<File:
target-info-def.c (not built)>]>, 'sparc64-softmmu': <ExtractedObjects
'qemu-sparc64-softmmu': [<File: target-info-def.c (not built)>]>,
'tricore-softmmu': <ExtractedObjects 'qemu-tricore-softmmu': [<File:
target-info-def.c (not built)>]>, 'x86_64-softmmu': <ExtractedObjects
'qemu-x86_64-softmmu': [<File: target-info-def.c (not built)>]>,
'xtensa-softmmu': <ExtractedObjects 'qemu-xtensa-softmmu': [<File:
target-info-def.c (not built)>]>, 'xtensaeb-softmmu': <ExtractedObjects
'qemu-xtensaeb-softmmu': [<File: target-info-def.c (not built)>]>}> of type
DictHolder.
I have meson 1.8.5.