On Tue, 29 May 2007, Charles R Harris wrote:
On 5/29/07, Mary Haley
wrote: Hi all,
I have been trying to build numpy 1.0.3 on my SGI/IRIX64 box (64-bit version) with no luck. I'm using Python 2.4.4.
There have been other reports of problems on IRIX 6.5. What we need is someone running on an SGI box and willing to help us get things working.
Chuck, I will be willing to help here. Unfortunately I can't give people logins to this system, but I will be willing to try a bunch of things.
I've tried setting CC to both the default "cc" compiler (which
I built python with), and "gcc", with no luck. I tried c89 and c99, still with no luck. I get errors like:
cc -64 _configtest.o -L/usr/local/lib -L/usr/lib -o _configtest ld64: FATAL 12 : Expecting n64 objects: /usr/lib/crt1.o is o32. ld64: FATAL 12 : Expecting n64 objects: /usr/lib/crt1.o is o32.
Looks like ld is trying to link a 64bit program to a 32bit library. I wonder what crt1 is? Is there a 64bit version? How are the 64 and 32 bit libraries in IRIX distinguished?
I was wondering about this /usr/lib/crt1.o myself. Generally when you see this error message, it means that some of the code is getting compiled in 64-bit mode (using the -64 option) and some is being compiled in 32-bit mode (using -32 or -n32). You can't mix these two. This can also happen, I think, if compilers are mixed. That is, if you try to use "cc -64" for some code, and then "gcc" for other code, as the "gcc" compiler doesn't recognize the -64 or -n32 options. Can I build NumPy a certain way for you that might give you more debug information to go on? --Mary
Chuck