[haiku-commits] r39071 - haiku/trunk/build/jam

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 23 Oct 2010 17:35:41 +0200 (CEST)

Author: anevilyak
Date: 2010-10-23 17:35:41 +0200 (Sat, 23 Oct 2010)
New Revision: 39071
Changeset: http://dev.haiku-os.org/changeset/39071

Modified:
   haiku/trunk/build/jam/BuildSetup
Log:
When using gcc 4, disallow use of CFI asm for now. This renders executables
generated by Haiku's build sys usable with our Debugger, pending support
for gcc4's (different) exception handler frame format.



Modified: haiku/trunk/build/jam/BuildSetup
===================================================================
--- haiku/trunk/build/jam/BuildSetup    2010-10-23 15:26:45 UTC (rev 39070)
+++ haiku/trunk/build/jam/BuildSetup    2010-10-23 15:35:41 UTC (rev 39071)
@@ -393,6 +393,11 @@
 # debug flags
 HAIKU_DEBUG_FLAGS ?= -ggdb ;
 
+# TODO: remove once Debugger properly supports gcc4 .eh_frames
+if $(HAIKU_GCC_VERSION[1]) >= 4 {
+       HAIKU_DEBUG_FLAGS += -fno-dwarf2-cfi-asm ;
+}
+
 # debug 0: suppress asserts
 HAIKU_DEBUG_0_CCFLAGS = [ FDefines NDEBUG=$(NDEBUG) ] ;
 HAIKU_DEBUG_0_C++FLAGS = [ FDefines NDEBUG=$(NDEBUG) ] ;


Other related posts:

  • » [haiku-commits] r39071 - haiku/trunk/build/jam - anevilyak