Created attachment 2931 0001-Fix-DSO-thunar-vfs-font-thumbnailer-must-link-to-lm-.patch When building with -Wl,--no-add-needed the build fails because thunar-vfs/thunar-vfs-font-thumbnailer.c uses rint but there is no explicit link to -lm. Patch attached.
Seems to be fixed in thunar-vfs 1.1.1 (but was probably fixed earlier).