freebsd-dev/share/mk
Adrian Chadd bd72252aac [mips] revert r366664 - flip mips back from -O2 to -O
Now that I have -head fitting in 8MB of flash again, I can test
out freebsd-head on my home AP test setup.  Unfortunately,
the introduction of -O2 in r366664 causes the following infinite
loop shortly after boot:

------

MAP: No valid partition found at map/rootfs.uzip
Warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
BAD_PAGE_FAULT: pid 1 tid 100001 (init), uid 0: pc 0x4042c320 got a read fault (type 0x2) at 0x2e3a0
Trapframe Register Dump:
        zero: 0 at: 0   v0: 0   v1: 0
        a0: 0x1af34     a1: 0   a2: 0   a3: 0x7fffeff0
        t0: 0   t1: 0   t2: 0   t3: 0
        t4: 0   t5: 0   t6: 0   t7: 0
        t8: 0   t9: 0x152e8     s0: 0x7fffee84  s1: 0
        s2: 0   s3: 0   s4: 0   s5: 0
        s6: 0   s7: 0   k0: 0   k1: 0
        gp: 0x362c0     sp: 0x7fffedf0  s8: 0   ra: 0x40417df0
        sr: 0xf413      mullo: 0        mulhi: 0        badvaddr: 0x2e3a0
        cause: 0xffffffff80000008       pc: 0x4042c31c
Page table info for pc address 0x4042c320: pde = 0x80712000, pte = 0xa002065a
Dumping 4 words starting at pc address 0x4042c320:
8f9980e0 80820000 10400067 00809825
Page table info for bad address 0x2e3a0: pde = 0, pte = 0

------

I'm not yet sure why, but until I figure it out with the mips64/cheri
folk this should be reverted.

This should only use -O on GCC generated code for MIPS platforms.

Tested:

* QCA934x (mips74k) - WDR-3600/WDR-4300 APs

Differential Revision: https://reviews.freebsd.org/D28122
2021-01-13 23:03:53 -08:00
..
atf.test.mk
auto.obj.mk
bsd.arch.inc.mk
bsd.clang-analyze.mk
bsd.compat.mk bsd.compat.mk: Allow finding non-internal libraries 2021-01-08 14:34:21 -08:00
bsd.compiler.mk Support initializing stack variables on function entry 2020-11-10 19:15:13 +00:00
bsd.confs.mk
bsd.cpu.mk [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
bsd.crunchgen.mk
bsd.dep.mk
bsd.dirs.mk
bsd.doc.mk
bsd.dtb.mk
bsd.endian.mk [PowerPC64LE] Set up powerpc.powerpc64le architecture 2020-09-22 23:49:30 +00:00
bsd.files.mk mk: Set the DIR tags based on the files one 2021-01-04 16:20:04 +01:00
bsd.incs.mk bsd.incs.mk: Add support to override tags for a specific include group 2021-01-04 16:21:32 +01:00
bsd.info.mk
bsd.init.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
bsd.kmod.mk
bsd.lib.mk Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.libnames.mk bsd.compat.mk: Allow finding non-internal libraries 2021-01-08 14:34:21 -08:00
bsd.linker.mk Avoid recomputing COMPILER_/LINKER_ variables when set explicitly 2020-08-26 10:21:38 +00:00
bsd.links.mk
bsd.man.mk
bsd.mkopt.mk
bsd.nls.mk
bsd.obj.mk NO_OBJ: Always fix .OBJDIR regardless of AUTO_OBJ. 2020-04-07 17:07:04 +00:00
bsd.opts.mk Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.own.mk
bsd.port.mk
bsd.port.options.mk
bsd.port.post.mk
bsd.port.pre.mk
bsd.port.subdir.mk
bsd.prog.mk Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.progs.mk Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.README Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.snmpmod.mk
bsd.subdir.mk Add a guard for broken SUBDIR.${MK_FOO} use 2020-11-16 19:15:11 +00:00
bsd.suffixes-posix.mk
bsd.suffixes.mk
bsd.symver.mk Remove the SYMVER build option. 2020-04-30 22:08:40 +00:00
bsd.sys.mk Rename NO_WERROR -> MK_WERROR=no 2021-01-07 09:31:03 +00:00
bsd.sysdir.mk
bsd.test.mk Make capsicum test cases fine-grained 2020-10-06 06:45:52 +00:00
dirdeps-options.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
dirdeps-targets.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
dirdeps.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
gendirdeps.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
googletest.test.inc.mk
googletest.test.mk Make capsicum test cases fine-grained 2020-10-06 06:45:52 +00:00
host-target.mk
install-new.mk
kmod.opts.mk
local.autodep.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
local.dirdeps-options.mk
local.dirdeps.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
local.gendirdeps.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
local.init.mk
local.meta.sys.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
local.sys.env.mk
local.sys.mk
Makefile
meta2deps.py Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta2deps.sh Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta.autodep.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta.stage.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta.subdir.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
meta.sys.mk Update dirdeps.mk et al to latest 2020-11-24 21:45:38 +00:00
netbsd-tests.test.mk
plain.test.mk
src.init.mk
src.libnames.mk ncurses: only keep the version with widechar support 2021-01-05 14:01:32 +01:00
src.lua.mk
src.opts.mk [wpa] Add support for hostapd/wpa_supplicant when WITHOUT_CRYPT=YES 2021-01-12 16:43:19 -08:00
src.sys.env.mk
src.sys.mk build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
src.sys.obj.mk
src.tools.mk Normalize deployment tools usage and definitions by putting into one place 2020-04-07 02:46:22 +00:00
stage-install.sh
suite.test.mk build: make check: use a PATH search instead for Kyua 2021-01-14 00:37:48 -06:00
sys.dependfile.mk
sys.mk [mips] revert r366664 - flip mips back from -O2 to -O 2021-01-13 23:03:53 -08:00
tap.test.mk
version_gen.awk