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

objdump says "not recognized as a valid object file" #28

Open
github-julia opened this issue Oct 1, 2018 · 0 comments
Open

objdump says "not recognized as a valid object file" #28

github-julia opened this issue Oct 1, 2018 · 0 comments

Comments

@github-julia
Copy link

All,

Please see the following output from my most recent build run. main is generated, and I can execute it. Albeit with a crash that I think is unrelated, but I'm new to all of this. :-P

$ rm -rf builddir/ && julia build.jl
  Using calculated bundle_identifier: 'com.jason.gitviz'
~~~~~~ Creating mac app in "/Users/jason/src/all/gitviz.git/builddir/gitviz.app" ~~~~~~~
~~~~~~ Compiling a binary from 'src/main.jl'... ~~~~~~~
Julia program file:
  "/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS/applicationbuilderutils.jl"
C program file:
  "/Users/jason/.julia/packages/ApplicationBuilder/gJLwU/src/program.c"
Build directory:
  "/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS"
All done
/opt/local/libexec/llvm-3.9/bin/llvm-objdump: '/Users/jason/src/all/gitviz.git/builddir/gitviz.app/Contents/MacOS/applicationbuilderutils.jl': The file was not recognized as a valid object file
fatal error: otool: internal objdump command failed
~~~~~~ Generating 'Info.plist' for 'com.jason.gitviz'... ~~~~~~~
~~~~~~ Cleaning up temporary files... ~~~~~~~
~~~~~~ Done building '/Users/jason/src/all/gitviz.git/builddir/gitviz.app'! ~~~~~~~

applicationbuilderutils.jl does not exist under builddir/, perhaps the objdump should occur before cleaning up the temp files?

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

1 participant