Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801409 - media-libs/gst-plugins-good-1.18.4 fails to link with LTO (undefined reference to `gst_yadif_filter_line_mode0_ssse3')
Summary: media-libs/gst-plugins-good-1.18.4 fails to link with LTO (undefined referenc...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL: https://gitlab.freedesktop.org/gstrea...
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2021-07-09 23:50 UTC by Althorion
Modified: 2023-07-05 12:08 UTC (History)
9 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build.log (build.log,816.07 KB, text/x-log)
2021-07-09 23:50 UTC, Althorion
Details
emerge --info '=media-libs/gst-plugins-good-1.18.4::gentoo' (file_801409.txt,24.70 KB, text/plain)
2021-07-09 23:51 UTC, Althorion
Details

Note You need to log in before you can comment on or make changes to this bug.
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