Author wah meng
Recipients loewis, skrah, wah meng
Date 2011-09-20.07:32:38
SpamBayes Score 1.05185e-06
Marked as misclassified No
Message-id <1316503959.58.0.566150309513.issue12991@psf.upfronthosting.co.za>
In-reply-to
Content
I think there is something that is not working here at least for the instructions in build README file about setting up 4 environment variables required for HP Itanium 64-bit build using HP compilers. 
                CC=cc
                CXX=aCC
                BASECFLAGS="+DD64"
                LDFLAGS="+DD64 -lxnet"
When above 4 environment variables are set, the configure script will pick them up and build the Makefile that passes in LDFLAGS into the linker. The linker doesn't seem to recognize +DD64 on HP-UX. 

ld -b +DD64 -lxnet build/temp.hp-ux-B.11.31-ia64-2.7/home/r32813/Build/2.7.1/Python-2.7.1/Modules/mathmodule.o build/temp.hp-ux-B.11.31-ia64-2.7/home/r32813/Build/2.7.1/Python-2.7.1/Modules/_math.o -L/usr/local/lib -lm -o build/lib.hp-ux-B.11.31-ia64-2.7/math.so
ld: Unrecognized argument: +DD64
Fatal error.

I did a workaround by only setting "CC=cc +DD64" and "CXX=aCC" and did not set the other 2 environment variables, and able to build python 64-bit without the failed modules that were due to invalid flag passed into the linker. So I am re-opening the issue here to see if this is something we can amend in the instruction of README file for HP 64-bit build using HP Compiler.
History
Date User Action Args
2011-09-20 07:32:39wah mengsetrecipients: + wah meng, loewis, skrah
2011-09-20 07:32:39wah mengsetmessageid: <1316503959.58.0.566150309513.issue12991@psf.upfronthosting.co.za>
2011-09-20 07:32:39wah menglinkissue12991 messages
2011-09-20 07:32:38wah mengcreate