This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ned.deily, ronaldoussoren
Date 2020-10-19.19:15:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603134955.57.0.323560176756.issue24130@roundup.psfhosted.org>
In-reply-to
Content
I've checked and '-fcommon' is default (at least with Xcode 12 beta on x86_64), and likely not what you'd want:  With "-fcommon" the definition a non-static variable in two different files will get merged:

first.m:   int x;
second.m:   int x;

Without '-fno-common' this will be allowed (and that's generally not what you want, correct usage is to have one of the files use "extern int x;".  In clang 11 "-fno-common" is enabled by default, but I don't know when Apple do this in their copy of clang.

----


I'm closing this issue because using -fno-common is necessary avoid having a common section in the framework (see msg243259)
History
Date User Action Args
2020-10-19 19:15:55ronaldoussorensetrecipients: + ronaldoussoren, ned.deily
2020-10-19 19:15:55ronaldoussorensetmessageid: <1603134955.57.0.323560176756.issue24130@roundup.psfhosted.org>
2020-10-19 19:15:55ronaldoussorenlinkissue24130 messages
2020-10-19 19:15:55ronaldoussorencreate