Download Latest Version toolchain-x86_64-x86_64pc-linux-gnu-bin-1.0.1.tar.xz (73.9 MB)
Email in envelope

Get an email when there's a new version of ebye

Home / Cross-toolchains / aarch64_armv8
Name Modified Size InfoDownloads / Week
Parent folder
toolchain-aarch64-x86_64pc-linux-gnu-bin-1.6.2.1a53.tar.xz 2023-11-13 130.2 MB
README-aarch64.txt 2023-10-26 3.4 kB
toolchain-aarch64-x86_64pc-linux-gnu-bin-1.4.12a53.1.tar.xz 2022-09-26 79.9 MB
Totals: 3 Items   210.2 MB 0
Development host 64bit info
===========================
    (issue.net): Ubuntu 20.04.6 LTS
  (uname -snrv): Linux VMXub2004 5.4.0-165-generic #182-Ubuntu SMP Mon Oct 2 19:43:28 UTC 2023
       (gcc -v): gcc version 9.4.0 (Ubuntu 9.4.0-1ubuntu1~20.04.2)
                 target=x86_64-linux-gnu, multilib-list=m32,m64,mx32

Cross-toolchain 1.6.x info
==========================
- x86_64 host toolchain for aarch64 targets (aarch64linux, arm64)
- statically linked, position indipendent code host tools
- toolchain wrapper with --autolink, --flags, --version commands available
- default sysroot:aarch64-x86_64pc-linux-gnu
- kernel headers 4.14.311
- binutils 2.41 (1.6.2.1a53)
- glibc 2.38 (1.6.2.1a53) + CVE-2023-4527/4806/4911 patches
- gcc 12.3.0 + PURE64 and CVE-2023-4039 patch
- only c/c++, not "go"
- specialized build for armv8-a+sve,cortex-a53 
  (see mkktch*)
- Please build C++ sources with "-Werror=return-type" option!
  (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943 for details)
- See also: https://www.freshports.org/devel


Installation procedure:
=======================
- Expand into an existing folder (tar xJf ...)
- Add <folder>/bin to $PATH
- cd <folder>/bin
- ./toolchain-wrapper.sh --autolink ${MYTARGETNAME}
- Eventually set c++ standard, e.g.:
	sed --in-place=.bak -e "/^DSTCPPFL/s:=.*:=\"-std=c++1z\":" ./toolchain-wrapper.sh
- Use cross-tool with canonical name aarch64-${MYTARGETNAME}-*, e.g.:
	aarch64-arm64tgt-linux-gnu-gcc ...
	aarch64-arm64tgt-linux-gnu-g++ ...


Toolchain wrapper environment variables:
========================================
 _WRAPARCH                 : can be set to force $_EOSTCH_ARCH1 
                           :   or bypass both (wrapper won't add any flag!)
 SYSROOT                   : if defined, overwrite default (toolchain) sysroot path
 _EOSWRP_SECURITY_LEVEL    : set to 0..4, where '0' is "none" (default)
 _EOSWRP_ADD_SYSROOT_FLAGS : set to "no"  to stop adding sysroot-related opts
 _EOSWRP_ADD_SYSROOT_INCL  : set to "yes" to add sysroot include options, too
 _EOSWRP_ADD_RPATH_FLAGS   : set to "no" to stop adding "rpath" options
 _EOSWRP_ADD_USEROPTS_FIRST: set to "yes" to add user options before others


Warnings and known issues:
==========================
NONE (a.t.m)


Pending CVE and other known problems
====================================
   https://www.cvedetails.com/vulnerability-list/vendor_id-72/product_id-6825/GNU-Binutils.html
   https://www.cvedetails.com/vulnerability-list/vendor_id-72/product_id-960/GNU-GCC.html
   https://www.cvedetails.com/vulnerability-list/vendor_id-72/product_id-767/GNU-Glibc.html




Cross-toolchain 1.4.x info (older)
==================================
- x86_64 host toolchain for aarch64 targets (aarch64linux, arm64)
- statically linked, position indipendent code host tools
- toolchain wrapper with --autolink command available
- default sysroot:aarch64-x86_64pc-linux-gnu
- kernel headers 4.14.179
- binutils 2.34 (1.4.2), 2.35.1 (1.4.7) or 2.37 (1.4.12)
- glibc 2.31 (1.4.2), 2.32 (1.4.7) or 2.35 (1.4.12)
- gcc 9.3.0
- only c/c++, not "go"
- specialized build for cortex-a53 or cortex-a57
  (see mkktch* and rebuild.sh toolchain wrapper settings)
- definition of makedev/major/minor moved from sys/types.h to sys/sysmacros.h
- Please build C++ sources with "-Werror=return-type" option!
  (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43943 for details)

Source: README-aarch64.txt, updated 2023-10-26