Re: PING^4: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-04-18 Thread H.J. Lu
On Mon, Apr 16, 2018 at 3:08 PM, Alexandre Oliva wrote: > On Apr 3, 2018, "H.J. Lu" wrote: > >> On Mon, Mar 26, 2018 at 4:10 AM, H.J. Lu wrote: >>> On Wed, Mar 14, 2018 at 4:41 AM, H.J. Lu wrote: On Wed, Feb 21, 2018 at 3:02 AM, H.J. Lu wrote: > On Wed, Oct 18, 2017 at 5:25 PM, H.J.

Re: PING^4: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-04-16 Thread Alexandre Oliva
On Apr 3, 2018, "H.J. Lu" wrote: > On Mon, Mar 26, 2018 at 4:10 AM, H.J. Lu wrote: >> On Wed, Mar 14, 2018 at 4:41 AM, H.J. Lu wrote: >>> On Wed, Feb 21, 2018 at 3:02 AM, H.J. Lu wrote: On Wed, Oct 18, 2017 at 5:25 PM, H.J. Lu wrote: > * plugins.m4 (AC_PLUGINS): Use dlsym to check i

Re: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-04-05 Thread DJ Delorie
"H.J. Lu" writes: > config/ > > * plugins.m4 (AC_PLUGINS): Use dlsym to check if libdl is needed. This is OK.

PING^4: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-04-03 Thread H.J. Lu
On Mon, Mar 26, 2018 at 4:10 AM, H.J. Lu wrote: > On Wed, Mar 14, 2018 at 4:41 AM, H.J. Lu wrote: >> On Wed, Feb 21, 2018 at 3:02 AM, H.J. Lu wrote: >>> On Wed, Oct 18, 2017 at 5:25 PM, H.J. Lu wrote: config/plugins.m4 has if test "$plugins" = "yes"; then AC_SEARCH_LIBS

Re: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-04-02 Thread H.J. Lu
On Wed, Oct 18, 2017 at 5:25 PM, H.J. Lu wrote: > config/plugins.m4 has > > if test "$plugins" = "yes"; then > AC_SEARCH_LIBS([dlopen], [dl]) > fi > > Plugin uses dlsym, but libasan.so only intercepts dlopen, not dlsym: > > [hjl@gnu-tools-1 binutils-text]$ nm -D /lib64/libasan.so.4| grep "

PING^3: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-03-26 Thread H.J. Lu
On Wed, Mar 14, 2018 at 4:41 AM, H.J. Lu wrote: > On Wed, Feb 21, 2018 at 3:02 AM, H.J. Lu wrote: >> On Wed, Oct 18, 2017 at 5:25 PM, H.J. Lu wrote: >>> config/plugins.m4 has >>> >>> if test "$plugins" = "yes"; then >>> AC_SEARCH_LIBS([dlopen], [dl]) >>> fi >>> >>> Plugin uses dlsym, but

PING^2: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-03-14 Thread H.J. Lu
ure: Regenerated. >> >> gprof/ >> >> PR gas/22318 >> * configure: Regenerated. >> >> ld/ >> >> PR gas/22318 >> * configure: Regenerated. PING. -- H.J. From 8157f3e03107e77b8306d4ab1388a63548a13470 Mon S

PING: [PATCH] Use dlsym to check if libdl is needed for plugin

2018-02-21 Thread H.J. Lu
On Wed, Oct 18, 2017 at 5:25 PM, H.J. Lu wrote: > config/plugins.m4 has > > if test "$plugins" = "yes"; then > AC_SEARCH_LIBS([dlopen], [dl]) > fi > > Plugin uses dlsym, but libasan.so only intercepts dlopen, not dlsym: > > [hjl@gnu-tools-1 binutils-text]$ nm -D /lib64/libasan.so.4| grep "

[PATCH] Use dlsym to check if libdl is needed for plugin

2017-10-18 Thread H.J. Lu
config/plugins.m4 has if test "$plugins" = "yes"; then AC_SEARCH_LIBS([dlopen], [dl]) fi Plugin uses dlsym, but libasan.so only intercepts dlopen, not dlsym: [hjl@gnu-tools-1 binutils-text]$ nm -D /lib64/libasan.so.4| grep " dl" 00038580 W dlclose U dl_iterate_phd