This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: 3.4/3.5 PATCH: Fix Solaris 10 libjava bootstrap failure
Andrew Haley writes:
> who includes it? Is this a Solaris bug?
The route is via <sys/signal.h> -> <sys/ucontext.h> -> <sys/regset.h> ->
<ia32/sys/reg.h>. The inclusion of <sys/ucontext.h>, which triggers this
in the first place, is controlled by a convoluted expression related to
XPG4.2 conformance.
You may be right, this could be a Solaris bug, on the other hand, using a
variable named PC seems like a problem waiting to happen on other platforms
as well.
Rainer
-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University