On Thu, 2009-01-22 at 15:44 -0800, Danek Duvall wrote: > I just ran into > > 6792612 python Makefile has invalid compiler flags > > which has the symptom that when you try to compile C extensions, > -OPT:Olimit=0 gets passed to the compiler, which promptly barfs (regardless > of whether it's Studio cc or gcc). To my knowledge (from testing, and from > reading the distutils code), there's no way to override this with > environment variables, so you have to edit > > /usr/lib/python2.4/config/Makefile > > and blank out the definition of BASECFLAGS (line 58). > > The problem exists on 105, but not 101. The bug is not yet fixed, so I > assume that it's a problem on 106, and likely on 107, too.
This was a result of a switching to a newer Sun Studio compiler which accepts -OPT:Olimit=0 (with a warning), so the configure script thought it was okay to add this option. The fix went into the JDS build for 108 for Python 2.4, 2.5 and (yay!) 2.6, which is also coming in build 108. Laca _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
