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,

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,

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:

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

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 >>>

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

2018-03-14 Thread H.J. Lu
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 libasan.so only

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

[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