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 317332 Details for
Bug 463101
Unable to link agains bfd_openr in configure script
[?]
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]
Patch posted to <ksplice@mit.edu>.
ksplice-0.9.0-zlib-configure.patch (text/plain), 1.79 KB, created by
Jan Kratochvil
on 2008-09-22 00:16:20 UTC
(
hide
)
Description:
Patch posted to <ksplice@mit.edu>.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2008-09-22 00:16:20 UTC
Size:
1.79 KB
patch
obsolete
>(1) Recent binutils include support for compressed sections which requires zlib. > >(2) Fedora provides only static libbfd.a (not libbfd.so) for 3rd party > applications linking. > > (2a) libbfd does not keep API/ABI compatibility. > > (2b) Version-bumping the library on each change would create either a lot > of multiply installed versions of libfd or breaking dependencies of > the built packages against libbfd.so > >(3) Fedora does not provide libtool scripts in general (libbfd.la in this case). > >As .a libraries cannot provide their depdendency list on themselves it needs to >be cared of by the application using them. Patch attached. > >Signed-off-by: Jan Kratochvil <jan.kratochvil@redhat.com> > >--- ksplice-0.9.0/configure.ac 2008-09-13 05:41:52.000000000 +0200 >+++ ksplice-0.9.0-src-patched/configure.ac 2008-09-21 21:29:13.000000000 +0200 >@@ -15,6 +15,12 @@ AC_ARG_WITH(libiberty, > [ ac_libiberty=NONE ] > ) > >+AC_ARG_WITH(libz, >+ [ --with-libz=FILE path to libz.a ], >+ [ ac_libz=$withval ], >+ [ ac_libz=NONE ] >+) >+ > AC_ARG_WITH(bfd-include-dir, > [ --with-bfd-include-dir=DIR > path to directory containing bfd.h ], >@@ -25,6 +31,12 @@ AC_ARG_WITH(bfd-include-dir, > AC_PROG_CC > AC_CHECK_HEADERS(bfd.h,, BFD_H="no") > >+if test "$ac_libz" = "NONE"; then >+ AC_CHECK_LIB(z, zlibVersion) >+ ac_libz=auto >+else >+ LIBS="$ac_libz $LIBS" >+fi > if test "$ac_libiberty" = "NONE"; then > AC_CHECK_LIB(iberty, objalloc_create) > ac_libiberty=auto >@@ -63,6 +75,10 @@ if ! test -e "objdiff-static" || ! test > echo > echo " ./configure --with-libbfd=<libbfd.a> --with-libiberty=<libiberty.a>" > echo >+ echo "Depending on the host system you may also need to provide zlib:" >+ echo >+ echo " ./configure ... --with-libz=<libz.a>" >+ echo > exit 1 > fi >
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 463101
: 317332