1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/include
Boris Krasnovskiy 8dcc108760 toolchain: ARM: Fix toolchain compilation for gcc 8.x
Set the toolchain's ARM CPU and FPU architectures by utilizing' gcc's
--with-cpu / --with-fpu configure options that: "Specify which cpu
variant the compiler should generate code for by default. cpu will
be used as the default value of the -mcpu= switch."

This will resolve the following kernel compilation failures under
gcc 8.x on ARM because the kernel wants to set (possibly conflicting)
optimization flags.

.../ccyVnmrs.s:204: Error: selected processor does not support `dmb ish' in ARM mode
.../ccyVnmrs.s:215: Error: architectural extension `mp' is not allowed for the current base architecture
.../ccyVnmrs.s:216: Error: selected processor does not support `pldw [r4]' in ARM mode

Because this is a big change, the .config and toolchain need to be
refreshed (as in removed and regenerated).

Reported-by: Ansuel Smith <ansuelsmth@gmail.com>
Reported-by: Daniel Engberg <daniel.engberg.lists@pyret.net> [#1203]
Signed-off-by: Boris Krasnovskiy <borkra@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com> [extended commit message,
removed now-deprecated CPU_CFLAGS, changed author to gmail address]
2019-03-25 21:15:58 +01:00
..
site include/site: add powerpc64 config 2017-10-24 13:24:04 +02:00
autotools.mk treewide: fix build depends to refer to source package names 2018-01-13 19:54:44 +01:00
cmake.mk build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk 2018-09-29 17:23:11 +02:00
debug.mk
depends.mk build: add missing wildcard for ignoring .pkgdir in dependency checks 2017-02-05 22:17:30 +01:00
device_table.txt
download.mk download.mk: enable DownloadMethod/github_archive 2018-07-05 01:30:57 +08:00
feeds.mk build: suppress error output in feeds.mk 2019-03-22 00:40:29 +01:00
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 2018-01-27 16:46:45 +01:00
hardening.mk build: fix ASLR for LTO packages 2018-07-30 14:26:16 +02:00
host-build.mk build: do not override CCACHE_DIR when ccache is disabled 2018-07-24 15:23:05 +02:00
image-commands.mk metadata: add "metadata_version" field 2019-03-06 01:11:54 +01:00
image-legacy.mk image: fix ar71xx legacy images 2017-07-15 07:02:59 +02:00
image.mk IB: include SUPPORTED_DEVICES in 'make info' output 2019-03-11 05:32:29 +01:00
kernel-build.mk include/kernel-build.mk: fix kernel rebuild on backport patch changes 2018-07-14 13:07:34 +02:00
kernel-defaults.mk kernel: fix downloading rcX releases 2018-12-03 09:34:57 +01:00
kernel-version.mk kernel: bump 4.14 to 4.14.107 2019-03-22 18:14:28 +01:00
kernel.mk include/kernel: sort autoload modules list to fix reproducible builds 2019-02-28 17:57:30 +01:00
netfilter.mk netfilter: Add fib support for nftables 2018-12-16 00:57:20 +01:00
nls.mk treewide: fix build depends to refer to source package names 2018-01-13 19:54:44 +01:00
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 2017-01-23 13:49:45 +01:00
package-defaults.mk include/package-defaults.mk: fix default Build/Prepare with empty ./src 2018-03-07 09:59:08 +01:00
package-dumpinfo.mk build: expose ABI version in .packageauxvars 2019-01-19 14:32:01 +01:00
package-ipkg.mk build: formatting fixes for per-provide ABI_VERSION suffixes 2019-01-24 12:51:39 +01:00
package-seccomp.mk
package.mk build: fix STAGING_DIR cleaning for packages 2019-01-30 12:32:07 +01:00
prereq-build.mk build: fix umask detection bashism 2019-01-30 12:39:18 +01:00
prereq.mk include: extend SetupHostCommand macro to accept more arguments 2018-04-05 13:58:15 +02:00
quilt.mk build: Use LINUX_DIR for Kernel/Patch 2019-01-30 13:20:14 +01:00
rootfs.mk include/rootfs.mk: remove boot directory 2018-11-26 12:05:44 +01:00
scan.awk
scan.mk build: Fix print without color 2019-02-17 19:30:34 +01:00
scons.mk
shell.sh
subdir.mk build: remove GNU time dependency 2018-08-05 00:06:27 +02:00
target.mk toolchain: ARM: Fix toolchain compilation for gcc 8.x 2019-03-25 21:15:58 +01:00
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 2019-01-24 21:52:39 +01:00
toplevel.mk build: rename .packagesubdirs to .packageauxvars 2019-01-19 14:31:56 +01:00
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 2019-01-26 21:46:32 +01:00
uclibc++.mk
unpack.mk
verbose.mk include/verbose.mk: Add sc to failure message 2018-07-30 10:43:36 +02:00
version.mk base-files: fix HOME_URL replace 2018-08-02 07:54:40 +02:00