Bug 1487595 - Remove LIBS_DESC_SUFFIX and EXPAND_LIBS_ORDER_STYLE. r=froydnj
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 31 Aug 2018 13:46:55 +0900
changeset 492153 d397dc6aa86679c61e59c3a51ad17421a0f324fe
parent 492140 ee4f4e66f861e2b7970f9a0246e0857bb01e32e8
child 492154 0d4ca5c5e71cf331a1c101ad96bf7f56b485cc89
push id1815
push userffxbld-merge
push dateMon, 15 Oct 2018 10:40:45 +0000
treeherdermozilla-release@18d4c09e9378 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1487595, 1429875
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1487595 - Remove LIBS_DESC_SUFFIX and EXPAND_LIBS_ORDER_STYLE. r=froydnj They're both unused since bug 1429875. Differential Revision: https://phabricator.services.mozilla.com/D4737
build/autoconf/expandlibs.m4
--- a/build/autoconf/expandlibs.m4
+++ b/build/autoconf/expandlibs.m4
@@ -33,34 +33,11 @@ AC_CACHE_CHECK(what kind of list files a
              fi
          fi
      else
          dnl We really don't expect to get here, but just in case
          AC_ERROR([couldn't compile a simple C file])
      fi
      rm -rf conftest*])
 
-LIBS_DESC_SUFFIX=desc
-AC_SUBST(LIBS_DESC_SUFFIX)
 AC_SUBST(EXPAND_LIBS_LIST_STYLE)
 
-if test "$GCC_USE_GNU_LD"; then
-    AC_CACHE_CHECK(what kind of ordering can be done with the linker,
-        EXPAND_LIBS_ORDER_STYLE,
-        [> conftest.order
-         _SAVE_LDFLAGS="$LDFLAGS"
-         LDFLAGS="${LDFLAGS} -Wl,--section-ordering-file,conftest.order"
-         AC_TRY_LINK([], [],
-             EXPAND_LIBS_ORDER_STYLE=section-ordering-file,
-             EXPAND_LIBS_ORDER_STYLE=)
-         LDFLAGS="$_SAVE_LDFLAGS"
-         if test -z "$EXPAND_LIBS_ORDER_STYLE"; then
-             if AC_TRY_COMMAND(${CC-cc} ${DSO_LDOPTS} ${LDFLAGS} -o conftest -Wl,--verbose 2> /dev/null | sed -n '/^===/,/^===/p' | grep '\.text'); then
-                 EXPAND_LIBS_ORDER_STYLE=linkerscript
-             else
-                 EXPAND_LIBS_ORDER_STYLE=none
-             fi
-             rm -f ${DLL_PREFIX}conftest${DLL_SUFFIX}
-         fi])
-fi
-AC_SUBST(EXPAND_LIBS_ORDER_STYLE)
-
 ])