Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 593293 Details for
Bug 834068
Support MiniDebugInfo in gdb
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Look for and use libzma on ELF systems
0001-configure.ac-Look-for-and-use-libzma-on-ELF-systems.patch (text/plain), 2.29 KB, created by
Alexander Larsson
on 2012-06-20 18:27:23 UTC
(
hide
)
Description:
Look for and use libzma on ELF systems
Filename:
MIME Type:
Creator:
Alexander Larsson
Created:
2012-06-20 18:27:23 UTC
Size:
2.29 KB
patch
obsolete
>From 8cf60203e72033724cea813ad516809662995c57 Mon Sep 17 00:00:00 2001 >From: Alexander Larsson <alexl@redhat.com> >Date: Fri, 27 Apr 2012 15:01:47 +0200 >Subject: [PATCH 1/2] configure.ac: Look for and use libzma on ELF systems > >This will be used for compressed debug info >--- > gdb/Makefile.in | 5 ++++- > gdb/configure.ac | 19 +++++++++++++++++++ > 2 files changed, 23 insertions(+), 1 deletion(-) > >diff --git a/gdb/Makefile.in b/gdb/Makefile.in >index 0e87eeb..06965d2 100644 >--- a/gdb/Makefile.in >+++ b/gdb/Makefile.in >@@ -151,6 +151,9 @@ READLINE_CFLAGS = @READLINE_CFLAGS@ > # Where is expat? This will be empty if expat was not available. > LIBEXPAT = @LIBEXPAT@ > >+# Where is lzma? This will be empty if lzma was not available. >+LIBLZMA = @LIBLZMA@ >+ > WARN_CFLAGS = @WARN_CFLAGS@ > WERROR_CFLAGS = @WERROR_CFLAGS@ > GDB_WARN_CFLAGS = $(WARN_CFLAGS) >@@ -467,7 +470,7 @@ INTERNAL_LDFLAGS = $(CFLAGS) $(GLOBAL_CFLAGS) $(MH_LDFLAGS) $(LDFLAGS) $(CONFIG_ > # LIBIBERTY appears twice on purpose. > CLIBS = $(SIM) $(READLINE) $(OPCODES) $(BFD) $(INTL) $(LIBIBERTY) $(LIBDECNUMBER) \ > $(XM_CLIBS) $(NAT_CLIBS) $(GDBTKLIBS) @LIBS@ @PYTHON_LIBS@ \ >- $(LIBEXPAT) \ >+ $(LIBEXPAT) $(LIBLZMA) \ > $(LIBIBERTY) $(WIN32LIBS) $(LIBGNU) > CDEPS = $(XM_CDEPS) $(NAT_CDEPS) $(SIM) $(BFD) $(READLINE_DEPS) \ > $(OPCODES) $(INTL_DEPS) $(LIBIBERTY) $(CONFIG_DEPS) $(LIBGNU) >diff --git a/gdb/configure.ac b/gdb/configure.ac >index a40c2e5..84282a9 100644 >--- a/gdb/configure.ac >+++ b/gdb/configure.ac >@@ -1962,6 +1962,25 @@ LIBS=$OLD_LIBS > # Add any host-specific objects to GDB. > CONFIG_OBS="${CONFIG_OBS} ${gdb_host_obs}" > >+# If building on ELF, look for lzma support for embedded compressed debug info. >+if test $gdb_cv_var_elf = yes; then >+ AC_ARG_WITH(lzma, >+ AS_HELP_STRING([--with-lzma], [support lzma compression (auto/yes/no)]), >+ [], [with_lzma=auto]) >+ AC_MSG_CHECKING([whether to use lzma]) >+ AC_MSG_RESULT([$with_lzma]) >+ >+ if test "${with_lzma}" != no; then >+ AC_LIB_HAVE_LINKFLAGS([lzma], [], [#include "lzma.h"], >+ [lzma_mf_is_supported (LZMA_MF_HC3);]) >+ if test "$HAVE_LIBLZMA" != yes; then >+ if test "$with_lzma" = yes; then >+ AC_MSG_ERROR([missing liblzma for --with-lzma]) >+ fi >+ fi >+ fi >+fi >+ > LIBGUI="../libgui/src/libgui.a" > GUI_CFLAGS_X="-I${srcdir}/../libgui/src" > AC_SUBST(LIBGUI) >-- >1.7.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 834068
: 593293 |
593295