[SERVER-3827] upgrade pcre WAS: pcre_exec.c: jump to label 'L_RM1' from here skips initialization of 'heapframe* newframe' Created: 13/Sep/11  Updated: 11/Jul/16  Resolved: 06/Mar/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.0.0
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Ryan Schmidt Assignee: Eric Milkie
Resolution: Done Votes: 4
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

OS X 10.6.8, Xcode 3.2.6


Attachments: Text File main.log    
Operating System: ALL
Participants:

 Description   

I am trying to update the mongodb port in MacPorts to version 2.0.0 and it fails with a zillion errors like this:

third_party/pcre-7.4/pcre_exec.c: In function 'int match(const unsigned char*, const uschar*, const uschar*, int, match_data*, long unsigned int, eptrblock*, int, unsigned int)':
third_party/pcre-7.4/pcre_exec.c:690: error: jump to label 'L_RM1'
third_party/pcre-7.4/pcre_exec.c:4248: error: from here
third_party/pcre-7.4/pcre_exec.c:690: error: skips initialization of 'heapframe* newframe'
third_party/pcre-7.4/pcre_exec.c:749: error: jump to label 'L_RM2'
third_party/pcre-7.4/pcre_exec.c:4248: error: from here
third_party/pcre-7.4/pcre_exec.c:749: error: skips initialization of 'heapframe* newframe'

I don't even want to use your bundled pcre 7.4; I want to use the pcre 8.12 MacPorts has already installed.

mongodb 1.8.3 built fine with MacPorts.



 Comments   
Comment by auto [ 06/Mar/12 ]

Author:

{u'login': u'tadmarshall', u'name': u'Tad Marshall', u'email': u'tad@10gen.com'}

Message: SERVER-3827 Fix Visual Studio 32-bit debug build

Make 32-bit include path match 64-bit.
Branch: master
https://github.com/mongodb/mongo/commit/087c1bd72f3b9923770fd5a51325a7ae51f334ca

Comment by auto [ 06/Mar/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 remove old version of pcre
Branch: master
https://github.com/mongodb/mongo/commit/8898bfc68a9322358751771dd041ed2f2cbbf15c

Comment by Eric Milkie [ 01/Mar/12 ]

still need to delete old pcre

Comment by auto [ 29/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 remove some unnecessary files
Branch: master
https://github.com/mongodb/mongo/commit/9fcca4f886ce7176178a3168ebd9c67422ad951e

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 avoid uninitialized variable warning
Branch: master
https://github.com/mongodb/mongo/commit/e49185dbbe00efa0d196064e114ce18be6daebf5

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 codereview suggestion to use unistd.h
Branch: master
https://github.com/mongodb/mongo/commit/f075f670e374882a95b23a332482e86f5e9d38bb

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 fix for Windows since the C compiler isn't quite standard
Branch: master
https://github.com/mongodb/mongo/commit/583520fa3b48b6eafc2b6f2ee20aa8883d192fc6

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 modify dll behavior to avoid warnings on Windows
Branch: master
https://github.com/mongodb/mongo/commit/17828a9c5f9788ec231d57e4456abd68729da826

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 rename file for proper dependency checking
Branch: master
https://github.com/mongodb/mongo/commit/e7cb710a43760ccb1c71f9be2f682ca48ef19a44

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 needs a cast to avoid "implicit cast overflow" warning
Branch: master
https://github.com/mongodb/mongo/commit/72442ab8e90cdac0f604a1a93e963d70b65de2f0

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 mods for mongodb build
Branch: master
https://github.com/mongodb/mongo/commit/60f74834dd181b8ee1f2b6cc02ef90881d89e84f

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 SConstruct changes for new pcre
Branch: master
https://github.com/mongodb/mongo/commit/058a36a347549adcbfb47baa2522ea99e8e8c806

Comment by auto [ 28/Feb/12 ]

Author:

{u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-3827 initial commit of pcre 8.30
Branch: master
https://github.com/mongodb/mongo/commit/44be5ff6450744a74af21464b06ebe6f29b02e40

Comment by Thomas Pönitz [ 27/Oct/11 ]

Got the same error on gnu linux x86_64 (g++ or x86_64-linux-gnu-g++ no difference).

Comment by Benedikt Böhm [ 26/Sep/11 ]

for reference: this does not seem to happen if you leave CXX at g++ instead of using the expanded version like x86_64-pc-linux-gnu-g++

Comment by Randy Letness [ 16/Sep/11 ]

seeing similar errors when attempting to compile 2.0.0 on FreeBSD 8.2

Comment by Eliot Horowitz (Inactive) [ 13/Sep/11 ]

In the interim - going to add this https://jira.mongodb.org/browse/SERVER-3829 so you can ignore the third_party section

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