Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Mar 2017 11:07:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-toolchain@FreeBSD.org
Subject:   [Bug 214258] devel/openmp: spurious libm dependency
Message-ID:  <bug-214258-29464-EaBrvxJRJN@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-214258-29464@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #11 from Jan Beich (mail not working) <jbeich@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-214258-29464-EaBrvxJRJN>