Subject: -fsanitize=* not passed to linker / needs release

From: Jan Engelhardt <[email-masked]>
Date: Fri, 16 Jul 2021 12:38:09 +0200 (CEST)

On libtool 2.4.6 and earlier:

$ ./libtool --tag=CXX --mode=link g++ -rpath /lib64 -fsanitize=address -o libx.la x.lo
libtool: link: rm -fr  .libs/libx.a .libs/libx.la
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crti.o /usr/lib64/gcc/x86_64-suse-linux/11/crtbeginS.o  .libs/x.o   -L/usr/lib64/gcc/x86_64-suse-linux/11 -L/usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib64/gcc/x86_64-suse-linux/11/../../../../x86_64-suse-linux/lib -L/usr/lib64/gcc/x86_64-suse-linux/11/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib64/gcc/x86_64-suse-linux/11/crtendS.o /usr/lib64/gcc/x86_64-suse-linux/11/../../../../lib64/crtn.o    -Wl,-soname -Wl,libx.so.0 -o .libs/libx.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libx.so.0" && ln -s "libx.so.0.0.0" "libx.so.0")
libtool: link: (cd ".libs" && rm -f "libx.so" && ln -s "libx.so.0.0.0" "libx.so")
libtool: link: ( cd ".libs" && rm -f "libx.la" && ln -s "../libx.la" "libx.la" )

It is imperative that -fsanitize=* be passed to the compiler-linker 
driver.
Apparently this was already fixed with 
a5c6466528c060cc4660ad0319c00740db0e42ba (2015!)
But distros are still don't have it, because they often choose to only 
update to releases and seldomly commits inbetween. Can you please make a 
new release?