[Bug 214258] devel/openmp: spurious libm dependency

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 15 11:07:30 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214258

--- Comment #11 from Jan Beich (mail not working) <jbeich at FreeBSD.org> ---
Because if compiler emits undefined references the linker cannot be expected to
know when -lm is required. Looking at
contrib/llvm/tools/clang/lib/Driver/Tools.cpp there are already cases when -lm
is passed together with --no-as-needed. Maybe something like 
https://reviews.llvm.org/D5698 added one more case.

-- 
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