<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 05:06:40 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-44687] error: &apos;operator delete&apos; is unavailable: introduced in macOS 10.12</title>
                <link>https://jira.mongodb.org/browse/SERVER-44687</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;mongodb 4.2.1 builds fine on macOS 10.12 and later, but on OS X 10.11 when compiling with MacPorts clang 8.0, it fails with this message:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;error: &apos;operator delete&apos; is unavailable: introduced in macOS 10.12&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;There is a &lt;a href=&quot;https://trac.macports.org/attachment/ticket/59461/main.log&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;full build log here&lt;/a&gt; if you need it.&lt;/p&gt;

&lt;p&gt;Here is &lt;a href=&quot;https://github.com/gperftools/gperftools/issues/870&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;another project&apos;s bug report&lt;/a&gt; about this problem.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://github.com/gperftools/gperftools/commit/98753aa73772bb0fae8cee668e513d5754ab7737&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;In their fix&lt;/a&gt; they say:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Weirdly, some OSX compiler does allow -fsized-deallocation, yet barks on any attempt to actually use it at compile time &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.mongodb.org/images/icons/emoticons/warning.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;. So lets detect this as well in configure and opt out as necessary.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;I see that your SConstruct does this:&lt;/p&gt;

&lt;p&gt;&lt;tt&gt;# Enable sized deallocation support.&lt;/tt&gt;&lt;br/&gt;
&lt;tt&gt;AddToCXXFLAGSIfSupported(myenv, &apos;-fsized-deallocation&apos;)&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;I am guessing this is just checking whether the compiler understands &lt;tt&gt;-fsized-deallocation&lt;/tt&gt;, and not whether the C++ library (which may be older than the compiler) supports it.&lt;/p&gt;

&lt;p&gt;Maybe it can be changed to a &lt;tt&gt;context.TryCompile()&lt;/tt&gt;.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1008067">SERVER-44687</key>
            <summary>error: &apos;operator delete&apos; is unavailable: introduced in macOS 10.12</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="andrew.morrow@mongodb.com">Andrew Morrow</assignee>
                                    <reporter username="ryandesign">Ryan Schmidt</reporter>
                        <labels>
                    </labels>
                <created>Sun, 17 Nov 2019 10:20:51 +0000</created>
                <updated>Sun, 29 Oct 2023 22:14:51 +0000</updated>
                            <resolved>Fri, 22 Nov 2019 01:52:55 +0000</resolved>
                                    <version>4.2.1</version>
                                    <fixVersion>4.2.2</fixVersion>
                    <fixVersion>4.0.14</fixVersion>
                    <fixVersion>4.3.3</fixVersion>
                                    <component>Build</component>
                                        <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="2599230" author="xgen-internal-githook" created="Wed, 11 Dec 2019 16:07:56 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Andrew Morrow&apos;, &apos;email&apos;: &apos;andrew.morrow@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44687&quot; title=&quot;error: &amp;#39;operator delete&amp;#39; is unavailable: introduced in macOS 10.12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44687&quot;&gt;&lt;del&gt;SERVER-44687&lt;/del&gt;&lt;/a&gt; Enforce macOS 10.11 target minimum&lt;/p&gt;

&lt;p&gt;(cherry picked from commit b3367608654d5ae827ecb0b6d7afe17b241daa7b)&lt;br/&gt;
(cherry picked from commit ed399a2efa01185d38d57b0bda11e70ff7ca6dc8)&lt;br/&gt;
Branch: v4.0&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/e4e0b767de22847f2c6627f670ee749a703a3ef8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/e4e0b767de22847f2c6627f670ee749a703a3ef8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2579850" author="acm" created="Tue, 3 Dec 2019 15:47:37 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - FYI this change has been backported to the v4.2 branch, and should be reflected in the upcoming v4.2.2 release.&lt;/p&gt;</comment>
                            <comment id="2575679" author="xgen-internal-githook" created="Mon, 2 Dec 2019 22:29:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;andrew.morrow@10gen.com&apos;, &apos;name&apos;: &apos;Andrew Morrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44687&quot; title=&quot;error: &amp;#39;operator delete&amp;#39; is unavailable: introduced in macOS 10.12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44687&quot;&gt;&lt;del&gt;SERVER-44687&lt;/del&gt;&lt;/a&gt; Enforce macOS 10.12 target minimum&lt;/p&gt;

