summaryrefslogtreecommitdiffstats
path: root/src/occ_gpe1
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 05:30:01 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-04-19 05:31:31 +0000
commita617682b21adb39921b65647c81ea9bf42c998d1 (patch)
tree0d5df32730a650baa57a4f88d96789d2da30e6a1 /src/occ_gpe1
parent58e422dede5932f5b8e01a88315001b0525cc478 (diff)
downloadtalos-occ-a617682b21adb39921b65647c81ea9bf42c998d1.tar.gz
talos-occ-a617682b21adb39921b65647c81ea9bf42c998d1.zip
Fix build failure on GCC8
When upgrading to GCC8, an .eh_frame section is automatically added. This consumes too much space in the relatively small OCC address map, leading to compilation failure. Pass -fno-asynchronous-unwind-tables to GCC to disable .eh_frame section generation.
Diffstat (limited to 'src/occ_gpe1')
-rw-r--r--src/occ_gpe1/img_defs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/occ_gpe1/img_defs.mk b/src/occ_gpe1/img_defs.mk
index b705145..4c8d531 100644
--- a/src/occ_gpe1/img_defs.mk
+++ b/src/occ_gpe1/img_defs.mk
@@ -216,6 +216,7 @@ GCC-CFLAGS += -meabi
GCC-CFLAGS += -ffreestanding
GCC-CFLAGS += -fno-common
GCC-CFLAGS += -fno-inline-functions-called-once
+GCC-CFLAGS += -fno-asynchronous-unwind-tables
GCC-CFLAGS += -std=gnu89
CFLAGS = -c $(GCC-CFLAGS) $(PIPE-CFLAGS) $(GCC-O-LEVEL) $(INCLUDES)
OpenPOWER on IntegriCloud