Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 202005 Details for
Bug 279563
dev-util/mono-debugger-2.4.2-r1 problems with libopcodes when using sys-devel/binutils and USE=multitarget
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
020_all_system-libbfd.patch with libiberty dep for libopcodes
020_all_system-libbfd.patch (text/plain), 2.55 KB, created by
Mike Auty (RETIRED)
on 2009-08-23 10:07:16 UTC
(
hide
)
Description:
020_all_system-libbfd.patch with libiberty dep for libopcodes
Filename:
MIME Type:
Creator:
Mike Auty (RETIRED)
Created:
2009-08-23 10:07:16 UTC
Size:
2.55 KB
patch
obsolete
>Index: mono-debugger-2.4.2/backend/arch/Makefile.am >=================================================================== >--- mono-debugger-2.4.2.orig/backend/arch/Makefile.am >+++ mono-debugger-2.4.2/backend/arch/Makefile.am >@@ -1,15 +1,23 @@ >+if !SYSTEM_LIBBFD > SUBDIRS = libiberty bfd opcodes > >+libbfd_libs = opcodes/libopcodes.la bfd/libbfd.la >+libbfd_includes = -I$(srcdir)/bfd -I$(srcdir)/bfd/include -I$(srcdir)/opcodes >+else >+libbfd_libs = -lopcodes -lbfd >+libbfd_includes = >+endif >+ > noinst_LTLIBRARIES = libmonodebuggerbfdglue.la > > libmonodebuggerbfdglue_la_SOURCES = \ > bfdglue.c \ > bfdglue.h > >-libmonodebuggerbfdglue_la_LIBADD = opcodes/libopcodes.la bfd/libbfd.la @BASE_DEPENDENCIES_LIBS@ >+libmonodebuggerbfdglue_la_LIBADD = $(libbfd_libs) @BASE_DEPENDENCIES_LIBS@ > libmonodebuggerbfdglue_la_LDFLAGS = -no-undefined -module -export-dynamic -shared > >-INCLUDES = -I$(srcdir)/bfd -I$(srcdir)/bfd/include -I$(srcdir)/opcodes @BASE_DEPENDENCIES_CFLAGS@ >+INCLUDES = $(libbfd_includes) @BASE_DEPENDENCIES_CFLAGS@ > > CLEANFILES = lib*.a lib*.dll > >Index: mono-debugger-2.4.2/configure.in >=================================================================== >--- mono-debugger-2.4.2.orig/configure.in >+++ mono-debugger-2.4.2/configure.in >@@ -57,6 +57,19 @@ case "$host" in > esac > AC_MSG_RESULT(ok) > >+AC_ARG_WITH([system-libbfd], >+ AS_HELP_STRING([--with-system-libbfd], [Use the system copy of libbfd and libopcodes.])) >+ >+AS_IF([test "x$with_system_libbfd" = "xyes"], >+ [ >+ AC_CHECK_HEADERS([bfd.h], [], [AC_MSG_ERROR([Missing bfd.h header])]) >+ AC_CHECK_LIB([bfd], [bfd_init], [:], [AC_MSG_ERROR([Missing libbfd library])]) >+ AC_CHECK_LIB([opcodes], [init_disassemble_info], [:], [AC_MSG_ERROR([Missing libopcodes library])], [-liberty]) >+ AC_CHECK_MEMBERS([asection.rawsize], [], [], [[#include <bfd.h>]]) >+ ]) >+ >+AM_CONDITIONAL([SYSTEM_LIBBFD], [test "x$with_system_libbfd" = "xyes"]) >+ > AC_ARG_WITH(bfd-target, > [ --with-bfd-target Manually override the BFD target], > if test x$with_bfd_target != "x"; then >Index: mono-debugger-2.4.2/backend/arch/bfdglue.c >=================================================================== >--- mono-debugger-2.4.2.orig/backend/arch/bfdglue.c >+++ mono-debugger-2.4.2/backend/arch/bfdglue.c >@@ -1,3 +1,5 @@ >+#include <config.h> >+ > #include <bfdglue.h> > #include <signal.h> > #include <string.h> >@@ -227,7 +229,11 @@ bfd_glue_get_errormsg (void) > guint32 > bfd_glue_get_section_size (asection *p) > { >+#ifdef HAVE_ASECTION_RAWSIZE >+ return p->rawsize ? p->rawsize : p->size; >+#else > return p->_raw_size; >+#endif > } > > BfdGlueSectionFlags
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 279563
:
199518
|
199554
| 202005