The floorf function is used in the source of the pkg directly, at one place: net-libs-libdmapsharing-2.9.15 # grep -r "floorf" * work/libdmapsharing-2.9.15/libdmapsharing/dmap-connection.c: dmap_hash_generate ((short) floorf (priv->dmap_version), Trying to build the pkg yields /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=native -pipe -O2 -mfpmath=sse -O2 -Wall -march=native -pipe -O2 -mfpmath=sse -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o test-dmap-client test-dmap-db.o test-daap-record.o test-dpap-record.o test-daap-record-factory.o test-dpap-record-factory.o test-dmap-client.o -lglib-2.0 -lgthread-2.0 -pthread -lrt -lglib-2.0 -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -pthread -lrt -lgthread-2.0 -pthread -lrt -lglib-2.0 -lxml2 -lgobject-2.0 -lglib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lavahi-common -lavahi-client -lavahi-glib -lglib-2.0 ../libdmapsharing/libdmapsharing-3.0.la libtool: link: x86_64-pc-linux-gnu-gcc -march=native -pipe -O2 -mfpmath=sse -O2 -Wall -march=native -pipe -O2 -mfpmath=sse -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -o .libs/test-dmap-client test-dmap-db.o test-daap-record.o test-dpap-record.o test-daap-record-factory.o test-dpap-record-factory.o test-dmap-client.o -pthread -pthread -pthread ../libdmapsharing/.libs/libdmapsharing-3.0.so -lgdk_pixbuf-2.0 -lavahi-common -lavahi-client -lavahi-glib -lgstapp-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lz -pthread ../libdmapsharing/.libs/libdmapsharing-3.0.so: error: undefined reference to 'floorf' collect2: error: ld returned 1 exit status make[3]: *** [test-dmap-client] Error 1 make[3]: Leaving directory `/var/tmp/paludis/net-libs-libdmapsharing-2.9.15/work/libdmapsharing-2.9.15/tests' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/paludis/net-libs-libdmapsharing-2.9.15/work/libdmapsharing-2.9.15/tests' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/paludis/net-libs-libdmapsharing-2.9.15/work/libdmapsharing-2.9.15' make: *** [all] Error 2 Reproducible: Always
Created attachment 344380 [details] libdmapsharing-2.9.15.ebuild.patch tested on AMD64 + gcc-4.7.2-r1 (both LTO, non-LTO build fine)
Created attachment 344382 [details] libdmapsharing-2.9.15.ebuild.patch add whitespace tolerance to sed substitution
Can you try with 2.9.17?
Created attachment 347674 [details] build log 1367970938-install-net-libs_libdmapsharing-2.9.17:3.0::gentoo.out (In reply to comment #3) > Can you try with 2.9.17? Same problem, see build log.
Created attachment 347676 [details, diff] libdmapsharing-2.9.17.ebuild.patch Updated patch for 2.9.17
Please report this problem to upstream also and post the link here: bugzilla.gnome.org
Did you report it? Thanks
Please report it as we neither support LTO for now