Revision: 3465 Author: eliot Date: 2015-09-30 18:37:44 -0700 (Wed, 30 Sep 2015) Log Message: ----------- Mac Cocoa squeak.cog.spur build Change the deployment target to 10.6 Remove use of the -mno-fused-add flag which is gcc-specific and causes clang to abort. With these changes all plugins appear to build.
Modified Paths: -------------- branches/Cog/build.macos32x86/squeak.cog.spur/CroquetPlugin/CroquetPlugin.xcodeproj/project.pbxproj branches/Cog/build.macos32x86/squeak.cog.spur/FloatArrayPlugin/FloatArrayPlugin.xcodeproj/project.pbxproj branches/Cog/build.macos32x86/squeak.cog.spur/FloatMathPlugin/FloatMathPlugin.xcodeproj/project.pbxproj branches/Cog/build.macos32x86/squeak.cog.spur/SqueakCogSpur32x86.xcodeproj/project.pbxproj
Modified: branches/Cog/build.macos32x86/squeak.cog.spur/CroquetPlugin/CroquetPlugin.xcodeproj/project.pbxproj =================================================================== --- branches/Cog/build.macos32x86/squeak.cog.spur/CroquetPlugin/CroquetPlugin.xcodeproj/project.pbxproj 2015-10-01 01:13:29 UTC (rev 3464) +++ branches/Cog/build.macos32x86/squeak.cog.spur/CroquetPlugin/CroquetPlugin.xcodeproj/project.pbxproj 2015-10-01 01:37:44 UTC (rev 3465) @@ -246,7 +246,6 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; OTHER_CFLAGS = ( - "-mno-fused-madd", "$(OTHER_CFLAGS)", ); PRODUCT_NAME = CroquetPlugin;
Modified: branches/Cog/build.macos32x86/squeak.cog.spur/FloatArrayPlugin/FloatArrayPlugin.xcodeproj/project.pbxproj =================================================================== --- branches/Cog/build.macos32x86/squeak.cog.spur/FloatArrayPlugin/FloatArrayPlugin.xcodeproj/project.pbxproj 2015-10-01 01:13:29 UTC (rev 3464) +++ branches/Cog/build.macos32x86/squeak.cog.spur/FloatArrayPlugin/FloatArrayPlugin.xcodeproj/project.pbxproj 2015-10-01 01:37:44 UTC (rev 3465) @@ -221,7 +221,6 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; OTHER_CFLAGS = ( - "-mno-fused-madd", "$(OTHER_CFLAGS)", ); PRODUCT_BUNDLE_IDENTIFIER = com.apple.carbonbundletemplate;
Modified: branches/Cog/build.macos32x86/squeak.cog.spur/FloatMathPlugin/FloatMathPlugin.xcodeproj/project.pbxproj =================================================================== --- branches/Cog/build.macos32x86/squeak.cog.spur/FloatMathPlugin/FloatMathPlugin.xcodeproj/project.pbxproj 2015-10-01 01:13:29 UTC (rev 3464) +++ branches/Cog/build.macos32x86/squeak.cog.spur/FloatMathPlugin/FloatMathPlugin.xcodeproj/project.pbxproj 2015-10-01 01:37:44 UTC (rev 3465) @@ -392,7 +392,6 @@ INFOPLIST_FILE = Info.plist; INSTALL_PATH = "$(HOME)/Library/Bundles"; OTHER_CFLAGS = ( - "-mno-fused-madd", "$(OTHER_CFLAGS)", ); PRODUCT_BUNDLE_IDENTIFIER = com.apple.carbonbundletemplate;
Modified: branches/Cog/build.macos32x86/squeak.cog.spur/SqueakCogSpur32x86.xcodeproj/project.pbxproj =================================================================== --- branches/Cog/build.macos32x86/squeak.cog.spur/SqueakCogSpur32x86.xcodeproj/project.pbxproj 2015-10-01 01:13:29 UTC (rev 3464) +++ branches/Cog/build.macos32x86/squeak.cog.spur/SqueakCogSpur32x86.xcodeproj/project.pbxproj 2015-10-01 01:37:44 UTC (rev 3465) @@ -1832,7 +1832,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = /usr/include/uuid; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.6; ONLY_ACTIVE_ARCH = NO; SEPARATE_STRIP = YES; }; @@ -1851,7 +1851,7 @@ GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_UNUSED_VARIABLE = YES; HEADER_SEARCH_PATHS = /usr/include/uuid; - MACOSX_DEPLOYMENT_TARGET = 10.10; + MACOSX_DEPLOYMENT_TARGET = 10.6; "PROVISIONING_PROFILE[sdk=iphoneos*]" = "65867c1c-f0f6-4de4-84cd-3e77826cb368"; SEPARATE_STRIP = YES; }; @@ -1884,7 +1884,7 @@ GCC_WARN_64_TO_32_BIT_CONVERSION = NO; INFOPLIST_FILE = SqueakCogSpur32x86.plist; LD_GENERATE_MAP_FILE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.6; OTHER_CFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.squeak.cog.spur; PRODUCT_NAME = Squeak; @@ -1918,7 +1918,7 @@ GCC_WARN_64_TO_32_BIT_CONVERSION = NO; INFOPLIST_FILE = SqueakCogSpur32x86.plist; LD_GENERATE_MAP_FILE = YES; - MACOSX_DEPLOYMENT_TARGET = 10.7; + MACOSX_DEPLOYMENT_TARGET = 10.6; OTHER_CFLAGS = ""; PRODUCT_BUNDLE_IDENTIFIER = com.squeak.cog.spur; PRODUCT_NAME = Squeak;
On Wed, Sep 30, 2015 at 06:37:45PM -0700, commits@squeakvm.org wrote:
Revision: 3465 Author: eliot Date: 2015-09-30 18:37:44 -0700 (Wed, 30 Sep 2015) Log Message:
Mac Cocoa squeak.cog.spur build Change the deployment target to 10.6 Remove use of the -mno-fused-add flag which is gcc-specific and causes clang to abort. With these changes all plugins appear to build.
Regarding the -mno-fused-add flag, I think that we had a Mantis issue to explain the rationale, but I cannot find it right now.
The verification would be to run FloatMathPluginTests and see if any problems arise. If the tests pass on platforms of interest, then all is well.
Andreas' explanation here is probably the best summary of the issue:
http://lists.squeakfoundation.org/pipermail/vm-dev/2011-January/006678.html
Dave
vm-dev@lists.squeakfoundation.org