zero_filesize_segment tescase fails on s390x with segfault because program header virtual address is set to very low value below zSeries default 0x80000000 address.
I haven't found a way how to set custom virtual base address on s390x since ld option --image-base is not supported there. When the address of file segment is set above 0x80000000, binary is linked properly and testcase passes. Signed-off-by: Petr Holasek <phola...@redhat.com> --- tests/zero_filesize_segment.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/zero_filesize_segment.ld b/tests/zero_filesize_segment.ld index 7f2fe12..813a92f 100644 --- a/tests/zero_filesize_segment.ld +++ b/tests/zero_filesize_segment.ld @@ -1,6 +1,6 @@ SECTIONS { - .empty (0x20000000) : { + .empty (0x90000000) : { __empty_segment = .; . = . + 4; } -- 1.9.3 ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel