Hi Steve, On Tue, Oct 08, 2024 at 08:12:54PM -0700, Steve M wrote: > You reported that the cross compile fails only for certain architecture > combinations such as host arm64 cross building for amd64. Indeed, I was able > to > get this error on my pi5 when using sbuild to cross compile to amd64: > > cc1plus: error: �~@~X-fcf-protection=full�~@~Y is not supported for this > target > > So I think that is enough for me to use when testing the new build.
That also is a combination that exhibits the problem as amd64 compiler flags include -fcf-protection=full, which an arm64 compiler does not understand. I call this build=arm64, host=amd64 (and in case of gcc-avr always target=avr). Given your earlier mails, I think that the reverse direction where build=amd64 and host=arm64 is much faster for you and also exhibits the problem as -mbranch-protection=standard is an arm64 compiler flag that the amd64 compiler does not understand. Helmut