On 03/03/2025 6:59 pm, Stewart Hildebrand wrote: > On 2/13/25 20:05, Andrew Cooper wrote: >> On 13/02/2025 6:50 pm, Stewart Hildebrand wrote: >>> When building with CONFIG_HVM=n and -Og, we encounter: >>> >>> prelink.o: in function `pit_set_gate': >>> xen/xen/arch/x86/emul-i8254.c:195: undefined reference to >>> `destroy_periodic_time' > <snip> > >> Is this the singular failure with -Og, or are there others? I never got >> it working, and there were quite a few failures that failed to get a >> resolution. > This is the only one that I'm aware of, and it only occurs when > CONFIG_HVM=n. I only happened to stumble upon this occurrence because > allyesconfig apparently results in CONFIG_HVM=n.
Yes. That's a know misbehaviour that doesn't have a resolution that everyone is happy with. > I've been building Xen > with -Og in my development workflow for a couple of releases now. We really ought to be using -Og rather than -O1 when available. If you fix this bug, then change Xen's default, randconfig in CI will keep it working. ~Andrew