Hi Matthew, Thanks for the review. I've added an SRU template for this bug report.
** Description changed: + ----- SRU template begins ----- + + [ Impact ] + + This does not directly impact a user. + + The ghostty packaging bug [1] caused ghostty initialization failures on + non-AVX CPU models, because ghostty wasn't built for the baseline CPU. + + While fixing this bug, a dep8 test was added to assert that ghostty built with -Dcpu=baseline works on non-AVX CPUs, using qemu-x86_64. However, builds on amd64v3 contain AVX,AVX2 instructions and the this test fails on the + amd64v3 variant. + + [ Test Plan ] + + The following command should fail on amd64v3, both with and without the + changes for [1]. + + # Nehalem is a cpu model without AVX support + $ qemu-x86_64 -cpu Nehalem /usr/bin/ghostty +version + qemu: uncaught target signal 4 (Illegal instruction) - core dumped + + We SHOULD NOT be running this test on amd64v3, because the baseline builds on + this variant include the AVX,AVX2 instructions. + + The fix here is to SKIP this test on amd64v3. + + [ Where problems could occur ] + + This is not directly related to the change, but we do not have tests + that assert some kind of baseline CPU behavior for amd64v3 and arm64. + + [ Other Info ] + + This change is related to and depends on [1], and should + be included in the SRU for [1]. + + [1] https://bugs.launchpad.net/ubuntu/+source/ghostty/+bug/2148769 + + + ----- SRU template ends ----- + The new dep8 test added for the fix of [2] fails on amd64v3. This means amd64 and amd64v3 have different feature evaluations for -Dcpu=baseline. Though it isn't very clear from the documentation, this means baseline depends on the host architecture (of the build machine). - [1] https://autopkgtest.ubuntu.com/packages/ghostty/stonking/amd64v3/20260531_025416_bb247@ [2] https://bugs.launchpad.net/ubuntu/+source/ghostty/+bug/2148769 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2155110 Title: Autopkgtest failure on amd64v3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ghostty/+bug/2155110/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
