This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: No longer able to detect exception model right
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Phil Edwards <phil at jaj dot com>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Tue, 5 Aug 2003 21:48:44 -0400
- Subject: Re: No longer able to detect exception model right
On Tuesday, Aug 5, 2003, at 16:55 US/Eastern, Phil Edwards wrote:
2003-08-05 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
pipe, open the window to let out the fumes, redo the option-handling
logic to properly execute the detection test.
* aclocal.m4, configure: Regenerate.
Well I have another problem with openbsd but it is kinda connected to
this patch (but not totally).
The problem is that libtool.m4 does not have support for openbsd for
AC_DEPLIBS_CHECK_METHOD.
I just sent in a patch to libtool to fix that but I sent wrong diff as
the file has changed already
in the cvs of libtool, woops; I will post a new patch.
Can I apply the hunk into gcc's cvs and then someone else (as I do not
have access to all the
required autoconf's now that libstdc++ requires 2.97, I have only 2.13)
rerun autoconf?
Thanks,
Andrew Pinski
ChangeLog:
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on *openbsd.
Patch:
Index: libtool.m4
===================================================================
RCS file: /cvs/gcc/gcc/libtool.m4,v
retrieving revision 1.12
diff -u -d -b -w -u -r1.12 libtool.m4
--- libtool.m4 11 Apr 2003 04:20:14 -0000 1.12
+++ libtool.m4 6 Aug 2003 01:48:38 -0000
@@ -701,6 +701,10 @@
lt_cv_file_magic_test_file=/usr/lib/libnls.so
;;
+openbsd*)
+ lt_cv_deplibs_check_method=pass_all
+ ;;
+
osf3* | osf4* | osf5*)
# this will be overridden with pass_all, but let us keep it just in
case
lt_cv_deplibs_check_method='file_magic COFF format alpha shared
library'