clang 3.0: Segmentation fault when building MacPorts port mongodb

Originator:verwymeren
Number:rdar://9926858 Date Originated:09-Aug-2011 10:54 PM
Status:Closed Resolved:09-Mar-2012 02:16 PM
Product:Developer Tools Product Version:3.0
Classification:Serious Bug Reproducible:Always
 
Summary:

When attempting to build the MacPorts 2.0.1 mongodb 1.8.2 port (https://trac.macports.org/browser/trunk/dports/databases/mongodb/Portfile), clang fails with segmentation fault.

Steps to Reproduce:

From the Terminal:

sudo port install mongodb

Expected Results:

mongodb builds without errors.

Actual Results:

mongodb build fails with segmentation fault.

Regression:

Tested with:

Apple clang version 3.0 (tags/Apple/clang-211.3) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin11.0.0
Thread model: posix

Notes:

The issue was first reported to the MacPorts project (https://trac.macports.org/ticket/30598) who suggested filing a radar.

See attached log file for build details.

Comments

Fixed as of Xcode 4.3.

By verwymeren at March 19, 2012, 6:56 p.m. (reply...)

You might get better results filing a bug with the LLVM project (http://llvm.org/bugs)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!