https://bugzilla.redhat.com/show_bug.cgi?id=1310128



--- Comment #4 from Petr Pisar <[email protected]> ---
rpmlint does not print the warning in my Fedora 25. Interesting.

It's true that the libm is listed as needed, but I as you can see, I do not
pass "-lm" to the compiler, so this looks like a bug in GCC. And if I pass
-Wl,--as-needed, the dependency on libm will disappear, but ldd will complain
about another library:

$ ldd -u  libzpaq.so.0.1 
Unused direct dependencies:
        /lib64/libgcc_s.so.1

I will add the -Wl,--as-needed into LDFLAGS.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to