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

Forcing 64bit mode on OS X causes NativeCall to fail on 32bit machines #100

Closed
bbkr opened this issue May 25, 2013 · 3 comments
Closed

Forcing 64bit mode on OS X causes NativeCall to fail on 32bit machines #100

bbkr opened this issue May 25, 2013 · 3 comments

Comments

@bbkr
Copy link

bbkr commented May 25, 2013

Incorrect assumption
https://github.com/perl6/nqp/blob/master/Configure.pl#L131

When loading C library following error occurs:

dyld: Symbol not found: _dlLoadLibrary
  Referenced from: /Users/bbkr/Developer/rakudo/install/lib/parrot/5.2.0-devel/dynext/nqp_dyncall_ops.bundle
  Expected in: flat namespace
@moritz
Copy link
Contributor

moritz commented May 25, 2013

What would be a better assumption?

@FROGGS
Copy link
Contributor

FROGGS commented May 26, 2013

maybe run uname -a in case of darwin?

@leto
Copy link
Contributor

leto commented May 28, 2013

The output of ld with no arguments on OS X will tell you what you want to know:

$ ld
ld: warning: -arch not specified
ld: warning: -macosx_version_min not specificed, assuming 10.7
ld: no object files specified for inferred architecture x86_64

@moritz moritz closed this as completed in c557c27 May 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants