Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 271799 Details for
Bug 347931
Recent binutils eclass change to enable plugins breaks Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
conceptpatch bfd not to unconditionally use -ldl
binutils-2.21.51.0.7-freebsd.patch (text/plain), 910 bytes, created by
Fabian Groffen
on 2011-05-01 20:03:13 UTC
(
hide
)
Description:
conceptpatch bfd not to unconditionally use -ldl
Filename:
MIME Type:
Creator:
Fabian Groffen
Created:
2011-05-01 20:03:13 UTC
Size:
910 bytes
patch
obsolete
>--- binutils-2.21.51.0.7/bfd/configure.in >+++ binutils-2.21.51.0.7/bfd/configure.in >@@ -31,7 +31,13 @@ > AM_CONDITIONAL(PLUGINS, test "$plugins" = "yes") > > if test "$plugins" = "yes"; then >- if test "$enable_dlopen" != "yes" ; then >+ # Check for dlopen support >+ has_dlopen=yes >+ AC_CHECK_HEADER([dlfcn.h],[],[has_dlopen=no],[AC_INCLUDES_DEFAULT]) >+ AC_SEARCH_LIBS([dlopen],[dl],[],[has_dlopen=no],[]) >+ AC_CHECK_FUNCS([dlopen dlsym dlclose],[],[has_dlopen=no]) >+ >+ if test "$has_dlopen" != "yes" ; then > AC_MSG_ERROR([ > Building BFD with plugin support requires a host that supports -ldl.]) > fi >--- binutils-2.21.51.0.7/bfd/Makefile.in >+++ binutils-2.21.51.0.7/bfd/Makefile.in >@@ -336,7 +336,6 @@ > @INSTALL_LIBBFD_FALSE@noinst_LTLIBRARIES = libbfd.la > AM_CFLAGS = $(WARN_CFLAGS) > AM_CPPFLAGS = -DBINDIR='"$(bindir)"' >-@PLUGINS_TRUE@LIBDL = -ldl > > # bfd.h goes here, for now > BFD_H = bfd.h
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 347931
: 271799 |
295153
|
295155
|
357492
|
357496
|
363812
|
363814
|
363816