[nginx] Dynamic modules: added dlsym() to configure test.

Valentin Bartenev vbart at nginx.com
Sat Feb 6 18:10:24 UTC 2016


details:   http://hg.nginx.org/nginx/rev/3577c021f21e
branches:  
changeset: 6385:3577c021f21e
user:      Valentin Bartenev <vbart at nginx.com>
date:      Fri Feb 05 21:48:25 2016 +0300
description:
Dynamic modules: added dlsym() to configure test.

It appears that AddressSanitizer in GCC 5 intercepts dlopen() and dlclose()
but not dlsym().

diffstat:

 auto/unix |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r e0d7c2f71851 -r 3577c021f21e auto/unix
--- a/auto/unix	Fri Feb 05 14:02:54 2016 +0300
+++ b/auto/unix	Fri Feb 05 21:48:25 2016 +0300
@@ -260,7 +260,7 @@ ngx_feature_run=no
 ngx_feature_incs="#include <dlfcn.h>"
 ngx_feature_path=
 ngx_feature_libs=
-ngx_feature_test="dlopen(NULL, 0)"
+ngx_feature_test="dlopen(NULL, 0); dlsym(NULL, NULL)"
 . auto/feature
 
 



More information about the nginx-devel mailing list