https://sourceware.org/bugzilla/show_bug.cgi?id=19698
--- Comment #14 from dura <dura911111 at gmail dot com> --- This is the linker command line as shown by g++ -v: /usr/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/collect2 -plugin /usr/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/liblto_plugin.so -plugin-opt=/usr/libexec/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccYF735e.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s --eh-frame-hdr -m elf_x86_64 -shared -o libmysqlclient.so.18.0.0 -s -s /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crti.o /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtbeginS.o -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0 -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../.. -z relro -z now --no-undefined --no-undefined /bsources2/mariadb-10.1.11/build/libmysql/libmysql_versions.ld -soname libmysqlclient.so.18 CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o -lpthread libclientlib.a ../dbug/libdbug.a ../strings/libstrings.a ../vio/libvio.a ../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a -lz -lssl -lcrypto -ldl -ldl ../dbug/libdbug.a ../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a -lz ../strings/libstrings.a -lssl -lcrypto -ldl -lpthread -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/crtendS.o /usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/../../../../lib/crtn.o I used strace to find out all files used by the linker. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils