[gold commit] Aligning segments in gold

Alan Modra amodra@gmail.com
Wed Jan 14 07:27:00 GMT 2015


On Fri, Jan 09, 2015 at 04:03:35PM -0800, Cary Coutant wrote:
>         * layout.cc (Layout::set_segment_offsets): Don't align start of segment
>         unless alignment is larger than page size.

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


-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list