Skip to content

Commit e400dd3

Browse files
committed
msan: remove libtdl instrumented and use libodbc bunled libtdl
1 parent 5946376 commit e400dd3

1 file changed

Lines changed: 11 additions & 9 deletions

File tree

ci_build_images/msan.instrumentedlibs.sh

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,22 @@ aclocal
107107
autoheader
108108
autoconf
109109
automake --add-missing
110-
./configure --enable-fastvalidate --with-pth=no --with-included-ltdl=no
110+
./configure --enable-fastvalidate --with-pth=no --with-included-ltdl=yes
111111
make -j "$(nproc)"
112112
find .
113113
mv ./DriverManager/.libs/libodbc.so* ./odbcinst/.libs/libodbcinst.so* "$MSAN_LIBDIR"
114114
rm -rf -- *
115115

116-
#libltdl - C/ODBC
117-
apt-get source libltdl-dev
118-
mv libtool-*/* .
119-
./bootstrap --force --no-git --skip-po --gnulib-srcdir=/usr/share/gnulib/ --copy
120-
./configure
121-
make -j "$(nproc)"
122-
mv ./libltdl/.libs/libltdl.so* "$MSAN_LIBDIR"
123-
rm -rf -- *
116+
##libltdl - C/ODBC
117+
## libodbc does a fixed path load of /lib/x86_64-linux-gnu/libltdl.so.7, which
118+
## isn't the instrumented version, so changed --with-included-ltdl=yes above.
119+
#apt-get source libltdl-dev
120+
#mv libtool-*/* .
121+
#./bootstrap --force --no-git --skip-po --gnulib-srcdir=/usr/share/gnulib/ --copy
122+
#./configure
123+
#make -j "$(nproc)"
124+
#mv ./libltdl/.libs/libltdl.so* "$MSAN_LIBDIR"
125+
#rm -rf -- *
124126

125127
# sqlite/odbc for CONNECT engine
126128
apt-get source libsqliteodbc

0 commit comments

Comments
 (0)