1
0
Fork 0
forked from mirror/openwrt
openwrt/toolchain
Hauke Mehrtens d9de5252a4 toolchain/gcc: switch to version 12 by default
This was build tested with all core packages on all targets
successfully.

Most packages from the feed are also building fine.

This was run tested on the following systems:
* lantiq/xrx200 musl
* pistachio/generic musl
* sunxi/cortexa53 musl
* x86/64 musl
* x86/64 glibc
* armvirt/64 musl

The size of the images stays more or less the same for MIPS BE and
aarch64. I haven't tested other architectures.

With GCC 11 I got these sizes for lantiq/xrx200:
7,219,848 openwrt-lantiq-xrx200-tplink_tdw8970-initramfs-kernel.bin
7,472,208 openwrt-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin

With GCC 12 I got these sizes for lantiq/xrx200:
7,217,355 openwrt-lantiq-xrx200-tplink_tdw8970-initramfs-kernel.bin
7,406,674 openwrt-lantiq-xrx200-tplink_tdw8970-squashfs-sysupgrade.bin

The sysupgrade image is probably padded. The initramfs image is 0.03% smaller.

With GCC 11 I got these sizes for armvirt/64:
 4,143,943 openwrt-armvirt-64-default-rootfs.tar.gz
10,887,176 openwrt-armvirt-64-Image
24,911,880 openwrt-armvirt-64-Image-initramfs
 4,141,572 openwrt-armvirt-64-rootfs.cpio.gz
 4,255,854 openwrt-armvirt-64-rootfs-ext4.img.gz
 3,391,178 openwrt-armvirt-64-rootfs-squashfs.img.gz

With GCC 12 I got these sizes for armvirt/64:
 4,142,778 openwrt-armvirt-64-default-rootfs.tar.gz
10,887,176 openwrt-armvirt-64-Image
24,911,880 openwrt-armvirt-64-Image-initramfs
 4,138,105 openwrt-armvirt-64-rootfs.cpio.gz
 4,255,463 openwrt-armvirt-64-rootfs-ext4.img.gz
 3,390,390 openwrt-armvirt-64-rootfs-squashfs.img.gz

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2023-01-09 00:23:41 +01:00
..
binutils toolchain/binutils: switch to version 2.39 by default 2023-01-01 18:55:04 +01:00
fortify-headers build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
gcc toolchain/gcc: switch to version 12 by default 2023-01-09 00:23:41 +01:00
gdb toolchain/gdb: fix expat location 2022-09-27 16:39:37 +02:00
glibc toolchain: glibc: Update to glibc 2.36 2022-12-21 11:35:32 +01:00
kernel-headers toolchain: kernel-headers: kernel Git tree mirror hash 2020-11-27 14:46:13 +01:00
musl toolchain: musl: Update to version 1.2.3 2022-04-11 21:41:03 +02:00
nasm toolchain/nasm: update to 2.16.01 2023-01-04 23:40:28 +01:00
wrapper buildroot: allow specifying libc personality for external toolchains 2013-02-20 15:06:10 +00:00
build_version toolchain: add a version that can be bumped to force toolchain/target rebuild 2021-11-16 22:02:45 +01:00
Config.in toolchain: Include ./include/fortify for external musl toolchain 2022-09-12 23:34:10 +02:00
info.mk uClibc cleanup: - use full version string (0.9.30.1), instead of base (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) 2009-04-24 02:07:24 +00:00
Makefile Revert "toolchain: add autoconf-lean" 2021-03-02 11:36:36 +00:00