This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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. 
                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/
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.
Date User Action Args
2011-09-20 07:32:39wah mengsetrecipients: + wah meng, loewis, skrah
2011-09-20 07:32:39wah mengsetmessageid: <>
2011-09-20 07:32:39wah menglinkissue12991 messages
2011-09-20 07:32:38wah mengcreate