Bug 20310 - Test failures on Fedora 24
Summary: Test failures on Fedora 24
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.27
: P2 normal
Target Milestone: 2.27
Assignee: Cary Coutant
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-28 15:32 UTC by H.J. Lu
Modified: 2016-06-30 11:06 UTC (History)
1 user (show)

See Also:
Host:
Target: i386
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description H.J. Lu 2016-06-28 15:32:27 UTC
On Fedora 24/i686, I got

FAIL: dynamic_list.sh
FAIL: plugin_layout_with_alignment.sh
Comment 1 H.J. Lu 2016-06-29 15:58:53 UTC
(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.
Comment 2 H.J. Lu 2016-06-29 18:19:43 UTC
A patch posted at

https://sourceware.org/ml/binutils/2016-06/msg00538.html

It is needed for GCC 6.
Comment 3 Cary Coutant 2016-06-30 00:32:36 UTC
See https://sourceware.org/ml/binutils/2016-06/msg00541.html
Comment 4 Sourceware Commits 2016-06-30 06:25:40 UTC
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.
Comment 5 H.J. Lu 2016-06-30 11:06:01 UTC
Fixed.