Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccall does not support complex return on 32 bit machines #2177

Closed
andreasnoack opened this issue Feb 3, 2013 · 7 comments
Closed

ccall does not support complex return on 32 bit machines #2177

andreasnoack opened this issue Feb 3, 2013 · 7 comments
Assignees
Labels
bug Indicates an unexpected problem or unintended behavior system:32-bit Affects only 32-bit systems
Milestone

Comments

@andreasnoack
Copy link
Member

The Travis build is segfaulting now because of this (but returns green anyway).

64 bit OS X:

julia> erf(complex(1.0))
0.8427007929497148 + 0.0im

32 bit Ubuntu:

julia> erf(complex(1.0))
Segmentation fault (core dumped)

cc: @vtjnash

@ghost ghost assigned vtjnash Feb 4, 2013
@ViralBShah
Copy link
Member

Also see #2149

@staticfloat
Copy link
Member

In regards to the segfaulting but returning green, see travis-ci/travis-ci#905

@ViralBShah
Copy link
Member

Is this still an issue on 32-bit?

@Keno
Copy link
Member

Keno commented Nov 23, 2014

yes, the calling convention PR is still oustanding

@tkelman
Copy link
Contributor

tkelman commented Apr 19, 2015

Was this fixed by #7906?

@tkelman tkelman closed this as completed Apr 19, 2015
@ViralBShah
Copy link
Member

For the specific example in this issue:

julia> erf(complex(1.0))
ERROR: MethodError: `erf` has no method matching erf(::Complex{Float64})

@tkelman
Copy link
Contributor

tkelman commented Apr 19, 2015

On what versioninfo() ? Works for me with i686-linux-gnu, 86ffe49

also x86_64-linux-gnu, ed020a5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior system:32-bit Affects only 32-bit systems
Projects
None yet
Development

No branches or pull requests

6 participants