Opened 3 years ago

Closed 3 years ago

#4916 defect closed wontfix (wontfix)

Build process broken on Solaris/gcc

Reported by: dabrahams Owned by: dabrahams
Priority: normal Milestone:
Component: core Keywords:
Cc: exarkun Branch:
Author: Launchpad Bug:

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 follow-up: Changed 3 years ago by exarkun

  • Cc exarkun added
  • Owner set to dabrahams

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 3 years ago by dabrahams

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

comment:3 Changed 3 years ago by exarkun

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 3 years ago by dabrahams

  • Resolution set to wontfix
  • Status changed from new to closed

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.