This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [gold commit] Aligning segments in gold
- From: Cary Coutant <ccoutant at google dot com>
- To: Cary Coutant <ccoutant at google dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 14 Jan 2015 11:35:58 -0800
- Subject: Re: [gold commit] Aligning segments in gold
- Authentication-results: sourceware.org; auth=none
- References: <CAHACq4rL5h6B660cpxdisgXg3dkmRkKnycTyftRn7Uq--YjbxA at mail dot gmail dot com> <20150114072650 dot GN23768 at bubble dot grove dot modra dot org>
> This appears to cause the following failure on powerpc64.
>
> `echo g++ -Bgcctestdir/ -m64 -W -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fmerge-constants -g -O -fno-inline -fno-use-linker-plugin -o relro_test.so | sed -e 's/-Wp,-D_FORTIFY_SOURCE=[0-9][0-9]*//'` -shared -Wl,-z,relro relro_test_pic.o
> gcctestdir/collect-ld: internal error in set_offset, at /src/binutils-gdb/gold/output.cc:4686
Unfortunately, with the ppc64 toolchain I have, I can't reproduce this
error. Can you send me your copy of relro_test_pic.o? (Since I don't
have a native machine to test on, I had to cross-compile and link with
an x86-hosted gold. So that may have changed things.)
-cary