[csw-maintainers] python - illegal compiler flag ?

Dagobert Michelsen dam at opencsw.org
Mon Apr 5 22:02:27 CEST 2010


Hi Rupert,

Am 05.04.2010 um 22:00 schrieb rupert THURNER:
> On Mon, Apr 5, 2010 at 21:06, Dagobert Michelsen <dam at opencsw.org> wrote:
>> Hi Rupert,
>> 
>> Am 02.04.2010 um 10:33 schrieb rupert THURNER:
>>> while building mercurial-1.5.1 i got the error, on both build9s, and build9x:
>>> 
>>> /opt/studio/SOS11/SUNWspro/bin/cc -G -m32 -xarch=386 -L/opt/csw/lib
>>> -xO3 -m32 -xarch=386 -xnorunpath -I/opt/csw/include
>>> build/temp.solaris-2.9-i86pc-2.6/mercurial/parsers.o -L/opt/csw/lib
>>> -lpython2.6 -o build/lib.solaris-2.9-i86pc-2.6/mercurial/parsers.so
>>> cc: Warning: illegal option -m32
>>> cc: Warning: illegal option -m32
>>> 
>>> it compiles, so the package is on testing now.
>> 
>> This is strange. GAR doesn't use -m32 on SOS11, I just checked ([1]). Is this
>> added by mercurial itself?
> 
> to my knowledge setuptools compilation use the flags used to compile python.

Than most certainly Python was compiled with Sun Studio 12 and you
hardwired CC to Sun Studio 11 :-)


Best regards

  -- Dago



More information about the maintainers mailing list