https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67001
Bug ID: 67001 Summary: -fno-plt miscompiles ld in binutils Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: hjl.tools at gmail dot com CC: amonakov at gmail dot com Target Milestone: --- Target: x86-64-linux On Linux/x86-64, GCC 6 with -fno-plt: CC="/export/build/gnu/gcc/release/usr/gcc-6.0.0/bin/gcc -fno-plt" CXX="/export/build/gnu/gcc/release/usr/gcc-6.0.0/bin/g++ -fno-plt" /export/gnu/import/git/sources/binutils-gdb/configure \ --enable-plugins --with-sysroot=/ --with-system-zlib --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \ --prefix=/usr/local \ --with-local-prefix=/usr/local miscompiles ld: FAIL: bootstrap FAIL: bootstrap with strip FAIL: bootstrap with --traditional-format FAIL: bootstrap with --no-keep-memory FAIL: bootstrap with --relax