Hi Dustin,

Dustin Arendt <[email protected]> writes:
> I am trying to install pyopencl into the python distribution bundled with 
> Sage 5.10 on Mac OSX Lion.  Pyopencl installs successfully on the machine in 
> the default python distribution, however (i.e. outside the sage environment). 
>  The errors from calling make are shown below.  The installation process I 
> followed was:
>
> [snip]
> make
> [snip]
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:6:bad register 
> name `%rsp'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:11:bad register 
> name `%rsp'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:22:bad register 
> name `%rdi)'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:23:bad register 
> name `%rdx)'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:29:bad register 
> name `%rdi)'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:30:bad register 
> name `%rdi)'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:31:bad register 
> name `%rax)'
> /var/folders/v5/l16mj3ds0lq3r3bhkqw8m0c40000gn/T//ccBbNpnQ.s:32:bad register 
> name `%rax'

This looks like the C compiler is trying to compile for a 64-bit
architecture, but the assembler has no idea what the compiler is talking
about. :)

I assume you're using a 32-bit Mac, correct? If so, yank

'-arch', 'x86_64'

out of the CXXFLAGS setting in siteconf.py and rebuild. That might help,
even though I must admit I'm still a bit confused by the error you
got...

Andreas

Attachment: pgpQN6fsmnBz_.pgp
Description: PGP signature

_______________________________________________
PyOpenCL mailing list
[email protected]
http://lists.tiker.net/listinfo/pyopencl

Reply via email to