Bug #161

crossgcc doesn't build for nds32le

Added by Julius Werner over 1 year ago. Updated about 1 year ago.

Status:NewStart date:03/19/2018
Priority:NormalDue date:
Assignee:Patrick Georgi% Done:

0%

Category:build system
Target version:-

Description

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.

nds32le-elf-GCC.build.log Magnifier (642 KB) Julius Werner, 03/19/2018 06:42 PM

History

#1 Updated by Patrick Georgi about 1 year 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?

Also available in: Atom PDF