Summary: | media-libs/gst-plugins-base-1.14.5-r1 - ld: .libs/libgstgl_1.0_la-gstglcontext.o: in function `gst_gl_context_new': gstglcontext.c:(.text+0xb5c): undefined reference to `gst_gl_context_glx_new' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | ykla <yklaxds> |
Component: | Current packages | Assignee: | GStreamer package maintainers <gstreamer> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | crabbedhaloablution, gem, gstreamer, lebkoungcity |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge output
build.log eclass-debug.log environment gst-plugins-base-1.14.5-r1 genrpi64 ebuild patch build.log of media-libs/gst-plugins-base-1.16.3 on ARM |
Description
ykla
2019-10-30 08:43:16 UTC
Created attachment 594518 [details]
build.log
Created attachment 594520 [details]
eclass-debug.log
Created attachment 594522 [details]
environment
Created attachment 615000 [details, diff] gst-plugins-base-1.14.5-r1 genrpi64 ebuild patch I encountered the same issue when compiling for the Raspberry Pi 4 (arm64) with the Gentoo repository version. Switching to the genpi64 overlay version (https://github.com/sakaki-/genpi64-overlay) solved the issue: The genpi64 patch disables Raspberry Pi detection for arm64. The patch is attached. media-libs/gst-plugins-base-1.16.3::gentoo has the same problem. I can emerge this way: USE="-egl -gles2" emerge -a media-libs/gst-plugins-base That leaves these flags on for me: (X alsa introspection ogg opengl pango theora vorbis) I can confirm that patch also fixes media-libs/gst-plugins-base-1.16.3. I had to repair the manifest after the patch, before emerging: ``` cd /var/db/repos/gentoo/media-libs/gst-plugins-base repoman manifest ``` This is not limited to aarch64, seeing this on aarch32 aswell. I have installed a 32-bit gentoo on my Raspberry Pi 4. media-libs/gst-plugins-base-1.16.3 fails with: /usr/lib/gcc/armv7a-unknown-linux-gnueabihf/9.3.0/../../../../armv7a-unknown-linux-gnueabihf/bin/ld: .libs/libgstgl_1.0_la-gstglcontext.o: in function `gst_gl_context_new': gstglcontext.c:(.text+0xdec): undefined reference to `gst_gl_context_glx_new' I add the build log. Just drop a line if more info is needed/wanted. Created attachment 692157 [details]
build.log of media-libs/gst-plugins-base-1.16.3 on ARM
still a bug with PIs on both arm archs involving how this build deals with bcm_host from media-libs/raspberrypi-userland.. Just got bit by it on 1.16.3-r1 on arm (32) on my pi 4. Too tired to poke further in on how it actually breaks/why it suddenly decides a symbol defined IN THAT C file is undefined. Simply exporting ac_cv_lib_bcm_host_bcm_host_init=no (as the genpi64 ebuild hints, ie, via make.conf or a package.env setup) works around it |