On 2011-07-11, David Coppa <dco...@gmail.com> wrote: > This is most likely useless, now that arm has been switched to gcc4. > Btw, I'd like to give this a test build before committing, that's > why I've Cc'd sthen and kili whom I know have a Thecus ;)
Can't say, it's broken with -O0 too. sthen:/usr/ports/devel/cmake:8$ make ===> cmake-2.8.4p2 depends on: groff->=1.21 - found ===> cmake-2.8.4p2 depends on: libarchive-* - found ===> cmake-2.8.4p2 depends on: curl-* - found ===> Verifying specs: archive c curl curses expat form m stdc++ z archive c curl curses expat form m stdc++ z ===> found archive.6.0 c.58.4 curl.19.0 curses.12.0 expat.9.0 form.5.0 m.5.4 stdc++.52.0 z.4.1 ===> Checking files for cmake-2.8.4p2 `/nfs/ports/distfiles/cmake-2.8.4.tar.gz' is up to date. >> (SHA256) cmake-2.8.4.tar.gz: OK ===> Extracting for cmake-2.8.4p2 ===> Patching for cmake-2.8.4p2 ===> Configuring for cmake-2.8.4p2 perl /usr/ports/infrastructure/bin/pkg_subst -DMACHINE_ARCH=arm -DARCH=armish -DHOMEPAGE=http://www.cmake.org/ -D^PREFIX=/usr/local -D^SYSCONFDIR=/etc -DFLAVOR_EXT= -DFULLPKGNAME=cmake-2.8.4p2 -DMAINTAINER=David\ Coppa\ \<dco...@openbsd.org\> -D^BASE_PKGPATH=devel/cmake -D^LOCALBASE=/usr/local -D^X11BASE=/usr/X11R6 -D^TRUEPREFIX=/usr/local -D^RCDIR=/etc/rc.d /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindMPEG.cmake /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindMPEG2.cmake /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindQt.cmake /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindQt3.cmake /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindSDL.cmake /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/FindwxWindows.cmake --------------------------------------------- CMake 2.8.4, Copyright 2000-2009 Kitware, Inc. C compiler on this system is: cc -O2 -pipe -O0 C++ compiler on this system is: c++ -O2 -pipe -O0 Makefile processor on this system is: make c++ is GNU compiler c++ has STL in std:: namespace c++ has ANSI streams c++ has streams in std:: namespace c++ has sstream c++ has operator!=(string, char*) c++ has stl iterator_traits c++ has standard template allocator c++ has allocator<>::rebind<> c++ does not have non-standard allocator<>::max_size argument c++ has stl containers supporting allocator objects c++ has header cstddef c++ requires template friends to use <> c++ supports member templates c++ has standard template specialization syntax c++ has argument dependent lookup c++ has struct stat with st_mtim member c++ has ios::binary openmode c++ has ANSI for scoping --------------------------------------------- c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmStandardIncludes.cxx -o cmStandardIncludes.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmake.cxx -o cmake.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmakemain.cxx -o cmakemain.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmakewizard.cxx -o cmakewizard.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCommandArgumentLexer.cxx -o cmCommandArgumentLexer.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCommandArgumentParser.cxx -o cmCommandArgumentParser.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCommandArgumentParserHelper.cxx -o cmCommandArgumentParserHelper.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDefinitions.cxx -o cmDefinitions.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDepends.cxx -o cmDepends.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDependsC.cxx -o cmDependsC.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDocumentationFormatter.cxx -o cmDocumentationFormatter.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDocumentationFormatterText.cxx -o cmDocumentationFormatterText.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmPolicies.cxx -o cmPolicies.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmProperty.cxx -o cmProperty.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmPropertyMap.cxx -o cmPropertyMap.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmPropertyDefinition.cxx -o cmPropertyDefinition.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmPropertyDefinitionMap.cxx -o cmPropertyDefinitionMap.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakeDepend.cxx -o cmMakeDepend.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakefile.cxx -o cmMakefile.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmExportFileGenerator.cxx -o cmExportFileGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmExportInstallFileGenerator.cxx -o cmExportInstallFileGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallDirectoryGenerator.cxx -o cmInstallDirectoryGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmGeneratedFileStream.cxx -o cmGeneratedFileStream.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmGeneratorExpression.cxx -o cmGeneratorExpression.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmGlobalGenerator.cxx -o cmGlobalGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmLocalGenerator.cxx -o cmLocalGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallGenerator.cxx -o cmInstallGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallExportGenerator.cxx -o cmInstallExportGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallFilesGenerator.cxx -o cmInstallFilesGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallScriptGenerator.cxx -o cmInstallScriptGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmInstallTargetGenerator.cxx -o cmInstallTargetGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmScriptGenerator.cxx -o cmScriptGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmSourceFile.cxx -o cmSourceFile.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmSourceFileLocation.cxx -o cmSourceFileLocation.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmSystemTools.cxx -o cmSystemTools.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmTestGenerator.cxx -o cmTestGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmVersion.cxx -o cmVersion.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmFileTimeComparison.cxx -o cmFileTimeComparison.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmGlobalUnixMakefileGenerator3.cxx -o cmGlobalUnixMakefileGenerator3.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmLocalUnixMakefileGenerator3.cxx -o cmLocalUnixMakefileGenerator3.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakefileExecutableTargetGenerator.cxx -o cmMakefileExecutableTargetGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakefileLibraryTargetGenerator.cxx -o cmMakefileLibraryTargetGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakefileTargetGenerator.cxx -o cmMakefileTargetGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmMakefileUtilityTargetGenerator.cxx -o cmMakefileUtilityTargetGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmBootstrapCommands.cxx -o cmBootstrapCommands.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCommands.cxx -o cmCommands.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmTarget.cxx -o cmTarget.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmTest.cxx -o cmTest.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCustomCommand.cxx -o cmCustomCommand.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCustomCommandGenerator.cxx -o cmCustomCommandGenerator.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmDocumentVariables.cxx -o cmDocumentVariables.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmCacheManager.cxx -o cmCacheManager.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmListFileCache.cxx -o cmListFileCache.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmComputeLinkDepends.cxx -o cmComputeLinkDepends.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmComputeLinkInformation.cxx -o cmComputeLinkInformation.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmOrderDirectories.cxx -o cmOrderDirectories.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmComputeTargetDepends.cxx -o cmComputeTargetDepends.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmComputeComponentGraph.cxx -o cmComputeComponentGraph.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmExprLexer.cxx -o cmExprLexer.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmExprParser.cxx -o cmExprParser.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmExprParserHelper.cxx -o cmExprParserHelper.o cc -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/cmListFileLexer.c -o cmListFileLexer.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/Directory.cxx -o Directory.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/Glob.cxx -o Glob.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/RegularExpression.cxx -o RegularExpression.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/SystemTools.cxx -o SystemTools.o cc -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/ProcessUNIX.c -o ProcessUNIX.o cc -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -DKWSYS_STRING_C -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/String.c -o String.o cc -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -DKWSYS_NAMESPACE=cmsys -c /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source/kwsys/System.c -o System.o c++ -O2 -pipe -O0 -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArgumentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinitions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormatterText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPropertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExportInstallFileGenerator.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cmGeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator.o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator.o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLocation.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGlobalUnixMakefileGenerator! 3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutableTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator.o cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o cmTarget.o cmTest.o cmCustomCommand.o cmCustomCommandGenerator.o cmDocumentVariables.o cmCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformation.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmExprLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o Glob.o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake cmCommandArgumentParserHelper.o(.text+0x13c0): In function `cmCommandArgumentParserHelper::AddString(char const*)': : warning: strcpy() is almost always misused, please use strlcpy() cmMakefile.o(.text+0xace0): In function `cmMakefile::AddDefaultDefinitions()': : warning: sprintf() is often misused, please use snprintf() cmCommandArgumentParserHelper.o(.text+0x14a0): In function `cmCommandArgumentParserHelper::CombineUnions(char*, char*)': : warning: strcat() is almost always misused, please use strlcat() loading initial cache file /usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk/InitialCacheFlags.cmake CMake Error at Modules/CMakeDetermineSystem.cmake:48 (EXEC_PROGRAM): exec_program unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineSystem.cmake:49 (EXEC_PROGRAM): exec_program unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineSystem.cmake:54 (EXEC_PROGRAM): exec_program unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineSystem.cmake:147 (ADJUST_CMAKE_SYSTEM_VARIABLES): ADJUST_CMAKE_SYSTEM_VARIABLES unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineSystem.cmake:148 (ADJUST_CMAKE_SYSTEM_VARIABLES): ADJUST_CMAKE_SYSTEM_VARIABLES unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineSystem.cmake:160 (FILE): file unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) .................... with -O2 it gets marginally further: ... c++ -O2 -pipe -I/usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk -I/usr/obj/ ports/cmake-2.8.4/cmake-2.8.4/Source -I/usr/obj/ports/cmake-2.8.4/build-arm/Bo otstrap.cmk cmStandardIncludes.o cmake.o cmakemain.o cmakewizard.o cmCommandArg umentLexer.o cmCommandArgumentParser.o cmCommandArgumentParserHelper.o cmDefinit ions.o cmDepends.o cmDependsC.o cmDocumentationFormatter.o cmDocumentationFormat terText.o cmPolicies.o cmProperty.o cmPropertyMap.o cmPropertyDefinition.o cmPro pertyDefinitionMap.o cmMakeDepend.o cmMakefile.o cmExportFileGenerator.o cmExpor tInstallFileGenerator.o cmInstallDirectoryGenerator.o cmGeneratedFileStream.o cm GeneratorExpression.o cmGlobalGenerator.o cmLocalGenerator.o cmInstallGenerator. o cmInstallExportGenerator.o cmInstallFilesGenerator.o cmInstallScriptGenerator. o cmInstallTargetGenerator.o cmScriptGenerator.o cmSourceFile.o cmSourceFileLoca tion.o cmSystemTools.o cmTestGenerator.o cmVersion.o cmFileTimeComparison.o cmGl obalUnixMakefileGenerator3.o cmLocalUnixMakefileGenerator3.o cmMakefileExecutabl eTargetGenerator.o cmMakefileLibraryTargetGenerator.o cmMakefileTargetGenerator. o cmMakefileUtilityTargetGenerator.o cmBootstrapCommands.o cmCommands.o cmTarget .o cmTest.o cmCustomCommand.o cmCustomCommandGenerator.o cmDocumentVariables.o c mCacheManager.o cmListFileCache.o cmComputeLinkDepends.o cmComputeLinkInformatio n.o cmOrderDirectories.o cmComputeTargetDepends.o cmComputeComponentGraph.o cmEx prLexer.o cmExprParser.o cmExprParserHelper.o cmListFileLexer.o Directory.o Glob .o RegularExpression.o SystemTools.o ProcessUNIX.o String.o System.o -o cmake cmCommandArgumentParserHelper.o(.text+0x2cc): In function `cmCommandArgumentPars erHelper::CombineUnions(char*, char*)': : warning: strcpy() is almost always misused, please use strlcpy() cmMakefile.o(.text+0x6984): In function `cmMakefile::AddDefaultDefinitions()': : warning: sprintf() is often misused, please use snprintf() cmCommandArgumentParserHelper.o(.text+0x2d8): In function `cmCommandArgumentPars erHelper::CombineUnions(char*, char*)': : warning: strcat() is almost always misused, please use strlcat() loading initial cache file /usr/obj/ports/cmake-2.8.4/build-arm/Bootstrap.cmk/In itialCacheFlags.cmake -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/cc terminate called after throwing an instance of 'std::length_error' what(): basic_string::_S_create Abort trap (core dumped) --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- *** Error code 11 Stop in /usr/ports/devel/cmake (line 2466 of /usr/ports/infrastructure/mk/bsd.po rt.mk). *** Error code 1 Stop in /usr/ports/devel/cmake (line 1698 of /usr/ports/infrastructure/mk/bsd.po rt.mk). *** Error code 1 Stop in /usr/ports/devel/cmake (line 2271 of /usr/ports/infrastructure/mk/bsd.po rt.mk). *** Error code 1 Stop in /usr/ports/devel/cmake (line 2251 of /usr/ports/infrastructure/mk/bsd.po rt.mk). --- Mon Jul 11 13:52:38 MDT 2011 CMake Error at Modules/CMakeDetermineCCompiler.cmake:130 (FILE): file unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineCompilerId.cmake:37 (FOREACH): foreach unknown error. Call Stack (most recent call first): Modules/CMakeDetermineCCompiler.cmake:133 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineCXXCompiler.cmake:138 (FILE): file unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeDetermineCompilerId.cmake:37 (FOREACH): foreach unknown error. Call Stack (most recent call first): Modules/CMakeDetermineCXXCompiler.cmake:141 (CMAKE_DETERMINE_COMPILER_ID) CMakeLists.txt:14 (PROJECT) CMake Error at Modules/Platform/OpenBSD.cmake:27 (EXECUTE_PROCESS): execute_process unknown error. Call Stack (most recent call first): Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE) CMakeLists.txt:14 (PROJECT) -- Check for working C compiler: /usr/bin/cc CMake Error at Modules/CMakeTestCCompiler.cmake:24 (FILE): file unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/Platform/OpenBSD.cmake:27 (EXECUTE_PROCESS): execute_process unknown error. Call Stack (most recent call first): /usr/obj/ports/cmake-2.8.4/cmake-2.8.4/Modules/CMakeSystemSpecificInformation.cmake:36 (INCLUDE) CMakeLists.txt:2 (PROJECT) CMake Error: Internal CMake error, TryCompile configure of cmake failed -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at Modules/CMakeTestCCompiler.cmake:44 (FILE): file unknown error. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) CMake Error at Modules/CMakeTestCCompiler.cmake:52 (MESSAGE): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:14 (PROJECT) -- Configuring incomplete, errors occurred! --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- *** Error code 11 Stop in /usr/ports/devel/cmake (line 2466 of /usr/ports/infrastructure/mk/bsd.port.mk). *** Error code 1 Stop in /usr/ports/devel/cmake (line 2251 of /usr/ports/infrastructure/mk/bsd.port.mk). s