gtk 4 sysprof support no longer builds
Not sure what changed, but gtk 4.1.2 fails to build in Fedora 34 with:
gcc -o tests/testperf tests/testperf.p/testperf.c.o -Wl,--as-needed -Wl,--no-undefined -fno-strict-aliasing -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -lm -Wl,--end-group
/usr/bin/ld: /usr/bin/ld: DWARF error: invalid abstract instance DIE ref
/tmp/ccBB2oPV.ltrans0.ltrans.o: in function `main':
<artificial>:(.text.startup[.text.startup.group]+0x193): undefined reference to `sysprof_capture_reader_new'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x1bc): undefined reference to `sysprof_capture_cursor_new'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x1d6): undefined reference to `sysprof_capture_condition_new_where_type_in'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x1e1): undefined reference to `sysprof_capture_cursor_add_condition'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x1f5): undefined reference to `sysprof_capture_cursor_foreach'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x20f): undefined reference to `sysprof_capture_cursor_unref'
/usr/bin/ld: <artificial>:(.text.startup[.text.startup.group]+0x217): undefined reference to `sysprof_capture_reader_unref'
collect2: error: ld returned 1 exit status
See https://kojipkgs.fedoraproject.org//work/tasks/7719/63817719/build.log for the whole build log.
@chergert Any ideas what's going on? Did something regress in Fedora's toolchain? Or did something break with sysprof update to 3.39.94?