[Bug 214258] devel/openmp: spurious libm dependency
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Mar 15 10:13:25 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214258
--- Comment #6 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
(In reply to Konstantin Belousov from comment #5)
> If you are so intolerate to the presence of -lm in the dependency
> list even when symbols are not referenced, you can use
> '-Wl,--as-needed -lm -Wl,--no-as-needed' construct to only record
> DT_NEEDED fro libm.so when references actually exist.
devel/openmp already adds -Wl,--as-needed and it doesn't work because the
references come either from libgcc, crt or something similar.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-toolchain
mailing list