Review request: 8002365: build-infra: Build-infra fails on solaris 11.1 on sparc

David Holmes david.holmes at oracle.com
Thu Nov 8 06:56:01 UTC 2012


On 8/11/2012 12:38 AM, Erik Joelsson wrote:
> This is essentially the patch from Vincent to make build-infra work on
> Solaris 11.1 with some minor adjustments to keep the new and old build
> equal.
>
> http://cr.openjdk.java.net/~erikj/8002365/webrev.01/
> <http://cr.openjdk.java.net/%7Eerikj/8002365/webrev.01/>

FYI I did some digging on this. It looks like the old build always uses 
-lc but the new build accidentally dropped that option. That wasn't 
noticed because the compiler we are using (SS12u1) introduced a bug - 
and that bug was to implicitly pass -lc when -G was used to create a 
shared library. The bug is fixed in SS12u2 and so, as Vincent 
discovered, the build failed until -lc was added back in.

David

> /Erik



More information about the build-dev mailing list