Issue #316 has been reported by Wladislav Artsimovich.
---------------------------------------- Bug #316: [crossgcc] Toolchain building for older Versions broken https://ticket.coreboot.org/issues/316
* Author: Wladislav Artsimovich * Status: New * Priority: Normal * Assignee: * Category: build system * Target version: ---------------------------------------- Building older versions of Coreboot (Tested was 4.10, 4.11, 4.12) errors out at different stages, on Manjaro Linux, with the latest updates. Building from git master works though. `make crossgcc-i386 CPUS=$(nproc)` fails with: **4.10:**
~~~ Building BINUTILS v2.32 for target ... failed. Check 'build-i386-elf-BINUTILS/build.log'. make[2]: *** [Makefile:26: build_gcc] Error 1 make[1]: *** [Makefile:48: build-i386] Error 2 make *** [util/crossgcc/Makefile.inc:47: crossgcc-i386] Error 2 ~~~ **4.11:**
~~~ Building BINUTILS v2.32 for target ... failed. Check 'build-i386-elf-BINUTILS/build.log'. make[2]: *** [Makefile:26: build_gcc] Error 1 make[1]: *** [Makefile:51: build-i386] Error 2 make *** [util/crossgcc/Makefile.inc:48: crossgcc-i386] Error 2 ~~~ **4.12:**
~~~ Building GCC v8.3.0 for target ... failed. Check 'build-i386-elf-GCC/build.log'. make[2]: *** [Makefile:26: build_gcc] Error 1 make[1]: *** [Makefile:51: build-i386] Error 2 make *** [util/crossgcc/Makefile.inc:35: crossgcc-i386] Error 2 ~~~ The logs are attached mentioned in these errors are attached.
~~~ System: Host: gigi-pc Kernel: 5.10.53-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: Budgie 10.5.3 wm: budgie-wm dm: LightDM Distro: Manjaro Linux base: Arch Linux CPU: Info: Quad Core model: Intel Core2 Extreme Q9300 bits: 64 type: MCP arch: Penryn rev: A cache: L2: 6 MiB flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 bogomips: 20277 Speed: 2533 MHz min/max: 1600/2534 MHz boost: enabled Core speeds (MHz): 1: 2533 2: 2534 3: 2534 4: 2534 Graphics: Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Lenovo driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:2a42 Display: x11 server: X.Org 1.20.11 compositor: budgie-wm driver: loaded: intel resolution: 1920x1200 s-dpi: 96 OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express (CTG) v: 2.1 Mesa 21.1.5 direct render: Yes ~~~ I need to build those older versions to properly build up and test an issue about Coreboot + Grub being broken on the Thinkpad x200 since 4.12.
---Files-------------------------------- 4.12-build-i386-elf-GCC-build.log (6.59 KB) 4.11-build-i386-elf-BINUTILS-build.log (133 KB) 4.10-build-i386-elf-BINUTILS-build.log (187 KB)