This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]