Files
openwrt/docs/glax1800-build-results.md
2026-03-22 00:54:57 -07:00

2.0 KiB
Executable File

GL-AX1800 Package Build Results

Important

Architecture Confirmed (2026-01-11): The GL-AX1800 uses ARMv7 rev 4 (v7l) - 32-bit ARM architecture. The GL.iNet SDK ipq807x-2102 correctly targets 32-bit ARM, but uses an outdated GCC 5.5.0 toolchain that cannot compile modern C++23 code.

Date: 2026-01-11
Target: GL-AX1800 (Flint 1) - IPQ6000 SoC
Architecture: ARMv7 Processor rev 4 (v7l) - 32-bit ARM
SDK Tested: ipq807x-2102 (GCC 5.5.0, ARM Cortex-A7, 32-bit) - Correct arch, outdated compiler

Summary

Attempted to build btop and mosh packages using the GL.iNet SDK. Both failed due to the SDK's outdated GCC 5.5.0 toolchain.

Findings

SDK Architecture

The ipq807x-2102 SDK targets 32-bit ARM (arm_cortex-a7), which matches the actual hardware architecture (ARMv7). However, the toolchain is outdated (GCC 5.5.0 from ~2017) and cannot compile modern C++ standards.

btop (v1.4.6)

  • Error: error: unrecognized command line option '-std=c++23'
  • Cause: btop requires C++23, GCC 5.5.0 only supports up to C++14
  • Resolution: Would need GCC 11+ minimum (GCC 14 recommended)

mosh (protobuf dependency)

  • Error: constexpr constructor calls non-constexpr function
  • Cause: protobuf 3.17.3 uses C++14 constexpr features that GCC 5.5.0 doesn't fully implement
  • Resolution: Would need GCC 7+ for full C++14 constexpr support

Successfully Built

  • ncurses 6.2
  • OpenSSL 1.1.1v
  • terminfo
  • cryptodev-linux 1.12
  • Hundreds of kernel modules for ipq807x

Recommendations (Updated 2026-01-11)

Note

The GL-AX1800 uses ARMv7 (32-bit ARM), requiring modern ARMv7 toolchains:

  1. Use musl.cc ARMv7 toolchain - Pre-built armv7l-linux-musleabihf with modern GCC
  2. Alternative: musl-cross-make - Build your own ARM v7 toolchain with GCC 14+
  3. Not recommended: GL.iNet SDK - Correct architecture but GCC too old (5.5.0)
  4. See detailed options in: agent-notes/flint1-sdk-research.md