On 04/06/2016 07:35 AM, Eric Blake wrote: > Fedora 23 recently pushed acpica-tools.x86_64 20160318-1.fc23; with this > installed, 'make check-qtest' (part of 'make check') now fails with: > > GTESTER check-qtest-x86_64 > ** > ERROR:tests/bios-tables-test.c:455:normalize_asl: assertion failed: > (block_name) > GTester: last random seed: R02S920fc706036c189c6183c50ae002dbd1 > ** > ERROR:tests/bios-tables-test.c:455:normalize_asl: assertion failed: > (block_name) > GTester: last random seed: R02Sccc109c5192857eddb99203160e3f750 > ** > ERROR:tests/bios-tables-test.c:455:normalize_asl: assertion failed: > (block_name) > GTester: last random seed: R02S4c7289cb7d625a50855ca9a69e2ba8dc > ** > ERROR:tests/bios-tables-test.c:455:normalize_asl: assertion failed: > (block_name) > GTester: last random seed: R02Sf7cb7c41ed3718deced4d57cde200401 > /home/eblake/qemu/tests/Makefile:638: recipe for target > 'check-qtest-x86_64' failed > > Reverting (# dnf downgrade --disablerepo=updates acpica-tools) to > acpica-tools.x86_64 20150619-2.fc23 lets the tests pass again. I don't > know enough about the test or the tools to know if the problem is a > change in expected output (the qemu test is not tolerant enough, in > which case we should improve the test), or a regression in upstream > acpica-tools (in which case I should file a BZ), but this should > probably be addressed before 2.6. >
In the function load_asl(), we will use iasl to convert aml file to asl source code file. I copy the iasl file from /tmp/ to another directory, so I can use old version and new version iasl to investigate. Here is the different: @@ -18,7 +18,7 @@ * Compiler ID "BXPC" * Compiler Version 0x00000001 (1) */ -DefinitionBlock ("t1.aml", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) +DefinitionBlock ("", "DSDT", 1, "BOCHS ", "BXPCDSDT", 0x00000001) { Scope (\) { The newest iasl does't output the aml filename: "tl.aml" In the function normalize_asl(): we hope the output contains the aml filename... Thanks Wen Congyang