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

Compare to support armv7 and arm64 together. #58

Open
Jimmygio opened this issue Sep 5, 2016 · 2 comments
Open

Compare to support armv7 and arm64 together. #58

Jimmygio opened this issue Sep 5, 2016 · 2 comments

Comments

@Jimmygio
Copy link

Jimmygio commented Sep 5, 2016

Hi sir:

I want to support armv7 and arm64 together and I found you have a solution at : 27be596?diff=unified

But the newest cerbero master version still link to https://github.com/atgreen/libffi.git, not link to https://github.com/NativeScript/libffi.git

So I need to directly edit the libffi.recipe and libffi/0001-libffi-Don-t-be-smart-about-toolexeclibdir.patch by myself and compile to support armv7 and arm64 together, right?

But I met a error during compile.
Could you help me?
Thinks.

[(13/23) libffi -> extract ]
HEAD is now at 6ba2a49 Merge pull request #222 from freakboy3742/t181
fatal: A branch named 'cerbero_build' already exists.
Already on 'cerbero_build'
HEAD is now at 6ba2a49 Merge pull request #222 from freakboy3742/t181
Cloning into '.'...
done.
jimmygio@me.com
Jimmy Chang
Applying: Modified arm/sysv.S to remove directives not allowed by clang.
.git/rebase-apply/patch:79: space before tab in indent.
.arch armv5t
error: patch failed: src/arm/sysv.S:52
error: src/arm/sysv.S: patch does not apply
Patch failed at 0001 Modified arm/sysv.S to remove directives not allowed by clang.
The copy of the patch that failed is found in: .git/rebase-apply/patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Running command 'git reset --hard 6ba2a49e226b859ddde9a37c34973cf85380c525'
Running command 'git branch cerbero_build'
Running command 'git checkout cerbero_build'
Running command 'git reset --hard 6ba2a49e226b859ddde9a37c34973cf85380c525'
Running command 'git clone /Users/jimmychang/cerbero/build/sources/local/libffi -s -b cerbero_build .'
Running command 'git config user.email'
Running command 'git config user.name'
Running command 'git submodule init'
Running command 'git submodule sync'
Running command 'git submodule update'
Running command 'git submodule sync'
Running command 'git am --ignore-whitespace /Users/jimmychang/cerbero/recipes/libffi/0001-libffi-Don-t-be-smart-about-toolexeclibdir.patch'

Recipe 'libffi' failed at the build step 'extract'
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort

@ford-prefect
Copy link
Contributor

We very recently added a universal Android build to Cerbero master (https://cgit.freedesktop.org/gstreamer/cerbero/tree/config/cross-android-universal.cbc). It should be possible to cherry-pick those onto the Cerbero tree and use that to get a build for multiple arches simultaneously.

@slomo has uploaded a tarball for the gstreamer package already at https://gstreamer.freedesktop.org/data/pkg/android/1.9.2/gstreamer-1.0-android-universal-1.9.2.tar.bz2

The corresponding app-side build changes look like this -- https://cgit.freedesktop.org/gstreamer/gst-examples/commit/?id=a5cdde9119f038a1eb365aca20faa9741a38e788

@Jimmygio
Copy link
Author

Jimmygio commented Sep 5, 2016

Thinks for your reply.
But I forget to say I want to build iOS framework...

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

2 participants