bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12402] New: ld --disable-plugins configure options doesn't work


From: danglin at gcc dot gnu.org
Subject: [Bug ld/12402] New: ld --disable-plugins configure options doesn't work
Date: Sun, 16 Jan 2011 03:40:10 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12402

           Summary: ld --disable-plugins configure options doesn't work
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


I was unable to disable ld plugin support on hppa-unknown-linux-gnu.
GCC lto/plugin support is currently broken on this target.

It seems the stuff in config/plugins.m4 is overridden by the dlopen
stuff in configure.in:

# Check for dlopen support and enable plugins if possible.
enable_plugins=yes
AC_CHECK_HEADER([dlfcn.h],[],[enable_plugins=no],[AC_INCLUDES_DEFAULT])
AC_SEARCH_LIBS([dlopen],[dl],[],[enable_plugins=no],[])
AC_CHECK_FUNCS([dlopen dlsym dlclose],[],[enable_plugins=no])
# We also support plugins on Windows (MinGW).
if test x$enable_plugins = xno ; then
  AC_CHECK_HEADERS([Windows.h],[enable_plugins=yes],[],[AC_INCLUDES_DEFAULT])
fi
AM_CONDITIONAL([ENABLE_PLUGINS], [test x$enable_plugins = xyes])

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]