The Linaro Binary Toolchain
The Linaro GCC 7.1-2017.08-rc1 Release-Candidate is now available.
Notice: GCC 7.1 ABI change for arm*-*-* targets, and note for aarch64*-*-* targets
From GCC 7.1 release notes:
On ARM targets (arm*-*-*), a bug introduced in GCC 5 that affects conformance to the procedure call standard (AAPCS) has been fixed. The bug affects some C++ code where class objects are passed by value to functions and could result in incorrect or inconsistent code being generated. This is an ABI change. If the option -Wpsabi is enabled (on by default) the compiler will emit a diagnostic note for code that might be affected.
GCC 5 and GCC 6 releases will continue to be affected by the ABI bug, since changing ABI in these releases is not practical. A warning enabled by -Wpsabi option was added to GCC 5 and GCC 6 toolchains to diagnose codebases that might be affected by the ABI bug.
Additionally, this same bug was present in AArch64 backend in development versions of GCC 7. There was no releases of GCC with this bug present in AArch64 backend, therefore the release notes does not mention this. However, be advised that any code bases built with development versions of GCC 7 need to be recompiled with released version of GCC 7 to conform to ABI.
For an explanation of GCC 7 series changes please see the following website:
For help in porting to GCC 7 please see the following explanation:
Download release-candidate packages from:
Previous snapshots and release-candidates are at:
Previous releases are at:
A description of the arm and AArch64 target triples can be found at:
Linaro officially supports the current and previous Ubuntu LTS releases (as of the time of this release). This does not mean that the toolchain will not work on other/older Linux distributions. See the following for the life-time of Ubuntu LTS releases.
The host system upon which the cross-compiler will run requires a minimum of glibc 2.14, because of API changes to glibc’s memcpy API.
Linaro GCC 7.1-2017.08-rc1
FSF glibc 2.25 (release/2.25)
Newlib 2.5 (newlib-2_5_0 tag)
GNU Binutils 2.28 (binutils-2_28-branch)
FSF GDB 8.0 (gdb-8.0-branch)
Linaro toolchain package git branches are hosted at:
NEWS for GCC 7 (as of Linaro GCC 7.1-2017.08-rc1)
- The Linaro GCC 7.1-2017.07 snapshot added prefetching configuration improvement for AArch64 targets and laid groundwork to enabling prefetching in more cases.
- Previous MinGW hosted version of Linaro GCC C preprocessor failed to convert character set used for string, character constants, etc. This is fixed in this release.
Linaro bugzilla #3040 : CC1 and cc1plus cannot convert UTF-8.
- Performance related backports from the following snapshots have been included: Linaro GCC 7.1-2017.05, Linaro GCC 7.1-2017.06 and Linaro GCC 7.1-2017.07.
See the following Linaro GCC snapshots:
File bugs at http://bugs.linaro.org
For Linaro member support see http://support.linaro.org
For Linaro community support email firstname.lastname@example.org