The HUGE_VAL aka infinity issue is solved if the LIB is -lsunmath -lm instead of just -lm Sun Studio 12 compiler also seems to choke on the PyByteArray_GET_SIZE and _AS_STRING because those macros use the ',' operator to stuff an assert before the pointer lookup. When I remove the assert portion of those macros then they compile fine. The assertions in those macros appear a bit silly because some places they are used already have prior assertions and I don't see the point of the macro which appears to be to crash due to an assertion one statement prior to the null pointer reference causing a crash. The configure process also appeared to make a few mistakes such as not finding uid_t because that is in <sys/types.h> and not in the presumed header file. If configure were to include the standard header files AND the file that it expects to find the definition then it would be better at finding what is defined. I don't know why Sun does that.
I got this in an email from the OP. "Hi, I don't even remember this issue any more, but it seems to me that it is completely irrelevant that the error occurred with software that now how has a newer version. That the essential fact is that the configure process makes mistakes creates a situation in which the includes fail to work properly. The only relevance of Python x.x is that version DEMONSTRATES the error. The philosophy that the apparent error need not be considered because right now it happens to a possibly obsolete version of software just means it will happen again. Presumably, it will be just another hassle for those that test compile against sunstudio. Using that sort of rationale to close issues is exactly how to make sunstudio into a piece of crap. sdw " Could somebody pick this up?
The original report isn't very useful; without further constructive feedback from the OP I agree this issue should be closed. For example: > The HUGE_VAL aka infinity issue is solved if the LIB is -lsunmath -lm > instead of just -lm What is this mysterious 'HUGE_VAL aka infinity' issue---it's not made clear anywhere that I can see? A build failure, I assume (from the title). But at what stage of the build? What's the revelant error message (and surrounding context from the build output)? Exactly how was Python configured and built? Is there some context I'm missing, like an attachment containing a build log or something?
BTW, if there *is* still a problem with building Python 2.6 then closing as 'out of date' wouldn't be appropriate (yet). 2.6 is still receiving bugfixes at this point.
You all take 7 months to first look at the issue and then decide that you'd like more information because the initial submission was incomplete? Oh well, Suit yourself. Doesn't matter to me. I've already stopped using sunstudio. That python build was one of the last things I did on Solaris which I had been actively using for 20 years, but some device driver issues have made it no longer worth the effort. sdw On Sat, Jun 26, 2010 at 4:39 AM, Mark Lawrence <report@bugs.python.org>wrote: > > Mark Lawrence <breamoreboy@yahoo.co.uk> added the comment: > > I got this in an email from the OP. > > "Hi, > I don't even remember this issue any more, but it seems to me that it is > completely irrelevant that the error occurred with software that now how has > a newer version. > > That the essential fact is that the configure process makes mistakes > creates a situation in which the includes fail to work properly. The only > relevance of Python x.x is that version DEMONSTRATES the error. > > The philosophy that the apparent error need not be considered because right > now it happens to a possibly obsolete version of software just means it will > happen again. Presumably, it will be just another hassle for those that > test compile against sunstudio. Using that sort of rationale to close > issues is exactly how to make sunstudio into a piece of crap. > > sdw > " > > Could somebody pick this up? > > ---------- > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue4919> > _______________________________________ >