This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Feb 08, 2002 at 05:15:20PM -0800, Richard Henderson wrote: > This test has been failing since Jakub broke the EH routines > out into libgcc_eh.a. The following works against gcc 3.1 > as of today; I don't know if you want to make this more > complicated to cater to gcc 3.0.3... Ouch, sorry. But IMHO we have to cater to gcc-2.95+. So, IMHO following would be better (note that I think it is not necessary to add -lgcc_eh to __register_frame check, since either they are both present in gcc 3.1+, or none. * configure.in (check DWARF2 unwind info): Define dl_iterate_phdr. Add -lgcc_eh. --- libc/configure.in.jj Sat Feb 9 11:22:37 2002 +++ libc/configure.in Sat Feb 9 11:25:51 2002 @@ -1348,12 +1348,17 @@ memset () {} free () {} abort () {} __bzero () {} +dl_iterate_phdr () {} EOF dnl No \ in command here because it ends up inside ''. if AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info -nostdlib -nostartfiles -o conftest conftest.c -lgcc >&AC_FD_CC]); then libc_cv_gcc_dwarf2_unwind_info=static +elif AC_TRY_COMMAND([${CC-cc} $CFLAGS -DCHECK__register_frame_info + -nostdlib -nostartfiles + -o conftest conftest.c -lgcc -lgcc_eh >&AC_FD_CC]); then + libc_cv_gcc_dwarf2_unwind_info=static else libc_cv_gcc_dwarf2_unwind_info=no fi Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |