Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 801409

Summary: media-libs/gst-plugins-good-1.18.4 fails to link with LTO (undefined reference to `gst_yadif_filter_line_mode0_ssse3')
Product: Gentoo Linux Reporter: Althorion <althorion>
Component: Current packagesAssignee: GStreamer package maintainers <gstreamer>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, ionen, jstein, kajanos, lssndrbarbieri, lynx1534, mitchellstevens101101, pa5hgan, qwe7951384261
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/909
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: full build.log
emerge --info '=media-libs/gst-plugins-good-1.18.4::gentoo'

Description Althorion 2021-07-09 23:50:25 UTC
media-libs/gst-plugins-good-1.18.4 fails to link with the following errors:

/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/media-libs/gst-plugins-good-1.18.4/temp/cci2JleS.ltrans1.ltr
ans.o: in function `gst_deinterlace_method_yadif_init':
<artificial>:(.text+0x4c2c): undefined reference to `gst_yadif_filter_line_mode0_ssse3'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x4c33): undefined reference to `gst_yadif_filter_line_mo
de2_ssse3'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x4c93): undefined reference to `gst_yadif_filter_line_mode0_sse2'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: <artificial>:(.text+0x4c9a): undefined reference to `gst_yadif_filter_line_mode2_sse2'
collect2: error: ld returned 1 exit status

$ emerge -pqv '=media-libs/gst-plugins-good-1.18.4::gentoo'
[ebuild     U ] media-libs/gst-plugins-good-1.18.4 [1.16.3] USE="nls orc -test%" ABI_X86="32 (64) (-x32)"

Reproducible: Always

Steps to Reproduce:
1. Unmask media-libs/gst-plugins-good-1.18.4
2. Try to emerge it.
Comment 1 Althorion 2021-07-09 23:50:52 UTC
Created attachment 723040 [details]
full build.log
Comment 2 Althorion 2021-07-09 23:51:52 UTC
Created attachment 723043 [details]
emerge --info '=media-libs/gst-plugins-good-1.18.4::gentoo'
Comment 4 Alessandro Barbieri 2022-05-28 20:18:31 UTC
I can reproduce by using -fplugin=annobin
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-29 09:18:37 UTC
(In reply to Alessandro Barbieri from comment #4)
> I can reproduce by using -fplugin=annobin

The issue is well understood to be about LTO.
Comment 6 Kostadin Shishmanov 2023-07-05 12:08:18 UTC
Can't reproduce this with media-libs/gst-plugins-good-1.22.3-r2 and gcc (Gentoo 13.1.1_p20230527 p3) 13.1.1 20230527