dwarf2 unwind info check broken
Andreas Jaeger
aj@suse.de
Sun Mar 17 02:19:00 GMT 2002
Andreas Jaeger <aj@suse.de> writes:
> With current binutils and both gcc 2.95.3 and GCC 3.2 CVS on
> i686-linux-gnu I now get:
>
> checking for DWARF2 unwind info support... (cached) no
>
> The test program from configure:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> static char __EH_FRAME_BEGIN__[];
I figured out the problem: the []; gets removed by autoconf - but my
autoconf version didn't remove it. :-(
We should remove the [] from configure.in since it's broken there.
Ok to commit the appended patch?
Andreas
2002-03-17 Andreas Jaeger <aj@suse.de>
* configure.in: Fix dwarf2 unwind test.
============================================================
Index: configure.in
--- configure.in 2002/03/16 02:54:00 1.340
+++ configure.in 2002/03/17 10:19:06
@@ -1389,7 +1389,7 @@ fi
AC_CACHE_CHECK(for DWARF2 unwind info support, libc_cv_gcc_dwarf2_unwind_info,
[cat > conftest.c <<EOF
#line __oline__ "configure"
-static char __EH_FRAME_BEGIN__[];
+static char __EH_FRAME_BEGIN__;
_start ()
{
#ifdef CHECK__register_frame
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list