This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2.6.1 build issues on solaris with SunStudio 12
Type: Stage:
Components: Build Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, mark.dickinson, taverngeek
Priority: normal Keywords:

Created on 2009-01-12 09:14 by taverngeek, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unnamed taverngeek, 2010-06-26 14:40
Messages (6)
msg79654 - (view) Author: scott wedel (taverngeek) Date: 2009-01-12 09:14
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.
msg108195 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-06-19 18:17
Can this be closed as out of date or is it still an issue with Python 2.7 or any of the Python 3 versions?
msg108703 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2010-06-26 10:39
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?
msg108709 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-06-26 11:18
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?
msg108710 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-06-26 11:23
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.
msg108727 - (view) Author: scott wedel (taverngeek) Date: 2010-06-26 14:40
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>
> _______________________________________
>
History
Date User Action Args
2022-04-11 14:56:44adminsetgithub: 49169
2010-06-26 14:42:20benjamin.petersonsetstatus: open -> closed
resolution: out of date
2010-06-26 14:40:46taverngeeksetfiles: + unnamed

messages: + msg108727
2010-06-26 11:23:08mark.dickinsonsetmessages: + msg108710
2010-06-26 11:18:15mark.dickinsonsetnosy: + mark.dickinson
messages: + msg108709
2010-06-26 10:39:25BreamoreBoysetmessages: + msg108703
2010-06-19 18:17:00BreamoreBoysetnosy: + BreamoreBoy
messages: + msg108195
2009-01-12 09:14:50taverngeekcreate