r260851 - As reported in https://llvm.org/bugs/show_bug.cgi?id=25496, on FreeBSD,

Dimitry Andric via cfe-commits cfe-commits at lists.llvm.org
Sun Feb 14 08:14:57 PST 2016


On 14 Feb 2016, at 17:08, Dimitry Andric via cfe-commits <cfe-commits at lists.llvm.org> wrote:
> 
> Author: dim
> Date: Sun Feb 14 10:08:20 2016
> New Revision: 260851
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=260851&view=rev
> Log:
> As reported in https://llvm.org/bugs/show_bug.cgi?id=25496, on FreeBSD,
> C++ programs compiled for profiling (using `-pg`) should be linked with
> `-lc++_p` (or `-lstdc++_p`, depending on the `-stdlib=` setting), not
> with the regular C++ libraries.
> 
> Add a `FreeBSD::AddCXXStdlibLibArgs()` override to handle this, and add
> a test case for it.  While here, extend the test case for the proper
> passing of -lm and -lm_p.
> 
> Reviewers: compnerd, davide, dws, emaste
> Reviewed By: compnerd
> Differential Revision: http://reviews.llvm.org/D16264

Hi Hans,

I would like to merge this to the 3.8 branch.  This only affects FreeBSD.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160214/b0b6113c/attachment.sig>


More information about the cfe-commits mailing list