Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 10:02:35 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        Max Khon <fjoe@iclub.nsu.ru>
Cc:        walt <wa1ter@hotmail.com>, <freebsd-current@freebsd.org>, <openoffice@freebsd.org>
Subject:   Re: openoffice is compiling again!...but won't run.
Message-ID:  <20020712095919.D65535-100000@levais.imp.ch>
In-Reply-To: <20020712145035.A37578@iclub.nsu.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi,

> btw does it still use -fsjlj method for exception handling?

sjlj and dwarf2 work. But the problem with CURRENT is that this patch seems
to be needed. (Patch from Alexander Kabaev)

Index: config/i386/freebsd.h
===================================================================
RCS file: /usr/ncvs/src/contrib/gcc/config/i386/freebsd.h,v
retrieving revision 1.56
diff -u -r1.56 freebsd.h
--- config/i386/freebsd.h       21 Jun 2002 22:53:03 -0000      1.56
+++ config/i386/freebsd.h       26 Jun 2002 20:55:44 -0000
@@ -385,11 +385,9 @@
 #define DBX_CHECK_FUNCTION_FIRST TARGET_ELF

 #undef  DBX_REGISTER_NUMBER
-#define DBX_REGISTER_NUMBER(n) (TARGET_64BIT ? dbx64_register_map[n]   \
-                               : (write_symbols == DWARF2_DEBUG        \
-                                 || write_symbols == DWARF_DEBUG)      \
-                                 ? svr4_dbx_register_map[(n)]          \
-                                 : dbx_register_map[(n)])
+
+#define DBX_REGISTER_NUMBER(n) \
+  (TARGET_64BIT ? dbx64_register_map[n] :svr4_dbx_register_map[(n)])

 /* tag end of file in elf mode */
 #undef  DBX_OUTPUT_MAIN_SOURCE_FILE_END


Martin



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020712095919.D65535-100000>