[SERVER-36168] pcreposix.c should not be compiled into our vendored PCRE build Created: 17/Jul/18  Updated: 29/Oct/23  Resolved: 18/Jul/18

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

Type: Improvement Priority: Major - P3
Reporter: Andrew Morrow (Inactive) Assignee: Andrew Morrow (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Platforms 2018-07-30
Participants:

 Description   

The pcreposix.c file isn't intended to be built into the main pcre library, but into a seprate pcreposix library, which we don't need.

Including it can cause conflicts on systems where the libc version of e.g. regcomp isn't a weak symbol (like emscripten).

We should just remove it from our link of libpcre.



 Comments   
Comment by Githook User [ 18/Jul/18 ]

Author:

{'username': 'acmorrow', 'name': 'Andrew Morrow', 'email': 'acm@mongodb.com'}

Message: SERVER-36168 Don't link pcreposix into our vendored pcre build
Branch: master
https://github.com/mongodb/mongo/commit/e8c9c986c50def137caad1313030fb0a958ba61b

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