Hi
Maybe a lto issue, or link order... Tumbleweed adds :-Werror=return-type -flto=auto
Code:
Tumbleweed
[ 138s] g-ir-scanner: link: gcc -pthread -o /home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/tmp-introspectzdgt3o86/XreaderDocument-1.5 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto /home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/tmp-introspectzdgt3o86/XreaderDocument-1.5.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/libdocument -Wl,-rpath,/home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/libdocument -lxreaderdocument -lcairo -lglib-2.0 -lgmodule-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lgirepository-1.0 -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
Leap 15.2
[ 115s] g-ir-scanner: link: gcc -pthread -o /home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/tmp-introspectq4ten_oa/XreaderDocument-1.5 -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection /home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/tmp-introspectq4ten_oa/XreaderDocument-1.5.o -L. -Wl,-rpath,. -Wl,--no-as-needed -L/home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/libdocument -Wl,-rpath,/home/abuild/rpmbuild/BUILD/xreader-2.6.4/build/libdocument -lxreaderdocument -lcairo -lglib-2.0 -lgmodule-2.0 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lm -lgio-2.0 -lgobject-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0
Bookmarks