Created attachment 389860 [details] media-libs:gst-plugins-base-0.10.36-r1:20141120-120949.log.xz This error occurs with x86 and gcc-4.9 (here: gcc-4.9.2). It does *not* occur with gcc-4.8 (tested with gcc-4.8.2) or amd64. Compilation of media-libs/gst-plugins-base-0.10.36-r1 fails. The relevant (first) error message is ../../../gst-plugins-base-0.10.36/gst/audioresample/resample_sse.h: In function 'inner_product_double': /usr/lib/gcc/i686-pc-linux-gnu/4.9.2/include/emmintrin.h:99:1: error: inlining failed in call to always_inline '_mm_setzero_pd': target specific option mismatch _mm_setzero_pd (void) ^ In file included from ../../../gst-plugins-base-0.10.36/gst/audioresample/resample.c:134:0, from ../../../gst-plugins-base-0.10.36/gst/audioresample/speex_resampler_float.c:26: ../../../gst-plugins-base-0.10.36/gst/audioresample/resample_sse.h:102:12: error: called from here __m128d sum = _mm_setzero_pd(); ^
Created attachment 389864 [details] emerge --info gst-plugins-base:0.10
Adding toolchain herd since I have no idea about this kind of problem.
This was fixed upstream in 1.2 branch with following two commits: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1.2&id=fa16f25ba6ecf92aa54b03b7ea25d1a87510cb52 http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1.2&id=74b741d0a43f6d44bd5f9801c34a3a6242d3bde6 Both patches apply without modifications on gst-plugins-base-0.10.36. Compilation and tests complete successfull. gst-plugins-base-1.2.4 should be affected too cause both commits are after 1.2.4 release.
(In reply to Stephan Hartmann from comment #3) > This was fixed upstream in 1.2 branch with following two commits: > > http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1. > 2&id=fa16f25ba6ecf92aa54b03b7ea25d1a87510cb52 > http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1. > 2&id=74b741d0a43f6d44bd5f9801c34a3a6242d3bde6 > > Both patches apply without modifications on gst-plugins-base-0.10.36. > Compilation and tests complete successfull. > > gst-plugins-base-1.2.4 should be affected too cause both commits are after > 1.2.4 release. Can you please test the upstream fixes so that we can unblock gcc-4.9 stabilization eventually.
I can confirm that applying the two patches (in order), fixes the compilation on x86 with gcc-4.9.2. Compilation on amd64 continues to work with these patches.
Created attachment 394194 [details, diff] Combined patch For your convenience, I attach the combined patch which I have actually tested: It makes no sense to add a patch and a patch to this patch..
Sure, was just bit lazy to combine both commits ;) Meanwhile checked that the patch is needed on gst-plugins-base:1.2 branch too.
+ 19 Jan 2015; Pacho Ramos <pacho@gentoo.org> + +files/gst-plugins-base-0.10.36-gcc-4.9.patch, + +files/gst-plugins-base-0.10.36-resync-ringbuffer.patch, + -gst-plugins-base-0.10.36.ebuild, gst-plugins-base-0.10.36-r1.ebuild, + gst-plugins-base-1.2.4-r1.ebuild: + Fix compilation with gcc-4.9 (#529962 by Martin Väth and Stephan Hartmann), + fix hang during gapless transition (#520090 by Georg Rudoy), drop old +
Oops +*gst-plugins-base-0.10.36-r2 (19 Jan 2015) + + 19 Jan 2015; Pacho Ramos <pacho@gentoo.org> + +gst-plugins-base-0.10.36-r2.ebuild, gst-plugins-base-0.10.36-r1.ebuild: + Revbump with the fix for the hang +