Opened 7 years ago

Closed 7 years ago

#4916 defect closed wontfix (wontfix)

Build process broken on Solaris/gcc

Reported by: Dave Abrahams Owned by: Dave Abrahams
Priority: normal Milestone:
Component: core Keywords:
Cc: Jean-Paul Calderone Branch:
Author:

Description

Something in the build process is deciding that I have Sun CC installed instead of letting pycc, which handles the job of picking the proper PIC flag, do it properly:

/usr/lib/python2.6/pycc -DNDEBUG -KPIC -I/usr/include/python2.6 -c conftest.c -o conftest.o

 gcc: unrecognized option `-KPIC'

Change History (4)

comment:1 Changed 7 years ago by Jean-Paul Calderone

Cc: Jean-Paul Calderone added
Owner: set to Dave Abrahams

Twisted doesn't specify this flag. Perhaps this is a distutils bug instead? I don't think any of the regular Twisted contributors have a Solaris machine to test with, so you may have to follow up on this if any progress is to be made.

comment:2 Changed 7 years ago by Dave Abrahams

I can set up a zone for someone to experiment in if they like.

comment:3 Changed 7 years ago by Jean-Paul Calderone

Maybe someone else will take you up on that. Solaris support isn't enough of a priority for me for now to figure it out myself. If someone does figure it out and it's a problem with Twisted though, a patch will be quite welcome.

comment:4 in reply to:  1 Changed 7 years ago by Dave Abrahams

Resolution: wontfix
Status: newclosed

Replying to exarkun:

Twisted doesn't specify this flag. Perhaps this is a distutils bug instead?

Submitted there: http://bugs.python.org/issue11376

Note: See TracTickets for help on using tickets.