This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Gold linker, make test failures
- From: Ian Lance Taylor <iant at google dot com>
- To: Andrew Walrond <andrew at walrond dot org>
- Cc: binutils at sourceware dot org
- Date: Mon, 29 Nov 2010 17:10:13 -0800
- Subject: Re: Gold linker, make test failures
- References: <4CED2E86.9080908@walrond.org>
Andrew Walrond <andrew@walrond.org> writes:
> I've been playing around trying to build the packages of our custom
> distro with the gold linker.
>
> Two issues have arisen with version 2.21.51.0.1
>
> Firstly, 'make test' fails when configured with
> --enable-gold=both/gold', like this:
>
> FAIL: flagstest_o_specialfile
> PASS: flagstest_compress_debug_sections
> FAIL: flagstest_o_specialfile_and_compress_debug_sections
>
> I am using a vanilla gcc-4.5.1, and 'make test' works fine without
> --enable-gold.
>
> Is this a known issue? I couldn't find anything on bugzilla except
> with respect to gcc 4-1. I'll add an entry unless there is a trivial
> answer to this.
I'm not aware of any failure here specifically.
Note that only recent versions of gold linker will work when using a
fairly new glibc. I'm not sure what version 2.21.51.0.1 is. You need a
version of gold newer than 2010-08-19.
Ian