Discussion:
[Bug 796402] New: Linking error for android release 1.14.1 for all archs.
"GStreamer" (GNOME Bugzilla)
2018-05-25 17:55:39 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Bug ID: 796402
Summary: Linking error for android release 1.14.1 for all
archs.
Classification: Platform
Product: GStreamer
Version: 1.14.1
OS: Windows
Status: NEW
Severity: major
Priority: Normal
Component: don't know
Assignee: gstreamer-***@lists.freedesktop.org
Reporter: ***@gmail.com
QA Contact: gstreamer-***@lists.freedesktop.org
GNOME version: ---

Created attachment 372406
--> https://bugzilla.gnome.org/attachment.cgi?id=372406&action=edit
Build Error Log file

Hi,

I am facing 'undefined reference' and 'incompatible target' linking error on
android platform for all arch's in release 1.14.1. Build environment details
are below.

Host OS: Windows 7
Editor: Android Stuio 3.0.1
NDK version: r16

error logs and android.mk files are attached.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-25 17:56:19 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #1 from Kim Jonathan <***@gmail.com> ---
Created attachment 372407
--> https://bugzilla.gnome.org/attachment.cgi?id=372407&action=edit
Android.mk file
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-25 18:01:58 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@coaxion.net
Severity|major |blocker
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-26 05:58:24 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #2 from Sebastian Dröge (slomo) <***@coaxion.net> ---
It seems like it is always using the first architecture in Application.mk, so
in your case x86.

This did not seem to happen with a gradle based build that I tried some days
ago. Can you provide a whole project for reproducing?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-27 15:08:30 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #3 from Kim Jonathan <***@gmail.com> ---
Ok. I will share a new app within few days.

By the time, I observed continuous memory increase while using H/W decoders in
this release. While using libav codecs, no memory increase observed.
I used android studio profiler tool.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-28 15:16:30 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #4 from Kim Jonathan <***@gmail.com> ---
Created attachment 372446
--> https://bugzilla.gnome.org/attachment.cgi?id=372446&action=edit
Android studio project file
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-28 15:18:21 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #5 from Kim Jonathan <***@gmail.com> ---
This project is not yet complete but solving our purpose to reproduce build
issue.
I will make it a Test player for future issue.

Note: you may get below warning/error message while opening the solution in
Android Stuio. Just ignore that and try to build.

Error:Execution failed for task ':app:preDebugAndroidTestBuild'.
Conflict with dependency 'com.android.support:support-annotations' in project ':app'. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-29 15:46:40 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Jan Schmidt <***@noraisin.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@noraisin.net

--- Comment #6 from Jan Schmidt <***@noraisin.net> ---
I can't reproduce this when using a gradle build that uses an
externalNativeBuild block instead of an explicit call to ndk-build. I tested
with https://github.com/sdroege/gst-launch-remote.

As noted above, the problem seems to be related to having multiple
architectures in the APP_ABI line in Application.mk

https://groups.google.com/forum/#!topic/android-ndk/Y1ozOWg1Cyw seems related,
although claims to be an old bug that was fixed many years ago.

In any case, I don't think this is a regression in the GStreamer binaries -
it's something broken in ndk-build itself.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-29 16:19:20 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #7 from Sebastian Dröge (slomo) <***@coaxion.net> ---
It would be worth trying e.g. with
https://cgit.freedesktop.org/gstreamer/gst-docs/tree/examples/tutorials/android-tutorial-5

This probably does not happen with gradle but only with plain ndk-build.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-05-29 16:57:06 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #8 from Kim Jonathan <***@gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #7)
Post by "GStreamer" (GNOME Bugzilla)
It would be worth trying e.g. with
https://cgit.freedesktop.org/gstreamer/gst-docs/tree/examples/tutorials/
android-tutorial-5
This probably does not happen with gradle but only with plain ndk-build.
I will try this project in my environment and let you know. By the time, are we
going to dig out what failing in case of plain ndk-build ?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-06-06 15:33:46 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Tim-Philipp Müller <***@zen.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@zen.co.uk

--- Comment #9 from Tim-Philipp Müller <***@zen.co.uk> ---
Kim: any updates?

Jan: did you make any more progress on this?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-06-06 16:49:21 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Nirbheek Chauhan <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-06-10 07:51:28 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #10 from Kim Jonathan <***@gmail.com> ---

Tim:
Build was successful after using externalNativeBuild for all arch's in
Application.mk file. I am attaching modified gradle build file.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-06-10 07:52:19 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

--- Comment #11 from Kim Jonathan <***@gmail.com> ---
Created attachment 372627
--> https://bugzilla.gnome.org/attachment.cgi?id=372627&action=edit
Modified gradle build file
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-10-02 08:16:47 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Nirbheek Chauhan <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #372627|application/octet-stream |text/plain
mime type| |
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-10-02 14:02:05 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Fernando Jiménez Moreno [:ferjm] <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-10-05 10:53:21 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Sebastian Dröge (slomo) <***@coaxion.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|git master |1.14.4
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-10-05 12:01:56 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

Tim-Philipp Müller <***@zen.co.uk> changed:

What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|1.14.4 |1.14.5
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
"GStreamer" (GNOME Bugzilla)
2018-11-03 16:13:22 UTC
Permalink
https://bugzilla.gnome.org/show_bug.cgi?id=796402

GStreamer system administrator <***@gstreamer.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |OBSOLETE

--- Comment #12 from GStreamer system administrator <***@gstreamer.net> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance:
https://gitlab.freedesktop.org/gstreamer/gstreamer-project/issues/14.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
Loading...