&lt;p&gt;(cherry picked from commit b3367608654d5ae827ecb0b6d7afe17b241daa7b)&lt;br/&gt;
Branch: v4.2&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/ed399a2efa01185d38d57b0bda11e70ff7ca6dc8&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/ed399a2efa01185d38d57b0bda11e70ff7ca6dc8&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2560780" author="acm" created="Fri, 22 Nov 2019 01:52:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - Per the above commit, we now enforce the correct target minimum on master. I&apos;ll be backporting this to v4.2 sometime in the next week or so.&lt;/p&gt;</comment>
                            <comment id="2560365" author="xgen-internal-githook" created="Thu, 21 Nov 2019 21:04:09 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;email&apos;: &apos;andrew.morrow@10gen.com&apos;, &apos;name&apos;: &apos;Andrew Morrow&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-44687&quot; title=&quot;error: &amp;#39;operator delete&amp;#39; is unavailable: introduced in macOS 10.12&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-44687&quot;&gt;&lt;del&gt;SERVER-44687&lt;/del&gt;&lt;/a&gt; Enforce macOS 10.12 target minimum&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo/commit/b3367608654d5ae827ecb0b6d7afe17b241daa7b&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/commit/b3367608654d5ae827ecb0b6d7afe17b241daa7b&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2549449" author="acm" created="Tue, 19 Nov 2019 17:15:21 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; - That is definitely a bug that that value didn&apos;t get incremented, and we will fix it on master and backport it.&lt;/p&gt;</comment>
                            <comment id="2549392" author="ryandesign" created="Tue, 19 Nov 2019 16:55:47 +0000"  >&lt;p&gt;Oh I see. I didn&apos;t realize the requirements had increased. SConstruct still tests for and enforces a minimum of 10.10 so I had assumed that should still work: &lt;a href=&quot;https://github.com/mongodb/mongo/blob/master/SConstruct#L2166-L2198&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo/blob/master/SConstruct#L2166-L2198&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2549370" author="acm" created="Tue, 19 Nov 2019 16:46:50 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=ryandesign&quot; class=&quot;user-hover&quot; rel=&quot;ryandesign&quot;&gt;ryandesign&lt;/a&gt; -&lt;/p&gt;

&lt;p&gt;The &lt;tt&gt;AddToCXXFLAGSIfSupported&lt;/tt&gt; actually does invoke &lt;tt&gt;TryCompile&lt;/tt&gt; internally. However, I think the more important thing here is that MongoDB 4.2 explicitly requires macOS 10.12+, per the support matrix: &lt;a href=&quot;https://docs.mongodb.com/manual/installation/#supported-platforms&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.mongodb.com/manual/installation/#supported-platforms&lt;/a&gt; (please see the table).&lt;/p&gt;

&lt;p&gt;If you wish to target macOS 10.11,  support for that platforms stops with MongoDB 4.0.&lt;/p&gt;

&lt;p&gt;Additionally, if you wish to ensure that your 4.2 build will in fact correctly target macOS 10.12, you should add &lt;tt&gt;CCFLAGS=-mmacosx-version-min=10.12 LINKFLAGS=-mmacosx-version-min=10.12&lt;/tt&gt; to your SCons invocation.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10420">
                    <name>Backports</name>
                                            <outwardlinks description="backported by">
                                                        </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18555" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname># of Sprints</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_12450" key="com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes">
                        <customfieldname>Backport Requested</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16775"><![CDATA[v4.2]]></customfieldvalue>
    <customfieldvalue key="15640"><![CDATA[v4.0]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10011" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Backwards Compatibility</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10038"><![CDATA[Fully Compatible]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 19 Nov 2019 16:46:50 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        4 years, 9 weeks ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_17050" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Downstream Team Attention</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="16941"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            4 years, 9 weeks ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>andrew.morrow@mongodb.com</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>ryandesign</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw3nrz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hvpy1j:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="3442">Dev Platform 2019-12-02</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hw3a1b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>