Hi Daniel, On Thu, Jan 16, 2020 at 12:04:12PM -0800, Daniel Schepler wrote: > Also, by the way, the amd64 -> i386 cross built core packages largely > worked OK, with the exception of gcc-9, which ended up with incorrect > include-fixed/limits.h, and with a compiler that required -lssp when > building with -fstack-protector-strong or -fstack-protector as almost > all Debian packages do. To anybody on the list: is there something I > did wrong with the cross build there, which was to run > "dpkg-buildpackage -a i386 -B -Pcross"?)
This sounds a lot like you're running into https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80677. Cross building gcc tends to not work in my experience, see: http://crossqa.debian.net/src/gcc-8 http://crossqa.debian.net/src/gcc-9 For gcc-9, the --host flag is not properly passed down to the gm2 component. This is reported as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92336. I think the expectation that it works is misguided. Adding DEB_BUILD_OPTIONS=nocheck might increase your chances of a successful build. Quite certainly, more work is needed here. Unfortunately, we sorely lack porters and everyone seems to expect that things just work without anyone doing the work. Helmut