aboutsummaryrefslogtreecommitdiff
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorZaneZam <cyxman@yahoo.com>2017-04-06 21:47:13 +0200
committerMister Oyster <oysterized@gmail.com>2017-12-18 19:31:14 +0100
commit50eecffc259b6ba46805e793f1e81715f56a9138 (patch)
tree049c0e153b97a59e5a3d889fd0115eabbf6a6f09 /lib/dump_stack.c
parent522fe20f357d1761b6c3726eb46ed774a6957e97 (diff)
Makefile: Fix device not booting with GCC 7.x and above
@nathanchance: Filtered from the original commit (https://github.com/zanezam/boeffla-kernel-cm-n51x0/commit/228cc26b4b66ce3c9232eb00faaf95c3b1b3ae3c) I tested all of the flags in the above commit and this is the only one that prevented the phone from booting, with -Os, -O2, and -O3. Without this, the phone will boot to the Google logo, hang for a few seconds, then reboot, and repeat the process. This flag can be read about below. This issue can also be resolved (supposedly) with the -mstrict-align flag, leading me to believe it is something with memory access. I believe this is a better solution though given that ARM handles unaligned access perfectly fine. https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-fstore-merging https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#index-mstrict-align Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions