On Fedora 24/i686, I got FAIL: dynamic_list.sh FAIL: plugin_layout_with_alignment.sh
(In reply to H.J. Lu from comment #0) > On Fedora 24/i686, I got > > FAIL: dynamic_list.sh The toplevel Makefile has STAGE1_LDFLAGS = -static-libstdc++ -static-libgcc POSTSTAGE1_LDFLAGS = -static-libstdc++ -static-libgcc For "make check", it passes down LDFLAGS= to subdirectories.
A patch posted at https://sourceware.org/ml/binutils/2016-06/msg00538.html It is needed for GCC 6.
See https://sourceware.org/ml/binutils/2016-06/msg00541.html
The master branch has been updated by Cary Coutant <ccoutant@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6e2565079204ae2d2c0a5fa15fcd233e9c614f0b commit 6e2565079204ae2d2c0a5fa15fcd233e9c614f0b Author: Cary Coutant <ccoutant@gmail.com> Date: Wed Jun 29 23:24:35 2016 -0700 Fix gold testsuite failure with GCC 6. With GCC 6 when not using -static-libstdc++, the operator delete(void*) function is defined in the shared C++ support library, rather than in the main program. The test script is too aggressive in checking for this symbol's presence among the exported symbols. This patch removes the check for that symbol. gold/ PR gold/20310 * testsuite/dynamic_list.sh: Remove check for _ZdlPv.
Fixed.