https://sourceware.org/bugzilla/show_bug.cgi?id=27360
--- Comment #6 from Allan McRae <allan at archlinux dot org> --- I can still replicate on git master (160fe1933736c123e15199080874fcab8b9ecc65). I build with the following configuration: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt" LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now" ../binutils-gdb/configure \ --prefix=/usr \ --with-lib-path=/usr/lib:/usr/local/lib \ --with-bugurl=https://bugs.archlinux.org/ \ --enable-cet \ --enable-deterministic-archives \ --enable-gold \ --enable-ld=default \ --enable-lto \ --enable-plugins \ --enable-relro \ --enable-shared \ --enable-targets=x86_64-pep \ --enable-threads \ --disable-gdb \ --disable-werror \ --with-debuginfod \ --with-pic \ --with-system-zlib Removing "--enable-shared" from configre, or "-fno-plt" from CFLAGS or "-Wl,-z,now" from LDFLAGS does not give this error. Not ld in the build tree is fine. It is the installed file (which is relinked during "make install") that shows the issue. -- You are receiving this mail because: You are on the CC list for the bug.