Closed dragosht closed 4 years ago
An easy fix would be to copy src/platform/imx8/include/lib/memory.h lines 73-100 ("Mailbox configuration") to src/platform/baytrail/include/lib/memory.h somewhere, they're missing. Maybe I'll do it on Monday.
@xiulipan looks like a gap in the CI, i.e. we are not building with some debug options.
Guess CI again only builds on defconfig. Maybe there should be an extra build for all non-conflicting options enabled, possibly two on BYT which cannot simultaneously enable everything due to lack of IRAM?
@paulstelian97 @lgirdwood will try to do some random config on daily build in CI to catch this kind of issues. It would take too much time on PR test, but I think it would be OK to do a daily scan for this.
@lgirdwood @xiulipan It was discussed many times over few months that these tests should be added because some1 finds out every month it fails when enabling/disabling traces/debug options. I'd not worry about travis taking more time to complete as it runs tests (successfully) in ~2 minutes, while there are CIs that take 20-40m to complete (when build is ok and it has to go on with python tests), so you have a lot free time here. To not waste CI time you should add condition that builds with other flags are run only when standard build was ok.
I also dont mind if this is daily and then bisected if there is a failure, I would not want CI to take longer than it already does given the number of times I have to manually restart CI for many PRs.
@lgirdwood Even after resolving this build issue GDB code still won't fit into text. IRAM on BYT is simple too small to have it supported along with the rest of default features. Should we somehow block this config option on BYT platform?
@tlauda lets fix the compilation part - the linker error will stay to remind users to remove features.
Describe the bug Enabling the GDB stub for BYT currently ends up in a build error.
To Reproduce make menuconfig Select Debug --> GDB Stub make