Bug 690682 - Disable dead symbol removal when failing to test for bug 670659. r=ted
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 05 Oct 2011 09:03:01 +0200
changeset 78787 0151c893093e2f99c69dc566bf4157b79b6d1e9c
parent 78786 b6ae580de9978a6ccf288c3ab26cdf84f383861f
child 78788 3ba2964cd000ef54ea0b3820f63c9e6879cb3659
push id506
push userclegnitto@mozilla.com
push dateWed, 09 Nov 2011 02:03:18 +0000
treeherdermozilla-aurora@63587fc7bb93 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs690682, 670659
milestone10.0a1
Bug 690682 - Disable dead symbol removal when failing to test for bug 670659. r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -6854,17 +6854,17 @@ if test "$GNU_CC" -a "$GCC_USE_GNU_LD" -
             if test "`$PYTHON "$_topsrcdir"/build/unix/check_debug_ranges.py conftest.${ac_objext} conftest.${ac_ext}`" = \
                     "`$PYTHON "$_topsrcdir"/build/unix/check_debug_ranges.py conftest${ac_exeext} conftest.${ac_ext}`"; then
                 GC_SECTIONS_BREAKS_DEBUG_RANGES=no
             else
                 GC_SECTIONS_BREAKS_DEBUG_RANGES=yes
             fi
         else
              dnl We really don't expect to get here, but just in case
-             AC_ERROR([couldn't compile a simple C file])
+             GC_SECTIONS_BREAKS_DEBUG_RANGES="no, but it's broken in some other way"
         fi
         rm -rf conftest*])
     if test "$GC_SECTIONS_BREAKS_DEBUG_RANGES" = no; then
         DSO_LDOPTS="$DSO_LDOPTS -Wl,--gc-sections"
         case "$CFLAGS" in
         *-ffunction-sections*)
             CFLAGS="$CFLAGS -fdata-sections"
             CXXFLAGS="$CXXFLAGS -fdata-sections"