Bug 2017676

Summary: glibmm24: Glib::Threads::wrap symbol missing from mingw build
Product: [Fedora] Fedora Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: mingw-glibmm24Assignee: Thomas Sailer <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: erik-fedora, fedora, manisandro, marcandre.lureau, rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mingw-glibmm24-2.66.2-4.fc34 mingw-glibmm24-2.66.2-4.fc35 mingw-glibmm24-2.66.2-4.fc36 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-06 18:44:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1825263    

Description Dominik 'Rathann' Mierzejewski 2021-10-27 08:06:23 UTC
Description of problem:
When trying to build gstreamermm for mingw, I'm getting this linker error:
/usr/lib/gcc/i686-w64-mingw32/11.2.1/../../../../i686-w64-mingw32/bin/ld: .libs/task.o:/builddir/build/BUILD/gstreamermm-1.10.0/build_win32/gstreamer/gstreamermm/../../../gstreamer/gstreamermm/task.cc:59: undefined reference to `Glib::Threads::wrap(_GThread*)'
Indeed, the symbol is missing from mingw build of glibmm24.

Version-Release number of selected component (if applicable):
mingw-glibmm24-2.66.1-1.fc35

How reproducible:
Always

Steps to Reproduce:
1. dnf install glibmm24 mingw32-glibmm24 mingw64-glibmm24
2. objdump -C -t usr/{i686,x86_64}-w64-mingw32/sys-root/mingw/lib | grep -E 'Glib.*Threads.*wrap'

Actual results:
Only wrap_init symbol is present:
[  6](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x00000000 Glib::Threads::wrap_init()
[  5](sec  1)(fl 0x00)(ty   0)(scl   2) (nx 0) 0x0000000000000000 Glib::Threads::wrap_init()

Expected results:
Similar to Linux build:
$ objdump -C -t usr/lib64/libglibmm-2.4.so.1 | grep -E 'Glib::Threads::wrap'
0000000000054c50 g     F .text	0000000000000008 Glib::Threads::wrap(_GThread*)
0000000000054d50 g     F .text	0000000000000008 Glib::Threads::wrap(_GRecMutex*)
0000000000054cd0 g     F .text	0000000000000008 Glib::Threads::wrap(_GMutex*)
000000000004d400 g     F .text	000000000000001f Glib::Threads::wrap_init()

Comment 1 Dominik 'Rathann' Mierzejewski 2021-11-01 09:37:47 UTC
Cc'ing Sandro.

Comment 2 Ben Cotton 2022-02-08 21:36:04 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle.
Changing version to 36.

Comment 3 Fedora Update System 2022-03-29 07:23:51 UTC
FEDORA-2022-bc81d1d0d7 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-bc81d1d0d7

Comment 4 Fedora Update System 2022-03-29 07:23:52 UTC
FEDORA-2022-f557563293 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-f557563293

Comment 5 Fedora Update System 2022-03-29 07:23:53 UTC
FEDORA-2022-49d9ea71ad has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-49d9ea71ad

Comment 6 Fedora Update System 2022-03-30 01:31:49 UTC
FEDORA-2022-49d9ea71ad has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-49d9ea71ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-49d9ea71ad

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2022-03-30 02:25:39 UTC
FEDORA-2022-f557563293 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-f557563293`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-f557563293

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2022-03-30 02:26:11 UTC
FEDORA-2022-bc81d1d0d7 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-bc81d1d0d7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-bc81d1d0d7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2022-04-06 18:44:34 UTC
FEDORA-2022-49d9ea71ad has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2022-04-06 19:03:53 UTC
FEDORA-2022-bc81d1d0d7 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2022-05-07 04:12:25 UTC
FEDORA-2022-f557563293 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.