Opened 8 years ago

Closed 8 years ago

#6577 closed defect (fixed)

youtube, at least with gstreamer, is broken with gcc-5

Reported by: ken@… Owned by: bdubbs@…
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:


Just so that people don't forget, and think that everything in the garden is lovely, in the best of all possible worlds.

With gcc-5.1, I cannot view any random youtube video. In qupzilla (not in the book, uses gstreamer-0.10 plugins) any attempt to view a youtube video crashes the browser. gdb appears to point to gstreamer itself. Similar crash in firefox with gstreamer-1.4.5-series, but I have not tried that in the build where debugging is enabled.

Armin has reported that building gstreamer-1.4-series (and perhaps the plugins) with clang works, presumably using gcc-4.9.2 will also work.

Change History (10)

comment:1 by bdubbs@…, 8 years ago

If the above problems are due to gcc, I really don't doubt that the next version of firefox will address the problem. If it's due to gstreamer or the plugings, I'm sure the Mozilla folks will use their influence to get that fixed.

Is there an upstream bug report that we can follow?

comment:2 by Armin K, 8 years ago

It's a problem in gst-plugins-bad-1.4.5, at least for Firefox. Building it with either clang-3.6.1 or gcc-4.9.2 makes the problem go away, so it's definitely a GCC regression. I haven't been able to track the issue down to a specific plugin yet, but as far as I know I haven't found any upstream bug we can follow.

comment:3 by Fernando de Oliveira, 8 years ago

I never thought that "everything in the garden is lovely".

comment:4 by bdubbs@…, 8 years ago

Does rebuilding only gst-plugins-bad-1.4.5 fix the problem if all the dependencies are built with gcc5?

comment:5 by Armin K, 8 years ago


comment:6 by ken@…, 8 years ago

I've now confirmed that the bad plugins are also the problem in 0.10, so probably the same plugin (when I ran gdb on a different build with 0.10 it implied gstreamer itself might be the problem, with something optimized away, but that is obviously not correct).

comment:7 by bdubbs@…, 8 years ago

Looking at upstream, there is a recent announcement (6 days ago) about a 1.5.1 development release.

For now, I propose just adding a note:

"The gst-plugins-bad package is known to cause video problems when building with gcc-5. Until a new version of gst-plugins-bad is made, using clang from LLVM is known to avoid these problems"

And then in the instructions change to:

CC=clang make

Also needed is to add llvm to the recommended dependencies.

When the next version of gstreamer is released, review if the workaround is needed.

Should I make this change?

comment:8 by Armin K, 8 years ago

I highly doubt that new GStreamer version will fix it. I've gone through a year of GStreamer commits and haven't found anything relevant. I just wish someone would track the GCC regression as GStreamer-0.10 is also broken but nobody maintains it.

comment:9 by bdubbs@…, 8 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:10 by bdubbs@…, 8 years ago

Resolution: fixed
Status: assignedclosed

Fixed, or at least worked around, at revision 16122.

Note: See TracTickets for help on using tickets.