crossgcc doesn't build for nds32le
|Assignee:||Patrick Georgi||% Done:|
Every time I try to 'make crossgcc' from ToT coreboot I get a build error for the nds32le GCC. This may be dependent on the environment, but I'm running in a normal Chromium OS SDK chroot, we should probably make sure it at least works there due to the amount of coreboot developers from Chromium OS. Full build log with the error attached, this was done in a coreboot checkout from fd228e979.
#1 Updated by Patrick Georgi over 2 years ago
I can reproduce the issue inside the cros chroot, but it's also fixed by adding BUILDGCC_OPTIONS=-b, which is what the coreboot-sdk ebuild does, too.
That makes it first build a bootstrap compiler (which is much more modern than good^Wbad old 4.9.2). Not sure what a proper resolution here is, make -b the default for the targets in util/crossgcc/Makefile to ensure that ancient host compilers don't pose a problem?