Kernel analysis utility for live systems, netdump, diskdump, kdump, LKCD or mcore dumpfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
705 B

  1. --- crash-7.3.2/Makefile.orig
  2. +++ crash-7.3.2/Makefile
  3. @@ -253,7 +253,7 @@ all: make_configure
  4. gdb_merge: force
  5. @if [ ! -f ${GDB}/README ]; then \
  6. $(MAKE) gdb_unzip; fi
  7. - @echo "${LDFLAGS} -lz -ldl -rdynamic" > ${GDB}/gdb/mergelibs
  8. + @echo "${LDFLAGS} -lz -llzo2 -lsnappy -lzstd -ldl -rdynamic" > ${GDB}/gdb/mergelibs
  9. @echo "../../${PROGRAM} ../../${PROGRAM}lib.a" > ${GDB}/gdb/mergeobj
  10. @rm -f ${PROGRAM}
  11. @if [ ! -f ${GDB}/config.status ]; then \
  12. --- crash-7.3.2/diskdump.c.orig
  13. +++ crash-7.3.2/diskdump.c
  14. @@ -23,6 +23,9 @@
  15. * GNU General Public License for more details.
  16. */
  17. +#define LZO
  18. +#define SNAPPY
  19. +#define ZSTD
  20. #include "defs.h"
  21. #include "diskdump.h"
  22. #include "xen_dom0.h"
  23. --