[Bug 728258] ios-universal: libvpx: Failure to build properly for armv7s

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 15 05:43:46 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728258
  GStreamer | packages | unspecified

--- Comment #1 from Edward Hervey <bilboed at bilboed.com> 2014-04-15 12:43:45 UTC ---
I tried to fix this issue by modifying the recipe this way:
* if the target is armv7s, replace arch with armv7 (and make it use the ios
armv7 target)

  That wasn't enough since the compiler then complained about having two
diferent "-arch" in the CFLAGS.

* remove "-arch armv7s" from the CFLAGS, CPPFLAGS and LDFLAGS

The problem is that while it builds everything ... we end up with two armv7
section in the universal library, and therefore the build fails.


Something is definitely fishy in the way -arch is handled. I'm tempted to say
the problem is in the patches we have for libvpx to make it support ios.
We set -arch both in:
* the generic cerbero system (in the CFLAGS, CPPFLAGS and LDFLAGS)
* and also in the libvpx configuration system

I'm tempted to say we should drop the -arch fiddling for ios in the libvpx
configuration patches, and instead let is use the ones from the generic cerbero
system.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list