[SERVER-24291] LIBS=dl needed when compiling with --sanitize=address on gcc5.3 Created: 25/May/16  Updated: 02/Sep/16  Resolved: 29/Aug/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.3.12

Type: Improvement Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2016-09-19
Participants:

 Description   

I know we only officially support ASAN on clang, but with LIBS=dl it seems to work on gcc5.3. Since that is our officially recommended toolchain for people on platforms without a new-enough compiler, I think we should make it work out of the box if possible.



 Comments   
Comment by Githook User [ 29/Aug/16 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-24291 Add libdl to LIBS when using gcc sanitizers
Branch: master
https://github.com/mongodb/mongo/commit/255be3b6d6ce3fbdd42b5b796bfac7ae04d18395

Generated at Thu Feb 08 04:05:55 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.