Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • xfconf xfconf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 18
    • Issues 18
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Xfce
  • xfconfxfconf
  • Issues
  • #8

Closed
Open
Created Jan 12, 2020 by Bugzilla Migration@bugzilla-migration

Xfconf is not LTO ready

Submitted by kloczek

Assigned to Xfce Bug Triage

Link to original bug (#16371)

Description

When Xfconf is build witt LTO optimisation build fails with:

[tkloczko@barrel xfconf-4.14.1]$ make make all-recursive make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1' Making all in common make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/common' make all-am make[3]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/common' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/common' make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/common' Making all in xfconf make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf' CPPFLAGS="-DNDEBUG -DHAVE_GNUC_VISIBILITY" CFLAGS="-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fvisibility=hidden" LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1" CC="gcc" PKG_CONFIG="/usr/bin/x86_64-redhat-linux-gnu-pkg-config" GI_HOST_OS="" DLLTOOL="false" CC="gcc" /usr/bin/g-ir-scanner --add-include-path=. --warn-all -DLIBXFCONF_COMPILATION --symbol-prefix=xfconf_g_ --symbol-prefix=xfconf_ --c-include=xfconf/xfconf.h --namespace=Xfconf --nsversion=0 --libtool="/bin/sh ../libtool" --include=GObject-2.0 --include=GLib-2.0 --include=Gio-2.0 --pkg-export=libxfconf-0 --library=libxfconf-0.la --cflags-begin -I.. -DLIBXFCONF_COMPILATION -DG_LOG_DOMAIN="xfconf" --cflags-end xfconf-binding.h xfconf-channel.h xfconf-errors.h xfconf-types.h xfconf.h xfconf-binding.c xfconf-cache.c xfconf-channel.c xfconf.c ../common/xfconf-types.c libxfconf-0.la Makefile --output Xfconf-0.gir g-ir-scanner: link: /bin/sh ../libtool --mode=link --tag=CC gcc -o /home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/Xfconf-0 -export-dynamic -DNDEBUG -DHAVE_GNUC_VISIBILITY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fvisibility=hidden /home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/Xfconf-0.o -L. libxfconf-0.la -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1 libtool: link: gcc -o /home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/.libs/Xfconf-0 -DNDEBUG -DHAVE_GNUC_VISIBILITY -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -Os -fvisibility=hidden /home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/Xfconf-0.o -Wl,--export-dynamic -pthread -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--as-needed -Wl,-O1 -Wl,--export-dynamic -L. ./.libs/libxfconf-0.so -lgthread-2.0 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread Invalid GType function: 'xfconf_channel_get_type' Failed to find symbol 'xfconf_channel_get_type' Command '['/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/Xfconf-0', '--introspect-dump=/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/functions.txt,/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf/tmp-introspectn10q4vwv/dump.xml']' returned non-zero exit status 1. make[2]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: Xfconf-0.gir] Error 1 make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1/xfconf' make[1]: *** [Makefile:503: all-recursive] Error 1 make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/xfconf-4.14.1' make: *** [Makefile:435: all] Error 2 [

Version: 4.14.1

Assignee
Assign to
Time tracking