Project

General

Profile

Actions

Bug #161

closed

crossgcc doesn't build for nds32le

Added by Julius Werner almost 6 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Category:
build system
Target version:
-
Start date:
03/19/2018
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

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.


Files

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

Updated by Patrick Georgi almost 6 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?

Actions #2

Updated by Patrick Georgi over 3 years ago

  • Status changed from New to Closed

The issue was with Chrome OS' build environment and the compiler there is now new enough to successfully build the cross compiler even without cross compiling.

Actions

Also available in: Atom PDF