RFR(xs): 8171408: [aix] TOC overflow when linking the gtest libjvm.so
david.holmes at oracle.com
Mon Dec 19 20:43:43 UTC 2016
Attachments gets stripped from most of the mailing lists.
But cr.openjdk is back now.
On 19/12/2016 11:28 PM, Thomas Stüfe wrote:
> On Sun, Dec 18, 2016 at 1:50 PM, Thomas Stüfe <thomas.stuefe at gmail.com>
>> Hi all,
>> please take a look at this small fix. In short, on AIX when linking the
>> gtest version of libjvm.so, the TOC overflows.
>> So the gtest libjvm.so must be linked with -bbigtoc, in contrast to the
>> regular libjvm.so, which has no problems and can keep using a small TOC.
>> Also, I compile all gtest objects with -qpic=large. Note that this only
>> affects the gtest objects. The regular objects - which the gtest libjvm.so
>> shares with the regular libjvm.so - I left at -qpic[=small]. This means we
>> pay a bit of a performance overhead in the gtest libjvm.so but leave the
>> regular libjvm.so at its optimal linker settings.
>> (Hope the webrev link works, the webserver is still down).
>> Kind Regards, Thomas
> Because cr.openjdk.java.net is still down, here the zipped webrev as
More information about the hotspot-dev