[Bug 749461] New: faad2 plugin can't recognize faad2 version due to GCC-5.0 preprocessor changes
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri May 15 23:11:37 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=749461
Bug ID: 749461
Summary: faad2 plugin can't recognize faad2 version due to
GCC-5.0 preprocessor changes
Classification: Platform
Product: GStreamer
Version: 1.4.5
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gabemarcano at yahoo.com
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 303457
--> https://bugzilla.gnome.org/attachment.cgi?id=303457&action=edit
gst-plugins-faad-1.4.5-configure-ac-gcc-5-fix.patch
When building the faac plugin for gst-plugins-bad, GCC-5.0 changed the behavior
of the -E preprocessor flag. This breaks autoconf's AC_EGREP_CPP behavior used
to extract the version number of the faac2 library. I was able to patch the
configure script for version 1.4.5 of gst-plugins-bad (see
https://bugs.gentoo.org/show_bug.cgi?id=549612 for details on that).
configure.ac still needs to be fixed.
In theory, according to the GCC porting docs, the only new flag that needs to
be added to CPPFLAGS somehow is "-P." I am attaching a patch that does just
that, which saves the CPPFLAGS, appends "-P", lets AC_EGREP_CPP do its job, and
then restores the original CPPFLAGS. I've tested it on my system (Gentoo Linux,
unstable, GCC 5.1) and it works, although I don't really like having to mess
with CPPFLAGS directly. Thought?
--
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