-
Notifications
You must be signed in to change notification settings - Fork 180
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Older version of GDB contains bug which heavily slows down GDB if LLVM symbols are involved. 7.9.1 provides huge speedup debugging CMSSW (which incl. ROOT6 + LLVM). An extra patch is required for `configure` to disable `makeinfo` if such does not exist on the system. The patch brings `configure` to it's documented behavior. There are BZ items for `MAKEINFO=true` not working as advertised. `configure` is patched instead of `configure.ac` because for regeneration a very specific version of `autoconf` would be required, which is too old on the system and too new in `autotools` package. Signed-off-by: David Abdurachmanov <David.Abdurachmanov@cern.ch> (cherry picked from commit 982af1c)
- Loading branch information
David Abdurachmanov
authored and
David Abdurachmanov
committed
Aug 26, 2015
1 parent
19a4de9
commit c0b69ff
Showing
2 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff --git a/configure b/configure | ||
index 64d287d..ae1d2b8 100755 | ||
--- a/configure | ||
+++ b/configure | ||
@@ -8038,21 +8038,26 @@ fi | ||
done | ||
test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo" | ||
|
||
-case " $build_configdirs " in | ||
- *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; | ||
- *) | ||
+if test "${MAKEINFO}" = "true"; then | ||
+ # Disable makeinfo if requested | ||
+ MAKEINFO=true | ||
+else | ||
+ case " $build_configdirs " in | ||
+ *" texinfo "*) MAKEINFO='$$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo' ;; | ||
+ *) | ||
|
||
- # For an installed makeinfo, we require it to be from texinfo 4.7 or | ||
- # higher, else we use the "missing" dummy. | ||
- if ${MAKEINFO} --version \ | ||
- | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then | ||
- : | ||
- else | ||
- MAKEINFO="$MISSING makeinfo" | ||
- fi | ||
- ;; | ||
+ # For an installed makeinfo, we require it to be from texinfo 4.7 or | ||
+ # higher, else we use the "missing" dummy. | ||
+ if ${MAKEINFO} --version \ | ||
+ | egrep 'texinfo[^0-9]*(4\.([7-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then | ||
+ : | ||
+ else | ||
+ MAKEINFO="$MISSING makeinfo" | ||
+ fi | ||
+ ;; | ||
|
||
-esac | ||
+ esac | ||
+fi | ||
|
||
# FIXME: expect and dejagnu may become build tools? | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters