Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ ================================================================================ Starting Configure Run at Tue Oct 8 16:22:12 2013 Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --download-mpich --download-elemental=1 --with-cxx-dialect=C++11 CC=clang CXX=clang++ FC=gfortran Working directory: /Users/balay/petsc.test Machine platform: ('Darwin', 'petsc-mini.mcs.anl.gov', '12.4.0', 'Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64', 'x86_64', 'i386') Python version: 2.7.2 (default, Oct 11 2012, 20:14:37) [GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)] ================================================================================ Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC ================================================================================ TEST configureExternalPackagesDir from config.framework(/Users/balay/petsc.test/config/BuildSystem/config/framework.py:821) TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:821) ================================================================================ TEST configureDebuggers from PETSc.utilities.debuggers(/Users/balay/petsc.test/config/PETSc/utilities/debuggers.py:22) TESTING: configureDebuggers from PETSc.utilities.debuggers(config/PETSc/utilities/debuggers.py:22) Find a default debugger and determine its arguments Checking for program /opt/local/bin/gdb...not found Checking for program /opt/local/sbin/gdb...not found Checking for program /usr/bin/gdb...found Defined make macro "GDB" to "/usr/bin/gdb" Checking for program /opt/local/bin/dbx...not found Checking for program /opt/local/sbin/dbx...not found Checking for program /usr/bin/dbx...not found Checking for program /bin/dbx...not found Checking for program /usr/sbin/dbx...not found Checking for program /sbin/dbx...not found Checking for program /usr/local/bin/dbx...not found Checking for program /usr/local/cmake/bin/dbx...not found Checking for program /Users/balay/dbx...not found Checking for program /opt/local/bin/xdb...not found Checking for program /opt/local/sbin/xdb...not found Checking for program /usr/bin/xdb...not found Checking for program /bin/xdb...not found Checking for program /usr/sbin/xdb...not found Checking for program /sbin/xdb...not found Checking for program /usr/local/bin/xdb...not found Checking for program /usr/local/cmake/bin/xdb...not found Checking for program /Users/balay/xdb...not found Checking for program /opt/local/bin/dsymutil...not found Checking for program /opt/local/sbin/dsymutil...not found Checking for program /usr/bin/dsymutil...found Defined make macro "DSYMUTIL" to "/usr/bin/dsymutil" Defined make macro "DSYMUTIL" to "/usr/bin/dsymutil" Defined "USE_GDB_DEBUGGER" to "1" ================================================================================ TEST configureCLanguage from PETSc.utilities.languages(/Users/balay/petsc.test/config/PETSc/utilities/languages.py:28) TESTING: configureCLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:28) Choose whether to compile the PETSc library using a C or C++ compiler C language is C Defined "CLANGUAGE_C" to "1" ================================================================================ TEST configureFortranLanguage from PETSc.utilities.languages(/Users/balay/petsc.test/config/PETSc/utilities/languages.py:37) TESTING: configureFortranLanguage from PETSc.utilities.languages(config/PETSc/utilities/languages.py:37) Turn on Fortran bindings Using Fortran ================================================================================ TEST configureMkdir from config.programs(/Users/balay/petsc.test/config/BuildSystem/config/programs.py:22) TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:22) Make sure we can have mkdir automatically make intermediate directories Checking for program /opt/local/bin/mkdir...not found Checking for program /opt/local/sbin/mkdir...not found Checking for program /usr/bin/mkdir...not found Checking for program /bin/mkdir...found Executing: /bin/mkdir -p .conftest/tmp Adding -p flag to /bin/mkdir -p to automatically create directories Defined make macro "MKDIR" to "/bin/mkdir -p" ================================================================================ TEST configureAutoreconf from config.programs(/Users/balay/petsc.test/config/BuildSystem/config/programs.py:44) TESTING: configureAutoreconf from config.programs(config/BuildSystem/config/programs.py:44) Check for autoreconf Checking for program /opt/local/bin/autoreconf...not found Checking for program /opt/local/sbin/autoreconf...not found Checking for program /usr/bin/autoreconf...not found Checking for program /bin/autoreconf...not found Checking for program /usr/sbin/autoreconf...not found Checking for program /sbin/autoreconf...not found Checking for program /usr/local/bin/autoreconf...not found Checking for program /usr/local/cmake/bin/autoreconf...not found Checking for program /Users/balay/autoreconf...not found ================================================================================ TEST configurePrograms from config.programs(/Users/balay/petsc.test/config/BuildSystem/config/programs.py:65) TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:65) Check for the programs needed to build and run PETSc Checking for program /opt/local/bin/sh...not found Checking for program /opt/local/sbin/sh...not found Checking for program /usr/bin/sh...not found Checking for program /bin/sh...found Defined make macro "SHELL" to "/bin/sh" Checking for program /opt/local/bin/sed...not found Checking for program /opt/local/sbin/sed...not found Checking for program /usr/bin/sed...found Defined make macro "SED" to "/usr/bin/sed" All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.programs Executing: /usr/bin/sed -i s/sed/sd/g "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.programs/sed1" Rejected SEDINPLACE cmd: /usr/bin/sed -i Executing: /usr/bin/sed -i "" s/sed/sd/g "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.programs/sed1" Adding SEDINPLACE cmd: /usr/bin/sed -i "" Defined make macro "SEDINPLACE" to "/usr/bin/sed -i """ Checking for program /opt/local/bin/mv...not found Checking for program /opt/local/sbin/mv...not found Checking for program /usr/bin/mv...not found Checking for program /bin/mv...found Defined make macro "MV" to "/bin/mv" Checking for program /opt/local/bin/cp...not found Checking for program /opt/local/sbin/cp...not found Checking for program /usr/bin/cp...not found Checking for program /bin/cp...found Defined make macro "CP" to "/bin/cp" Checking for program /opt/local/bin/grep...not found Checking for program /opt/local/sbin/grep...not found Checking for program /usr/bin/grep...found Defined make macro "GREP" to "/usr/bin/grep" Checking for program /opt/local/bin/rm...not found Checking for program /opt/local/sbin/rm...not found Checking for program /usr/bin/rm...not found Checking for program /bin/rm...found Defined make macro "RM" to "/bin/rm -f" Checking for program /opt/local/bin/diff...not found Checking for program /opt/local/sbin/diff...not found Checking for program /usr/bin/diff...found Executing: "/usr/bin/diff" -w "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.programs/diff1" "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.programs/diff2" Defined make macro "DIFF" to "/usr/bin/diff -w" Checking for program /usr/ucb/ps...not found Checking for program /usr/usb/ps...not found Checking for program /Users/balay/ps...not found Checking for program /opt/local/bin/gzip...not found Checking for program /opt/local/sbin/gzip...not found Checking for program /usr/bin/gzip...found Defined make macro "GZIP" to "/usr/bin/gzip" Defined "HAVE_GZIP" to "1" Defined make macro "PYTHON" to "/usr/bin/python" ================================================================================ TEST configureGit from config.sourceControl(/Users/balay/petsc.test/config/BuildSystem/config/sourceControl.py:24) TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24) Find the Git executable Checking for program /opt/local/bin/git...not found Checking for program /opt/local/sbin/git...not found Checking for program /usr/bin/git...found Defined make macro "GIT" to "git" Executing: git --version stdout: git version 1.7.12.4 (Apple Git-37) ================================================================================ TEST configureMercurial from config.sourceControl(/Users/balay/petsc.test/config/BuildSystem/config/sourceControl.py:35) TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35) Find the Mercurial executable Checking for program /opt/local/bin/hg...not found Checking for program /opt/local/sbin/hg...not found Checking for program /usr/bin/hg...not found Checking for program /bin/hg...not found Checking for program /usr/sbin/hg...not found Checking for program /sbin/hg...not found Checking for program /usr/local/bin/hg...not found Checking for program /usr/local/cmake/bin/hg...not found Checking for program /Users/balay/hg...not found ================================================================================ TEST configureCVS from config.sourceControl(/Users/balay/petsc.test/config/BuildSystem/config/sourceControl.py:46) TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46) Find the CVS executable Checking for program /opt/local/bin/cvs...not found Checking for program /opt/local/sbin/cvs...not found Checking for program /usr/bin/cvs...found Defined make macro "CVS" to "cvs" Executing: cvs --version stdout: Concurrent Versions System (CVS) 1.12.13 (client/server) Copyright (C) 2005 Free Software Foundation, Inc. Senior active maintainers include Larry Jones, Derek R. Price, and Mark D. Baushke. Please see the AUTHORS and README files from the CVS distribution kit for a complete list of contributors and copyrights. CVS may be copied only under the terms of the GNU General Public License, a copy of which can be found with the CVS distribution kit. Specify the --help option for further information about CVS ================================================================================ TEST configureSubversion from config.sourceControl(/Users/balay/petsc.test/config/BuildSystem/config/sourceControl.py:55) TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55) Find the Subversion executable Checking for program /opt/local/bin/svn...not found Checking for program /opt/local/sbin/svn...not found Checking for program /usr/bin/svn...found Defined make macro "SVN" to "svn" Executing: svn --version -q stdout: 1.6.18 ================================================================================ TEST configureDirectories from PETSc.utilities.petscdir(/Users/balay/petsc.test/config/PETSc/utilities/petscdir.py:28) TESTING: configureDirectories from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:28) Checks PETSC_DIR and sets if not set Version Information: #define PETSC_VERSION_RELEASE 0 #define PETSC_VERSION_MAJOR 3 #define PETSC_VERSION_MINOR 4 #define PETSC_VERSION_SUBMINOR 2 #define PETSC_VERSION_PATCH 0 #define PETSC_VERSION_DATE "unknown" #define PETSC_VERSION_GIT "unknown" #define PETSC_VERSION_DATE_GIT "unknown" #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_LE(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GT(MAJOR,MINOR,SUBMINOR) \ #define PETSC_VERSION_GE(MAJOR,MINOR,SUBMINOR) \ Defined make macro "DIR" to "/Users/balay/petsc.test" Defined "DIR" to ""/Users/balay/petsc.test"" ================================================================================ TEST configureExternalPackagesDir from PETSc.utilities.petscdir(/Users/balay/petsc.test/config/PETSc/utilities/petscdir.py:77) TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:77) ================================================================================ TEST configureInstallationMethod from PETSc.utilities.petscdir(/Users/balay/petsc.test/config/PETSc/utilities/petscdir.py:84) TESTING: configureInstallationMethod from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:84) bin/maint exists. This appears to be a repository clone Defined "VERSION_GIT" to ""9ff0bd77c83f11876776e24b1a649867fca9f6d6"" Defined "VERSION_DATE_GIT" to ""2013-10-08 14:42:46 -0500"" ================================================================================ TEST configureETags from PETSc.utilities.Etags(/Users/balay/petsc.test/config/PETSc/utilities/Etags.py:27) TESTING: configureETags from PETSc.utilities.Etags(config/PETSc/utilities/Etags.py:27) Determine if etags files exist and try to create otherwise Found etags file ================================================================================ TEST getDatafilespath from PETSc.utilities.dataFilesPath(/Users/balay/petsc.test/config/PETSc/utilities/dataFilesPath.py:29) TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29) Checks what DATAFILESPATH should be ================================================================================ TEST printEnvVariables from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1500) TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1500) **** printenv **** LANG=en_US.UTF-8 TERM=xterm SHELL=/bin/bash VERSIONER_PYTHON_PREFER_32_BIT=no VERSIONER_PYTHON_VERSION=2.7 SHLVL=1 SSH_TTY=/dev/ttys000 OLDPWD=/Users/balay _=./configure PWD=/Users/balay/petsc.test __CF_USER_TEXT_ENCODING=0x1F5:0:0 SSH_CLIENT=140.221.37.2 38326 22 LOGNAME=balay USER=balay PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/cmake/bin MAIL=/var/mail/balay PS1=[\u@\h \W$(__git_ps1 " (%s)")]\$ HOME=/Users/balay TMPDIR=/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/ SSH_CONNECTION=140.221.37.2 38326 140.221.11.55 22 ================================================================================ TEST resetEnvCompilers from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1507) TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1507) ================================================================================ TEST checkMPICompilerOverride from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1472) TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1472) Check if --with-mpi-dir is used along with CC CXX or FC compiler options. This usually prevents mpi compilers from being used - so issue a warning ================================================================================ TEST requireMpiLdPath from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1491) TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1491) OpenMPI wrappers require LD_LIBRARY_PATH set ================================================================================ TEST checkVendor from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:400) TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:400) Determine the compiler vendor Compiler vendor is "" ================================================================================ TEST checkInitialFlags from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:410) TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:410) Initialize the compiler and linker flags Pushing language C Initialized CFLAGS to Initialized CFLAGS to Initialized LDFLAGS to Popping language C Pushing language CUDA Initialized CUDAFLAGS to Initialized CUDAFLAGS to Initialized LDFLAGS to Popping language CUDA Pushing language Cxx Initialized CXXFLAGS to Initialized CXX_CXXFLAGS to Initialized LDFLAGS to Popping language Cxx Pushing language FC Initialized FFLAGS to Initialized FFLAGS to Initialized LDFLAGS to Popping language FC Initialized CPPFLAGS to Initialized CUDAPPFLAGS to Initialized CXXCPPFLAGS to Initialized CC_LINKER_FLAGS to [] Initialized CXX_LINKER_FLAGS to [] Initialized FC_LINKER_FLAGS to [] Initialized CUDAC_LINKER_FLAGS to [] Initialized sharedLibraryFlags to [] Initialized dynamicLibraryFlags to [] ================================================================================ TEST checkCCompiler from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:526) TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:526) Locate a functional C compiler Checking for program /opt/local/bin/clang...not found Checking for program /opt/local/sbin/clang...not found Checking for program /usr/bin/clang...found Defined make macro "CC" to "clang" Pushing language C All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language C ================================================================================ TEST checkCPreprocessor from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:561) TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:561) Locate a functional C preprocessor Checking for program /opt/local/bin/clang...not found Checking for program /opt/local/sbin/clang...not found Checking for program /usr/bin/clang...found Defined make macro "CPP" to "clang -E" Pushing language C Executing: clang -E -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c stdout: # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" # 1 "" 1 # 1 "" 3 # 162 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/confdefs.h" 1 # 2 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conffix.h" 1 # 3 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" 2 # 1 "/usr/include/stdlib.h" 1 3 4 # 61 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/Availability.h" 1 3 4 # 144 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 145 "/usr/include/Availability.h" 2 3 4 # 62 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 27 "/usr/include/_types.h" 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 32 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 406 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 407 "/usr/include/sys/cdefs.h" 2 3 4 # 472 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 473 "/usr/include/sys/cdefs.h" 2 3 4 # 33 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 32 "/usr/include/machine/_types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 70 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef long int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 33 "/usr/include/machine/_types.h" 2 3 4 # 34 "/usr/include/sys/_types.h" 2 3 4 # 58 "/usr/include/sys/_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; }; # 94 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint64_t __darwin_ino64_t; typedef __darwin_ino64_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; typedef char __darwin_uuid_string_t[37]; # 28 "/usr/include/_types.h" 2 3 4 # 39 "/usr/include/_types.h" 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef __uint32_t __darwin_wctype_t; # 64 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 79 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; typedef __darwin_pid_t pid_t; typedef __darwin_id_t id_t; # 116 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 73 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 74 "/usr/include/sys/signal.h" 2 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 32 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 39 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 55 "/usr/include/i386/signal.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 56 "/usr/include/i386/signal.h" 2 3 4 # 33 "/usr/include/machine/signal.h" 2 3 4 # 82 "/usr/include/sys/signal.h" 2 3 4 # 148 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 57 "/usr/include/sys/_structs.h" 3 4 # 1 "/usr/include/machine/_structs.h" 1 3 4 # 29 "/usr/include/machine/_structs.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 38 "/usr/include/i386/_structs.h" 3 4 # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 # 43 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_thread_state { unsigned int __eax; unsigned int __ebx; unsigned int __ecx; unsigned int __edx; unsigned int __edi; unsigned int __esi; unsigned int __ebp; unsigned int __esp; unsigned int __ss; unsigned int __eflags; unsigned int __eip; unsigned int __cs; unsigned int __ds; unsigned int __es; unsigned int __fs; unsigned int __gs; }; # 89 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_control { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, :2, __pc :2, __rc :2, :1, :3; }; typedef struct __darwin_fp_control __darwin_fp_control_t; # 147 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_status { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, __stkflt :1, __errsumm :1, __c0 :1, __c1 :1, __c2 :1, __tos :3, __c3 :1, __busy :1; }; typedef struct __darwin_fp_status __darwin_fp_status_t; # 191 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_mmst_reg { char __mmst_reg[10]; char __mmst_rsrv[6]; }; # 210 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_xmm_reg { char __xmm_reg[16]; }; # 232 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_float_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; }; struct __darwin_i386_avx_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; }; # 402 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint32_t __faultvaddr; }; # 422 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state32 { unsigned int __dr0; unsigned int __dr1; unsigned int __dr2; unsigned int __dr3; unsigned int __dr4; unsigned int __dr5; unsigned int __dr6; unsigned int __dr7; }; # 454 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_thread_state64 { __uint64_t __rax; __uint64_t __rbx; __uint64_t __rcx; __uint64_t __rdx; __uint64_t __rdi; __uint64_t __rsi; __uint64_t __rbp; __uint64_t __rsp; __uint64_t __r8; __uint64_t __r9; __uint64_t __r10; __uint64_t __r11; __uint64_t __r12; __uint64_t __r13; __uint64_t __r14; __uint64_t __r15; __uint64_t __rip; __uint64_t __rflags; __uint64_t __cs; __uint64_t __fs; __uint64_t __gs; }; # 509 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_float_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; }; struct __darwin_x86_avx_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; struct __darwin_xmm_reg __fpu_ymmh8; struct __darwin_xmm_reg __fpu_ymmh9; struct __darwin_xmm_reg __fpu_ymmh10; struct __darwin_xmm_reg __fpu_ymmh11; struct __darwin_xmm_reg __fpu_ymmh12; struct __darwin_xmm_reg __fpu_ymmh13; struct __darwin_xmm_reg __fpu_ymmh14; struct __darwin_xmm_reg __fpu_ymmh15; }; # 751 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint64_t __faultvaddr; }; # 771 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state64 { __uint64_t __dr0; __uint64_t __dr1; __uint64_t __dr2; __uint64_t __dr3; __uint64_t __dr4; __uint64_t __dr5; __uint64_t __dr6; __uint64_t __dr7; }; # 39 "/usr/include/i386/_structs.h" 2 3 4 # 48 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_float_state __fs; }; struct __darwin_mcontext_avx32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_avx_state __fs; }; # 86 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_float_state64 __fs; }; struct __darwin_mcontext_avx64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_avx_state64 __fs; }; # 127 "/usr/include/i386/_structs.h" 3 4 typedef struct __darwin_mcontext64 *mcontext_t; # 30 "/usr/include/machine/_structs.h" 2 3 4 # 58 "/usr/include/sys/_structs.h" 2 3 4 # 75 "/usr/include/sys/_structs.h" 3 4 struct __darwin_sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; # 128 "/usr/include/sys/_structs.h" 3 4 struct __darwin_ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; struct __darwin_sigaltstack uc_stack; struct __darwin_ucontext *uc_link; __darwin_size_t uc_mcsize; struct __darwin_mcontext64 *uc_mcontext; }; # 218 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_sigaltstack stack_t; # 227 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_ucontext ucontext_t; # 149 "/usr/include/sys/signal.h" 2 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; typedef __darwin_sigset_t sigset_t; typedef __darwin_size_t size_t; typedef __darwin_uid_t uid_t; union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long __pad[7]; } siginfo_t; # 286 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 348 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 365 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 384 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 407 "/usr/include/sys/signal.h" 3 4 void (*signal(int, void (*)(int)))(int); # 117 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 77 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 100 "/usr/include/sys/_structs.h" 3 4 struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 78 "/usr/include/sys/resource.h" 2 3 4 # 89 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 151 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 162 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 222 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 246 "/usr/include/sys/resource.h" 3 4 int getpriority(int, id_t); int getiopolicy_np(int, int) __attribute__((availability(macosx,introduced=10.5))); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" ); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int) __attribute__((availability(macosx,introduced=10.5))); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" ); # 118 "/usr/include/sys/wait.h" 2 3 4 # 193 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 35 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 99 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 124 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static inline __uint16_t _OSSwapInt16( __uint16_t _data ) { return ((_data << 8) | (_data >> 8)); } static inline __uint32_t _OSSwapInt32( __uint32_t _data ) { return __builtin_bswap32(_data); } static inline __uint64_t _OSSwapInt64( __uint64_t _data ) { return __builtin_bswap64(_data); } # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 # 125 "/usr/include/sys/_endian.h" 2 3 4 # 100 "/usr/include/i386/endian.h" 2 3 4 # 36 "/usr/include/machine/endian.h" 2 3 4 # 194 "/usr/include/sys/wait.h" 2 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 255 "/usr/include/sys/wait.h" 3 4 pid_t wait(int *) __asm("_" "wait" ); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" ); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" ); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); # 66 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 36 "/usr/include/alloca.h" 3 4 void *alloca(size_t); # 68 "/usr/include/stdlib.h" 2 3 4 # 81 "/usr/include/stdlib.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; typedef __darwin_rune_t rune_t; typedef __darwin_wchar_t wchar_t; typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 134 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 145 "/usr/include/stdlib.h" 3 4 void abort(void) __attribute__((noreturn)); int abs(int) __attribute__((const)); int atexit(void (*)(void)); double atof(const char *); int atoi(const char *); long atol(const char *); long long atoll(const char *); void *bsearch(const void *, const void *, size_t, size_t, int (*)(const void *, const void *)); void *calloc(size_t, size_t); div_t div(int, int) __attribute__((const)); void exit(int) __attribute__((noreturn)); void free(void *); char *getenv(const char *); long labs(long) __attribute__((const)); ldiv_t ldiv(long, long) __attribute__((const)); long long llabs(long long); lldiv_t lldiv(long long, long long); void *malloc(size_t); int mblen(const char *, size_t); size_t mbstowcs(wchar_t * restrict , const char * restrict, size_t); int mbtowc(wchar_t * restrict, const char * restrict, size_t); int posix_memalign(void **, size_t, size_t) __attribute__((availability(macosx,introduced=10.6))); void qsort(void *, size_t, size_t, int (*)(const void *, const void *)); int rand(void); void *realloc(void *, size_t); void srand(unsigned); double strtod(const char *, char **) __asm("_" "strtod" ); float strtof(const char *, char **) __asm("_" "strtof" ); long strtol(const char *, char **, int); long double strtold(const char *, char **); long long strtoll(const char *, char **, int); unsigned long strtoul(const char *, char **, int); unsigned long long strtoull(const char *, char **, int); int system(const char *) __asm("_" "system" ); size_t wcstombs(char * restrict, const wchar_t * restrict, size_t); int wctomb(char *, wchar_t); void _Exit(int) __attribute__((noreturn)); long a64l(const char *); double drand48(void); char *ecvt(double, int, int *restrict, int *restrict); double erand48(unsigned short[3]); char *fcvt(double, int, int *restrict, int *restrict); char *gcvt(double, int, char *); int getsubopt(char **, char * const *, char **); int grantpt(int); char *initstate(unsigned, char *, size_t); long jrand48(unsigned short[3]); char *l64a(long); void lcong48(unsigned short[7]); long lrand48(void); char *mktemp(char *); int mkstemp(char *); long mrand48(void); long nrand48(unsigned short[3]); int posix_openpt(int); char *ptsname(int); int putenv(char *) __asm("_" "putenv" ); long random(void); int rand_r(unsigned *); char *realpath(const char * restrict, char * restrict) __asm("_" "realpath" "$DARWIN_EXTSN"); unsigned short *seed48(unsigned short[3]); int setenv(const char *, const char *, int) __asm("_" "setenv" ); void setkey(const char *) __asm("_" "setkey" ); char *setstate(const char *); void srand48(long); void srandom(unsigned); int unlockpt(int); int unsetenv(const char *) __asm("_" "unsetenv" ); # 1 "/usr/include/machine/types.h" 1 3 4 # 35 "/usr/include/machine/types.h" 3 4 # 1 "/usr/include/i386/types.h" 1 3 4 # 78 "/usr/include/i386/types.h" 3 4 typedef signed char int8_t; typedef unsigned char u_int8_t; typedef short int16_t; typedef unsigned short u_int16_t; typedef int int32_t; typedef unsigned int u_int32_t; typedef long long int64_t; typedef unsigned long long u_int64_t; typedef int64_t register_t; typedef __darwin_intptr_t intptr_t; typedef unsigned long uintptr_t; typedef u_int64_t user_addr_t; typedef u_int64_t user_size_t; typedef int64_t user_ssize_t; typedef int64_t user_long_t; typedef u_int64_t user_ulong_t; typedef int64_t user_time_t; typedef int64_t user_off_t; typedef u_int64_t syscall_arg_t; # 36 "/usr/include/machine/types.h" 2 3 4 # 256 "/usr/include/stdlib.h" 2 3 4 typedef __darwin_dev_t dev_t; typedef __darwin_mode_t mode_t; u_int32_t arc4random(void); void arc4random_addrandom(unsigned char * , int ); void arc4random_buf(void * , size_t ) __attribute__((availability(macosx,introduced=10.7))); void arc4random_stir(void); u_int32_t arc4random_uniform(u_int32_t ) __attribute__((availability(macosx,introduced=10.7))); int atexit_b(void (^)(void)) __attribute__((availability(macosx,introduced=10.6))); void *bsearch_b(const void *, const void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); char *cgetcap(char *, const char *, int); int cgetclose(void); int cgetent(char **, char **, const char *); int cgetfirst(char **, char **); int cgetmatch(const char *, const char *); int cgetnext(char **, char **); int cgetnum(char *, const char *, long *); int cgetset(const char *); int cgetstr(char *, const char *, char **); int cgetustr(char *, const char *, char **); int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((availability(macosx,introduced=10.0,deprecated=10.5))); char *devname(dev_t, mode_t); char *devname_r(dev_t, mode_t, char *buf, int len); char *getbsize(int *, long *); int getloadavg(double [], int); const char *getprogname(void); int heapsort(void *, size_t, size_t, int (*)(const void *, const void *)); int heapsort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); int mergesort(void *, size_t, size_t, int (*)(const void *, const void *)); int mergesort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort(void *, size_t, size_t, int (*)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void psort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void qsort_b(void *, size_t, size_t, int (^)(const void *, const void *)) __attribute__((availability(macosx,introduced=10.6))); void qsort_r(void *, size_t, size_t, void *, int (*)(void *, const void *, const void *)); int radixsort(const unsigned char **, int, const unsigned char *, unsigned); void setprogname(const char *); int sradixsort(const unsigned char **, int, const unsigned char *, unsigned); void sranddev(void); void srandomdev(void); void *reallocf(void *, size_t); long long strtoq(const char *, char **, int); unsigned long long strtouq(const char *, char **, int); extern char *suboptarg; void *valloc(size_t); # 4 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" 2 # 3 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c" Popping language C ================================================================================ TEST checkCUDACompiler from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:595) TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:595) Locate a functional CUDA compiler Checking for program /opt/local/bin/nvcc...not found Checking for program /opt/local/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/local/cmake/bin/nvcc...not found Checking for program /Users/balay/nvcc...not found Checking for program /Users/balay/petsc.test/bin/win32fe/nvcc...not found Checking for program /opt/local/bin/nvcc...not found Checking for program /opt/local/sbin/nvcc...not found Checking for program /usr/bin/nvcc...not found Checking for program /bin/nvcc...not found Checking for program /usr/sbin/nvcc...not found Checking for program /sbin/nvcc...not found Checking for program /usr/local/bin/nvcc...not found Checking for program /usr/local/cmake/bin/nvcc...not found Checking for program /Users/balay/nvcc...not found Checking for program /Users/balay/petsc.test/bin/win32fe/nvcc...not found ================================================================================ TEST checkCUDAPreprocessor from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:633) TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:633) Locate a functional CUDA preprocessor ================================================================================ TEST checkCxxCompiler from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:736) TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:736) Locate a functional Cxx compiler Checking for program /opt/local/bin/clang++...not found Checking for program /opt/local/sbin/clang++...not found Checking for program /usr/bin/clang++...found Defined make macro "CXX" to "clang++" Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language Cxx ================================================================================ TEST checkCxxPreprocessor from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:774) TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:774) Locate a functional Cxx preprocessor Checking for program /opt/local/bin/clang++...not found Checking for program /opt/local/sbin/clang++...not found Checking for program /usr/bin/clang++...found Defined make macro "CXXCPP" to "clang++ -E" Pushing language Cxx Executing: clang++ -E -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc stdout: # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc" # 1 "" 1 # 1 "" 3 # 167 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/confdefs.h" 1 # 2 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conffix.h" 1 extern "C" { } # 3 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc" 2 # 1 "/usr/include/c++/4.2.1/cstdlib" 1 3 # 48 "/usr/include/c++/4.2.1/cstdlib" 3 # 48 "/usr/include/c++/4.2.1/cstdlib" 3 # 1 "/usr/include/c++/4.2.1/bits/c++config.h" 1 3 # 41 "/usr/include/c++/4.2.1/bits/c++config.h" 3 # 1 "/usr/include/c++/4.2.1/bits/os_defines.h" 1 3 # 61 "/usr/include/c++/4.2.1/bits/os_defines.h" 3 # 1 "/usr/include/unistd.h" 1 3 4 # 71 "/usr/include/unistd.h" 3 4 # 1 "/usr/include/_types.h" 1 3 4 # 27 "/usr/include/_types.h" 3 4 # 1 "/usr/include/sys/_types.h" 1 3 4 # 32 "/usr/include/sys/_types.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 406 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 407 "/usr/include/sys/cdefs.h" 2 3 4 # 472 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 473 "/usr/include/sys/cdefs.h" 2 3 4 # 33 "/usr/include/sys/_types.h" 2 3 4 # 1 "/usr/include/machine/_types.h" 1 3 4 # 32 "/usr/include/machine/_types.h" 3 4 # 1 "/usr/include/i386/_types.h" 1 3 4 # 37 "/usr/include/i386/_types.h" 3 4 typedef signed char __int8_t; typedef unsigned char __uint8_t; typedef short __int16_t; typedef unsigned short __uint16_t; typedef int __int32_t; typedef unsigned int __uint32_t; typedef long long __int64_t; typedef unsigned long long __uint64_t; typedef long __darwin_intptr_t; typedef unsigned int __darwin_natural_t; # 70 "/usr/include/i386/_types.h" 3 4 typedef int __darwin_ct_rune_t; typedef union { char __mbstate8[128]; long long _mbstateL; } __mbstate_t; typedef __mbstate_t __darwin_mbstate_t; typedef long int __darwin_ptrdiff_t; typedef long unsigned int __darwin_size_t; typedef __builtin_va_list __darwin_va_list; typedef int __darwin_wchar_t; typedef __darwin_wchar_t __darwin_rune_t; typedef int __darwin_wint_t; typedef unsigned long __darwin_clock_t; typedef __uint32_t __darwin_socklen_t; typedef long __darwin_ssize_t; typedef long __darwin_time_t; # 33 "/usr/include/machine/_types.h" 2 3 4 # 34 "/usr/include/sys/_types.h" 2 3 4 # 58 "/usr/include/sys/_types.h" 3 4 struct __darwin_pthread_handler_rec { void (*__routine)(void *); void *__arg; struct __darwin_pthread_handler_rec *__next; }; struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; }; struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; }; struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_once_t { long __sig; char __opaque[8]; }; struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; }; struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; }; struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; }; # 94 "/usr/include/sys/_types.h" 3 4 typedef __int64_t __darwin_blkcnt_t; typedef __int32_t __darwin_blksize_t; typedef __int32_t __darwin_dev_t; typedef unsigned int __darwin_fsblkcnt_t; typedef unsigned int __darwin_fsfilcnt_t; typedef __uint32_t __darwin_gid_t; typedef __uint32_t __darwin_id_t; typedef __uint64_t __darwin_ino64_t; typedef __darwin_ino64_t __darwin_ino_t; typedef __darwin_natural_t __darwin_mach_port_name_t; typedef __darwin_mach_port_name_t __darwin_mach_port_t; typedef __uint16_t __darwin_mode_t; typedef __int64_t __darwin_off_t; typedef __int32_t __darwin_pid_t; typedef struct _opaque_pthread_attr_t __darwin_pthread_attr_t; typedef struct _opaque_pthread_cond_t __darwin_pthread_cond_t; typedef struct _opaque_pthread_condattr_t __darwin_pthread_condattr_t; typedef unsigned long __darwin_pthread_key_t; typedef struct _opaque_pthread_mutex_t __darwin_pthread_mutex_t; typedef struct _opaque_pthread_mutexattr_t __darwin_pthread_mutexattr_t; typedef struct _opaque_pthread_once_t __darwin_pthread_once_t; typedef struct _opaque_pthread_rwlock_t __darwin_pthread_rwlock_t; typedef struct _opaque_pthread_rwlockattr_t __darwin_pthread_rwlockattr_t; typedef struct _opaque_pthread_t *__darwin_pthread_t; typedef __uint32_t __darwin_sigset_t; typedef __int32_t __darwin_suseconds_t; typedef __uint32_t __darwin_uid_t; typedef __uint32_t __darwin_useconds_t; typedef unsigned char __darwin_uuid_t[16]; typedef char __darwin_uuid_string_t[37]; # 28 "/usr/include/_types.h" 2 3 4 # 39 "/usr/include/_types.h" 3 4 typedef int __darwin_nl_item; typedef int __darwin_wctrans_t; typedef __uint32_t __darwin_wctype_t; # 72 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/sys/unistd.h" 1 3 4 # 138 "/usr/include/sys/unistd.h" 3 4 struct accessx_descriptor { unsigned int ad_name_offset; int ad_flags; int ad_pad[2]; }; # 73 "/usr/include/unistd.h" 2 3 4 # 1 "/usr/include/Availability.h" 1 3 4 # 144 "/usr/include/Availability.h" 3 4 # 1 "/usr/include/AvailabilityInternal.h" 1 3 4 # 145 "/usr/include/Availability.h" 2 3 4 # 74 "/usr/include/unistd.h" 2 3 4 typedef __darwin_gid_t gid_t; typedef __darwin_intptr_t intptr_t; typedef __darwin_off_t off_t; typedef __darwin_pid_t pid_t; typedef __darwin_size_t size_t; typedef __darwin_ssize_t ssize_t; typedef __darwin_uid_t uid_t; typedef __darwin_useconds_t useconds_t; # 458 "/usr/include/unistd.h" 3 4 extern "C" { void _exit(int) __attribute__((noreturn)); int access(const char *, int); unsigned int alarm(unsigned int); int chdir(const char *); int chown(const char *, uid_t, gid_t); int close(int) __asm("_" "close" ); int dup(int); int dup2(int, int); int execl(const char *, const char *, ...); int execle(const char *, const char *, ...); int execlp(const char *, const char *, ...); int execv(const char *, char * const *); int execve(const char *, char * const *, char * const *); int execvp(const char *, char * const *); pid_t fork(void); long fpathconf(int, int); char *getcwd(char *, size_t); gid_t getegid(void); uid_t geteuid(void); gid_t getgid(void); int getgroups(int, gid_t []); char *getlogin(void); pid_t getpgrp(void); pid_t getpid(void); pid_t getppid(void); uid_t getuid(void); int isatty(int); int link(const char *, const char *); off_t lseek(int, off_t, int); long pathconf(const char *, int); int pause(void) __asm("_" "pause" ); int pipe(int [2]); ssize_t read(int, void *, size_t) __asm("_" "read" ); int rmdir(const char *); int setgid(gid_t); int setpgid(pid_t, pid_t); pid_t setsid(void); int setuid(uid_t); unsigned int sleep(unsigned int) __asm("_" "sleep" ); long sysconf(int); pid_t tcgetpgrp(int); int tcsetpgrp(int, pid_t); char *ttyname(int); int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" ); int unlink(const char *); ssize_t write(int, const void *, size_t) __asm("_" "write" ); } # 535 "/usr/include/unistd.h" 3 4 extern "C" { size_t confstr(int, char *, size_t) __asm("_" "confstr" ); int getopt(int, char * const [], const char *) __asm("_" "getopt" ); extern char *optarg; extern int optind, opterr, optopt; } # 560 "/usr/include/unistd.h" 3 4 extern "C" { void *brk(const void *); int chroot(const char *) ; char *crypt(const char *, const char *); char *ctermid(char *); void encrypt(char *, int) __asm("_" "encrypt" ); int fchdir(int); long gethostid(void); pid_t getpgid(pid_t); pid_t getsid(pid_t); int getdtablesize(void) ; int getpagesize(void) __attribute__((const)) ; char *getpass(const char *) ; char *getwd(char *) ; int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" ); int lockf(int, int, off_t) __asm("_" "lockf" ); int nice(int) __asm("_" "nice" ); ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" ); ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" ); void *sbrk(int); pid_t setpgrp(void) __asm("_" "setpgrp" ); int setregid(gid_t, gid_t) __asm("_" "setregid" ); int setreuid(uid_t, uid_t) __asm("_" "setreuid" ); void swab(const void * , void * , ssize_t); void sync(void); int truncate(const char *, off_t); useconds_t ualarm(useconds_t, useconds_t); int usleep(useconds_t) __asm("_" "usleep" ); pid_t vfork(void); int fsync(int) __asm("_" "fsync" ); int ftruncate(int, off_t); int getlogin_r(char *, size_t); } # 647 "/usr/include/unistd.h" 3 4 extern "C" { int fchown(int, uid_t, gid_t); int gethostname(char *, size_t); ssize_t readlink(const char * , char * , size_t); int setegid(gid_t); int seteuid(uid_t); int symlink(const char *, const char *); } # 1 "/usr/include/sys/select.h" 1 3 4 # 66 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/appleapiopts.h" 1 3 4 # 67 "/usr/include/sys/select.h" 2 3 4 # 78 "/usr/include/sys/select.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 88 "/usr/include/sys/_structs.h" 3 4 struct timespec { __darwin_time_t tv_sec; long tv_nsec; }; struct timeval { __darwin_time_t tv_sec; __darwin_suseconds_t tv_usec; }; # 183 "/usr/include/sys/_structs.h" 3 4 extern "C" { typedef struct fd_set { __int32_t fds_bits[((((1024) % ((sizeof(__int32_t) * 8))) == 0) ? ((1024) / ((sizeof(__int32_t) * 8))) : (((1024) / ((sizeof(__int32_t) * 8))) + 1))]; } fd_set; } static inline int __darwin_fd_isset(int _n, const struct fd_set *_p) { return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8)))); } # 79 "/usr/include/sys/select.h" 2 3 4 typedef __darwin_time_t time_t; typedef __darwin_suseconds_t suseconds_t; typedef __darwin_sigset_t sigset_t; # 134 "/usr/include/sys/select.h" 3 4 extern "C" { int pselect(int, fd_set * , fd_set * , fd_set * , const struct timespec * , const sigset_t * ) __asm("_" "pselect" "$1050") ; # 1 "/usr/include/sys/_select.h" 1 3 4 # 39 "/usr/include/sys/_select.h" 3 4 int select(int, fd_set * , fd_set * , fd_set * , struct timeval * ) __asm("_" "select" "$1050") ; # 153 "/usr/include/sys/select.h" 2 3 4 } # 663 "/usr/include/unistd.h" 2 3 4 typedef __darwin_dev_t dev_t; typedef __darwin_mode_t mode_t; typedef __darwin_uuid_t uuid_t; extern "C" { void _Exit(int) __attribute__((noreturn)); int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t); int acct(const char *); int add_profil(char *, size_t, unsigned long, unsigned int); void endusershell(void); int execvP(const char *, const char *, char * const *); char *fflagstostr(unsigned long); int getdomainname(char *, int); int getgrouplist(const char *, int, int *, int *); int gethostuuid(uuid_t, const struct timespec *) __attribute__((availability(macosx,introduced=10.5))); mode_t getmode(const void *, mode_t); int getpeereid(int, uid_t *, gid_t *); int getsgroups_np(int *, uuid_t); char *getusershell(void); int getwgroups_np(int *, uuid_t); int initgroups(const char *, int); int iruserok(unsigned long, int, const char *, const char *); int iruserok_sa(const void *, int, int, const char *, const char *); int issetugid(void); char *mkdtemp(char *); int mknod(const char *, mode_t, dev_t); int mkpath_np(const char *path, mode_t omode) __attribute__((availability(macosx,introduced=10.8))); int mkstemp(char *); int mkstemps(char *, int); char *mktemp(char *); int nfssvc(int, void *); int profil(char *, size_t, unsigned long, unsigned int); int pthread_setugid_np(uid_t, gid_t); int pthread_getugid_np( uid_t *, gid_t *); int rcmd(char **, int, const char *, const char *, const char *, int *); int rcmd_af(char **, int, const char *, const char *, const char *, int *, int); int reboot(int); int revoke(const char *); int rresvport(int *); int rresvport_af(int *, int); int ruserok(const char *, int, const char *, const char *); int setdomainname(const char *, int); int setgroups(int, const gid_t *); void sethostid(long); int sethostname(const char *, int); void setkey(const char *) __asm("_" "setkey" ); int setlogin(const char *); void *setmode(const char *) __asm("_" "setmode" ); int setrgid(gid_t); int setruid(uid_t); int setsgroups_np(int, const uuid_t); void setusershell(void); int setwgroups_np(int, const uuid_t); int strtofflags(char **, unsigned long *, unsigned long *); int swapon(const char *); int syscall(int, ...); int ttyslot(void); int undelete(const char *); int unwhiteout(const char *); void *valloc(size_t); extern char *suboptarg; int getsubopt(char **, char * const *, char **); int fgetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int fsetattrlist(int,void*,void*,size_t,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int getattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "getattrlist" ); int setattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "setattrlist" ); int exchangedata(const char*,const char*,unsigned int); int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int); # 763 "/usr/include/unistd.h" 3 4 struct fssearchblock; struct searchstate; int searchfs(const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *); int fsctl(const char *,unsigned long,void*,unsigned int); int ffsctl(int,unsigned long,void*,unsigned int) __attribute__((availability(macosx,introduced=10.6))); int fsync_volume_np(int, int) __attribute__((availability(macosx,introduced=10.8))); int sync_volume_np(const char *, int) __attribute__((availability(macosx,introduced=10.8))); extern int optreset; } # 62 "/usr/include/c++/4.2.1/bits/os_defines.h" 2 3 extern "C" { # 92 "/usr/include/c++/4.2.1/bits/os_defines.h" 3 extern void __dtrace_probe$cxa_runtime$cxa_exception_rethrow$v1(void); extern int __dtrace_isenabled$cxa_runtime$cxa_exception_rethrow$v1(void); extern void __dtrace_probe$cxa_runtime$cxa_exception_throw$v1$766f6964202a(void *); extern int __dtrace_isenabled$cxa_runtime$cxa_exception_throw$v1(void); } # 42 "/usr/include/c++/4.2.1/bits/c++config.h" 2 3 # 1 "/usr/include/c++/4.2.1/bits/cpu_defines.h" 1 3 # 45 "/usr/include/c++/4.2.1/bits/c++config.h" 2 3 # 153 "/usr/include/c++/4.2.1/bits/c++config.h" 3 namespace std { # 165 "/usr/include/c++/4.2.1/bits/c++config.h" 3 } # 50 "/usr/include/c++/4.2.1/cstdlib" 2 3 # 1 "/usr/include/c++/4.2.1/cstddef" 1 3 # 48 "/usr/include/c++/4.2.1/cstddef" 3 # 48 "/usr/include/c++/4.2.1/cstddef" 3 # 1 "/usr/bin/../lib/clang/4.2/include/stddef.h" 1 3 4 # 31 "/usr/bin/../lib/clang/4.2/include/stddef.h" 3 4 typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t; # 51 "/usr/include/c++/4.2.1/cstddef" 2 3 namespace std { using ::ptrdiff_t; using ::size_t; } # 51 "/usr/include/c++/4.2.1/cstdlib" 2 3 # 71 "/usr/include/c++/4.2.1/cstdlib" 3 # 1 "/usr/include/stdlib.h" 1 3 4 # 65 "/usr/include/stdlib.h" 3 4 # 1 "/usr/include/sys/wait.h" 1 3 4 # 79 "/usr/include/sys/wait.h" 3 4 typedef enum { P_ALL, P_PID, P_PGID } idtype_t; # 95 "/usr/include/sys/wait.h" 3 4 typedef __darwin_id_t id_t; # 116 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/sys/signal.h" 1 3 4 # 81 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/machine/signal.h" 1 3 4 # 32 "/usr/include/machine/signal.h" 3 4 # 1 "/usr/include/i386/signal.h" 1 3 4 # 39 "/usr/include/i386/signal.h" 3 4 typedef int sig_atomic_t; # 55 "/usr/include/i386/signal.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 56 "/usr/include/i386/signal.h" 2 3 4 # 33 "/usr/include/machine/signal.h" 2 3 4 # 82 "/usr/include/sys/signal.h" 2 3 4 # 148 "/usr/include/sys/signal.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 57 "/usr/include/sys/_structs.h" 3 4 # 1 "/usr/include/machine/_structs.h" 1 3 4 # 29 "/usr/include/machine/_structs.h" 3 4 # 1 "/usr/include/i386/_structs.h" 1 3 4 # 38 "/usr/include/i386/_structs.h" 3 4 # 1 "/usr/include/mach/i386/_structs.h" 1 3 4 # 43 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_thread_state { unsigned int __eax; unsigned int __ebx; unsigned int __ecx; unsigned int __edx; unsigned int __edi; unsigned int __esi; unsigned int __ebp; unsigned int __esp; unsigned int __ss; unsigned int __eflags; unsigned int __eip; unsigned int __cs; unsigned int __ds; unsigned int __es; unsigned int __fs; unsigned int __gs; }; # 89 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_control { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, :2, __pc :2, __rc :2, :1, :3; }; typedef struct __darwin_fp_control __darwin_fp_control_t; # 147 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_fp_status { unsigned short __invalid :1, __denorm :1, __zdiv :1, __ovrfl :1, __undfl :1, __precis :1, __stkflt :1, __errsumm :1, __c0 :1, __c1 :1, __c2 :1, __tos :3, __c3 :1, __busy :1; }; typedef struct __darwin_fp_status __darwin_fp_status_t; # 191 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_mmst_reg { char __mmst_reg[10]; char __mmst_rsrv[6]; }; # 210 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_xmm_reg { char __xmm_reg[16]; }; # 232 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_float_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; }; struct __darwin_i386_avx_state { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; char __fpu_rsrv4[14*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; }; # 402 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_i386_exception_state { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint32_t __faultvaddr; }; # 422 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state32 { unsigned int __dr0; unsigned int __dr1; unsigned int __dr2; unsigned int __dr3; unsigned int __dr4; unsigned int __dr5; unsigned int __dr6; unsigned int __dr7; }; # 454 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_thread_state64 { __uint64_t __rax; __uint64_t __rbx; __uint64_t __rcx; __uint64_t __rdx; __uint64_t __rdi; __uint64_t __rsi; __uint64_t __rbp; __uint64_t __rsp; __uint64_t __r8; __uint64_t __r9; __uint64_t __r10; __uint64_t __r11; __uint64_t __r12; __uint64_t __r13; __uint64_t __r14; __uint64_t __r15; __uint64_t __rip; __uint64_t __rflags; __uint64_t __cs; __uint64_t __fs; __uint64_t __gs; }; # 509 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_float_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; }; struct __darwin_x86_avx_state64 { int __fpu_reserved[2]; struct __darwin_fp_control __fpu_fcw; struct __darwin_fp_status __fpu_fsw; __uint8_t __fpu_ftw; __uint8_t __fpu_rsrv1; __uint16_t __fpu_fop; __uint32_t __fpu_ip; __uint16_t __fpu_cs; __uint16_t __fpu_rsrv2; __uint32_t __fpu_dp; __uint16_t __fpu_ds; __uint16_t __fpu_rsrv3; __uint32_t __fpu_mxcsr; __uint32_t __fpu_mxcsrmask; struct __darwin_mmst_reg __fpu_stmm0; struct __darwin_mmst_reg __fpu_stmm1; struct __darwin_mmst_reg __fpu_stmm2; struct __darwin_mmst_reg __fpu_stmm3; struct __darwin_mmst_reg __fpu_stmm4; struct __darwin_mmst_reg __fpu_stmm5; struct __darwin_mmst_reg __fpu_stmm6; struct __darwin_mmst_reg __fpu_stmm7; struct __darwin_xmm_reg __fpu_xmm0; struct __darwin_xmm_reg __fpu_xmm1; struct __darwin_xmm_reg __fpu_xmm2; struct __darwin_xmm_reg __fpu_xmm3; struct __darwin_xmm_reg __fpu_xmm4; struct __darwin_xmm_reg __fpu_xmm5; struct __darwin_xmm_reg __fpu_xmm6; struct __darwin_xmm_reg __fpu_xmm7; struct __darwin_xmm_reg __fpu_xmm8; struct __darwin_xmm_reg __fpu_xmm9; struct __darwin_xmm_reg __fpu_xmm10; struct __darwin_xmm_reg __fpu_xmm11; struct __darwin_xmm_reg __fpu_xmm12; struct __darwin_xmm_reg __fpu_xmm13; struct __darwin_xmm_reg __fpu_xmm14; struct __darwin_xmm_reg __fpu_xmm15; char __fpu_rsrv4[6*16]; int __fpu_reserved1; char __avx_reserved1[64]; struct __darwin_xmm_reg __fpu_ymmh0; struct __darwin_xmm_reg __fpu_ymmh1; struct __darwin_xmm_reg __fpu_ymmh2; struct __darwin_xmm_reg __fpu_ymmh3; struct __darwin_xmm_reg __fpu_ymmh4; struct __darwin_xmm_reg __fpu_ymmh5; struct __darwin_xmm_reg __fpu_ymmh6; struct __darwin_xmm_reg __fpu_ymmh7; struct __darwin_xmm_reg __fpu_ymmh8; struct __darwin_xmm_reg __fpu_ymmh9; struct __darwin_xmm_reg __fpu_ymmh10; struct __darwin_xmm_reg __fpu_ymmh11; struct __darwin_xmm_reg __fpu_ymmh12; struct __darwin_xmm_reg __fpu_ymmh13; struct __darwin_xmm_reg __fpu_ymmh14; struct __darwin_xmm_reg __fpu_ymmh15; }; # 751 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_exception_state64 { __uint16_t __trapno; __uint16_t __cpu; __uint32_t __err; __uint64_t __faultvaddr; }; # 771 "/usr/include/mach/i386/_structs.h" 3 4 struct __darwin_x86_debug_state64 { __uint64_t __dr0; __uint64_t __dr1; __uint64_t __dr2; __uint64_t __dr3; __uint64_t __dr4; __uint64_t __dr5; __uint64_t __dr6; __uint64_t __dr7; }; # 39 "/usr/include/i386/_structs.h" 2 3 4 # 48 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_float_state __fs; }; struct __darwin_mcontext_avx32 { struct __darwin_i386_exception_state __es; struct __darwin_i386_thread_state __ss; struct __darwin_i386_avx_state __fs; }; # 86 "/usr/include/i386/_structs.h" 3 4 struct __darwin_mcontext64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_float_state64 __fs; }; struct __darwin_mcontext_avx64 { struct __darwin_x86_exception_state64 __es; struct __darwin_x86_thread_state64 __ss; struct __darwin_x86_avx_state64 __fs; }; # 127 "/usr/include/i386/_structs.h" 3 4 typedef struct __darwin_mcontext64 *mcontext_t; # 30 "/usr/include/machine/_structs.h" 2 3 4 # 58 "/usr/include/sys/_structs.h" 2 3 4 # 75 "/usr/include/sys/_structs.h" 3 4 struct __darwin_sigaltstack { void *ss_sp; __darwin_size_t ss_size; int ss_flags; }; # 128 "/usr/include/sys/_structs.h" 3 4 struct __darwin_ucontext { int uc_onstack; __darwin_sigset_t uc_sigmask; struct __darwin_sigaltstack uc_stack; struct __darwin_ucontext *uc_link; __darwin_size_t uc_mcsize; struct __darwin_mcontext64 *uc_mcontext; }; # 218 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_sigaltstack stack_t; # 227 "/usr/include/sys/_structs.h" 3 4 typedef struct __darwin_ucontext ucontext_t; # 149 "/usr/include/sys/signal.h" 2 3 4 typedef __darwin_pthread_attr_t pthread_attr_t; # 175 "/usr/include/sys/signal.h" 3 4 union sigval { int sival_int; void *sival_ptr; }; struct sigevent { int sigev_notify; int sigev_signo; union sigval sigev_value; void (*sigev_notify_function)(union sigval); pthread_attr_t *sigev_notify_attributes; }; typedef struct __siginfo { int si_signo; int si_errno; int si_code; pid_t si_pid; uid_t si_uid; int si_status; void *si_addr; union sigval si_value; long si_band; unsigned long __pad[7]; } siginfo_t; # 286 "/usr/include/sys/signal.h" 3 4 union __sigaction_u { void (*__sa_handler)(int); void (*__sa_sigaction)(int, struct __siginfo *, void *); }; struct __sigaction { union __sigaction_u __sigaction_u; void (*sa_tramp)(void *, int, int, siginfo_t *, void *); sigset_t sa_mask; int sa_flags; }; struct sigaction { union __sigaction_u __sigaction_u; sigset_t sa_mask; int sa_flags; }; # 348 "/usr/include/sys/signal.h" 3 4 typedef void (*sig_t)(int); # 365 "/usr/include/sys/signal.h" 3 4 struct sigvec { void (*sv_handler)(int); int sv_mask; int sv_flags; }; # 384 "/usr/include/sys/signal.h" 3 4 struct sigstack { char *ss_sp; int ss_onstack; }; # 406 "/usr/include/sys/signal.h" 3 4 extern "C" { void (*signal(int, void (*)(int)))(int); } # 117 "/usr/include/sys/wait.h" 2 3 4 # 1 "/usr/include/sys/resource.h" 1 3 4 # 77 "/usr/include/sys/resource.h" 3 4 # 1 "/usr/include/sys/_structs.h" 1 3 4 # 78 "/usr/include/sys/resource.h" 2 3 4 # 89 "/usr/include/sys/resource.h" 3 4 typedef __uint64_t rlim_t; # 151 "/usr/include/sys/resource.h" 3 4 struct rusage { struct timeval ru_utime; struct timeval ru_stime; # 162 "/usr/include/sys/resource.h" 3 4 long ru_maxrss; long ru_ixrss; long ru_idrss; long ru_isrss; long ru_minflt; long ru_majflt; long ru_nswap; long ru_inblock; long ru_oublock; long ru_msgsnd; long ru_msgrcv; long ru_nsignals; long ru_nvcsw; long ru_nivcsw; }; # 222 "/usr/include/sys/resource.h" 3 4 struct rlimit { rlim_t rlim_cur; rlim_t rlim_max; }; # 245 "/usr/include/sys/resource.h" 3 4 extern "C" { int getpriority(int, id_t); int getiopolicy_np(int, int) __attribute__((availability(macosx,introduced=10.5))); int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" ); int getrusage(int, struct rusage *); int setpriority(int, id_t, int); int setiopolicy_np(int, int, int) __attribute__((availability(macosx,introduced=10.5))); int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" ); } # 118 "/usr/include/sys/wait.h" 2 3 4 # 193 "/usr/include/sys/wait.h" 3 4 # 1 "/usr/include/machine/endian.h" 1 3 4 # 35 "/usr/include/machine/endian.h" 3 4 # 1 "/usr/include/i386/endian.h" 1 3 4 # 99 "/usr/include/i386/endian.h" 3 4 # 1 "/usr/include/sys/_endian.h" 1 3 4 # 124 "/usr/include/sys/_endian.h" 3 4 # 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4 # 66 "/usr/include/libkern/_OSByteOrder.h" 3 4 # 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4 # 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4 static inline __uint16_t _OSSwapInt16( __uint16_t _data ) { return ((_data << 8) | (_data >> 8)); } static inline __uint32_t _OSSwapInt32( __uint32_t _data ) { return __builtin_bswap32(_data); } static inline __uint64_t _OSSwapInt64( __uint64_t _data ) { return __builtin_bswap64(_data); } # 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4 # 125 "/usr/include/sys/_endian.h" 2 3 4 # 100 "/usr/include/i386/endian.h" 2 3 4 # 36 "/usr/include/machine/endian.h" 2 3 4 # 194 "/usr/include/sys/wait.h" 2 3 4 union wait { int w_status; struct { unsigned int w_Termsig:7, w_Coredump:1, w_Retcode:8, w_Filler:16; } w_T; struct { unsigned int w_Stopval:8, w_Stopsig:8, w_Filler:16; } w_S; }; # 254 "/usr/include/sys/wait.h" 3 4 extern "C" { pid_t wait(int *) __asm("_" "wait" ); pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" ); int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" ); pid_t wait3(int *, int, struct rusage *); pid_t wait4(pid_t, int *, int, struct rusage *); } # 66 "/usr/include/stdlib.h" 2 3 4 # 1 "/usr/include/alloca.h" 1 3 4 # 35 "/usr/include/alloca.h" 3 4 extern "C" { void *alloca(size_t); } # 68 "/usr/include/stdlib.h" 2 3 4 # 81 "/usr/include/stdlib.h" 3 4 typedef __darwin_ct_rune_t ct_rune_t; typedef __darwin_rune_t rune_t; # 97 "/usr/include/stdlib.h" 3 4 typedef struct { int quot; int rem; } div_t; typedef struct { long quot; long rem; } ldiv_t; typedef struct { long long quot; long long rem; } lldiv_t; # 134 "/usr/include/stdlib.h" 3 4 extern int __mb_cur_max; # 144 "/usr/include/stdlib.h" 3 4 extern "C" { void abort(void) __attribute__((noreturn)); int abs(int) __attribute__((const)); int atexit(void (*)(void)); Popping language Cxx ================================================================================ TEST checkFortranCompiler from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:883) TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:883) Locate a functional Fortran compiler Checking for program /opt/local/bin/gfortran...not found Checking for program /opt/local/sbin/gfortran...not found Checking for program /usr/bin/gfortran...not found Checking for program /bin/gfortran...not found Checking for program /usr/sbin/gfortran...not found Checking for program /sbin/gfortran...not found Checking for program /usr/local/bin/gfortran...found Defined make macro "FC" to "gfortran" Pushing language FC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkFortranComments from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:902) TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:902) Make sure fortran comment "!" works Pushing language FC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: ! comment program main end Fortran comments can use ! in column 1 Popping language FC ================================================================================ TEST checkPIC from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:965) TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:965) Determine the PIC option for each compiler - There needs to be a test that checks that the functionality is actually working Pushing language C Executing: clang --help stdout: OVERVIEW: clang LLVM compiler USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --migrate Run the migrator --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -Eonly Just run preprocessor, no output (for timings) -E Only run the preprocessor -F Add directory to framework include search path -H Show header includes and nesting depth -I Add directory to include search path -MG Add missing headers to dependency list -MP Create phony target for each dependency (other than main file) -MQ Specify target to quote for dependency -MT Specify target for dependency -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -P Disable linemarker output in -E mode -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wlarge-by-value-copy Warn if a function definition returns or accepts an object larger in bytes that a given value -Wno-rewrite-macros Silence ObjC rewriting warnings -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -add-plugin Use the named plugin action in addition to the default action -analyze-function Run analysis on specific function -analyzer-checker-help Display the list of analyzer checkers that are available -analyzer-checker Choose analyzer checkers to enable -analyzer-config Choose analyzer options to enable -analyzer-constraints Source Code Analysis - Symbolic Constraint Engines -analyzer-disable-checker Choose analyzer checkers to disable -analyzer-disable-retry-exhausted Do not re-analyze paths leading to exhausted nodes with a different strategy (may decrease code coverage) -analyzer-display-progress Emit verbose output about the analyzer's progress -analyzer-eagerly-assume Eagerly assume the truth/falseness of some symbolic constraints -analyzer-inline-max-function-size Bound on the number of basic blocks in an inlined function (200 by default) -analyzer-inline-max-stack-depth Bound on stack depth while inlining (4 by default) -analyzer-inlining-mode Specify the function selection heuristic used during inlining -analyzer-ipa Specify the inter-procedural analysis mode -analyzer-max-loop The maximum number of times the analyzer will go through a loop -analyzer-max-nodes The maximum number of nodes the analyzer can generate (150000 default, 0 = no limit) -analyzer-no-eagerly-trim-egraph Don't eagerly remove uninteresting ExplodedNodes from the ExplodedGraph -analyzer-opt-analyze-headers Force the static analyzer to analyze functions defined in header files -analyzer-opt-analyze-nested-blocks Analyze the definitions of blocks in addition to functions -analyzer-output Source Code Analysis - Output Options -analyzer-purge Source Code Analysis - Dead Symbol Removal Frequency -analyzer-stats Print internal analyzer statistics. -analyzer-store Source Code Analysis - Abstract Memory Store Models -analyzer-viz-egraph-graphviz Display exploded graph using GraphViz -analyzer-viz-egraph-ubigraph Display exploded graph using Ubigraph -analyze Run static analysis engine -arcmt-check Check for ARC migration issues that need manual handling -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -arcmt-migrate Apply modifications and produces temporary files that conform to ARC -arcmt-modify Apply modifications to files to conform to ARC -ast-dump-filter Use with -ast-dump or -ast-print to dump/print only AST declaration nodes having a certain substring in a qualified name. Use -ast-list to list all filterable declaration node names. -ast-dump-xml Build ASTs and then debug dump them in a verbose XML format -ast-dump Build ASTs and then debug dump them -ast-list Build ASTs and print the list of declaration node qualified names -ast-merge Merge the given AST file into the translation unit being compiled. -ast-print Build ASTs and then pretty-print them -ast-view Build ASTs and view them with GraphViz -backend-option Additional arguments to forward to LLVM backend (during code gen) -c-isystem Add directory to the C SYSTEM include search path -chain-include Include and chain a header file after turning it into PCH -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__ -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-kernel-arg-info OpenCL only. This option allows the compiler to store information about the arguments of a kernel(s) -cl-mad-enable OpenCL only. Enable less precise MAD instructions to be generated. -cl-opt-disable OpenCL only. This option disables all optimizations. The default is optimizations are enabled. -cl-single-precision-constant OpenCL only. Treat double precision floating-point constant as single precision constant. -cl-std= OpenCL language standard to compile for -cl-unsafe-math-optimizations OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable -code-completion-at :: Dump code-completion information at a location -code-completion-brief-comments Include brief documentation comments in code-completion results. -code-completion-macros Include macros in code-completion results -code-completion-patterns Include code patterns in code-completion results -coverage-file Emit coverage data to this filename. The extension will be replaced. -cxx-abi Target a particular C++ ABI type -cxx-isystem Add directory to the C++ SYSTEM include search path -c Only run preprocess, compile, and assemble steps -dD Print macro definitions in -E mode in addition to normal output -dM Print macro definitions in -E mode instead of normal output -dependency-dot Filename to write DOT-formatted header dependencies to -dependency-file Filename (or -) to write dependency output to -detailed-preprocessing-record include a detailed record of preprocessing actions -diagnostic-log-file Filename (or -) to log diagnostics to -disable-free Disable freeing of memory on exit -disable-llvm-optzns Don't run LLVM optimization passes -disable-llvm-verifier Don't run the LLVM IR verifier pass -disable-red-zone Do not emit code that uses the red zone. -dump-build-information output a dump of some build information to a file -dump-deserialized-decls Dump declarations that are deserialized from PCH, for testing -dump-raw-tokens Lex file in raw mode and dump raw tokens -dump-tokens Run preprocessor, dump internal rep of tokens -dwarf-debug-flags The string to embed in the Dwarf debug flags record. -emit-ast Emit Clang AST files for source inputs -emit-codegen-only Generate machine code, but discard output -emit-html Output input source as HTML -emit-llvm-bc Build ASTs then convert to LLVM, emit .bc file -emit-llvm-only Build ASTs and convert to LLVM, discarding output -emit-llvm Use the LLVM representation for assembler and object files -emit-module Generate pre-compiled module file from a module map -emit-obj Emit native object files -emit-pch Generate pre-compiled header file -emit-pth Generate pre-tokenized header file -error-on-deserialized-decl Emit error if a specific declaration is deserialized from PCH, for testing -faddress-sanitizer Enable AddressSanitizer instrumentation (memory error detection) -faltivec Enable AltiVec vector initializer syntax -fapple-kext Use Apple's kernel extensions ABI -fapple-pragma-pack Enable Apple gcc-compatible #pragma pack handling -fblocks-runtime-optional Weakly link in the blocks runtime -fblocks Enable the 'blocks' language feature -fborland-extensions Accept non-standard constructs supported by the Borland compiler -fbounds-checking Enable run-time bounds checks. -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -fcolor-diagnostics Use colors in diagnostics -fconst-strings Use a const qualified type for string literals in C and ObjC -fconstant-string-class Specify the class to use for constant Objective-C string objects. -fconstexpr-backtrace-limit Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit). -fconstexpr-depth Maximum depth of recursive constexpr function calls -fcuda-is-device Generate code for CUDA device -fcxx-exceptions Enable C++ exceptions -fdata-sections Place each data in its own section (ELF Only) -fdebug-compilation-dir The compilation directory to embed in the debug info. -fdebugger-cast-result-to-id Enable casting unknown expression results to id -fdebugger-objc-literal Enable special debugger support for Objective-C subscripting and literals -fdebugger-support Enable special debugger support behavior -fdelayed-template-parsing Parse templated function definitions at the end of the translation unit -fdeprecated-macro Defines the __DEPRECATED macro -fdiagnostics-format Change diagnostic formatting to match IDE and command line tools -fdiagnostics-parseable-fixits Print fix-its in machine parseable form -fdiagnostics-print-source-range-info Print source range spans in numeric form -fdiagnostics-show-category Print diagnostic category -fdiagnostics-show-name Print diagnostic name -fdiagnostics-show-note-include-stack Display include stacks for diagnostic notes -fdiagnostics-show-option Print option name with mappable diagnostics -fdiagnostics-show-template-tree Print a template comparison tree for differing templates -fdisable-module-hash Disable the module hash -fdollars-in-identifiers Allow '$' in identifiers -fdump-record-layouts-simple Dump record layout information in a simple form used for testing -fdump-record-layouts Dump record layout information -fdump-vtable-layouts Dump the layouts of all vtables that will be emitted in a translation unit -femit-all-decls Emit all declarations, even if unused -femit-coverage-data Instrument the program to emit gcov coverage data when run. -femit-coverage-notes Emit a gcov coverage notes file when compiling. -fenable-experimental-ms-inline-asm Enable support for Microsoft style inine assembly -ferror-limit Set the maximum number of errors to emit before stopping (0 = no limit). -fexceptions Enable support for exception handling -ffake-address-space-map Use a fake address space map; OpenCL testing purposes only -ffast-math Enable the *frontend*'s 'fast-math' mode. This has no effect on optimizations, but provides a preprocessor macro __FAST_MATH__ the same as GCC's -ffast-math flag. -fforbid-guard-variables Emit an error if a C++ static local initializer would need a guard variable -ffp-contract= Form fused FP ops (e.g. FMAs): fast (everywhere) | on (according to FP_CONTRACT pragma, default) | off (never fuse) -ffreestanding Assert that the compilation takes place in a freestanding environment -ffunction-sections Place each function in its own section (ELF Only) -fgnu-keywords Allow GNU-extension keywords regardless of language standard -fgnu-runtime Generate output compatible with the standard GNU Objective-C runtime -fgnu89-inline Use the gnu89 inline semantics -fhidden-weak-vtables Generate weak vtables and RTTI with hidden visibility -finstrument-functions Generate calls to instrument function entry and exit -fix-only-warnings Apply fix-it advice only for warnings, not errors -fix-what-you-can Apply fix-it advice even in the presence of unfixable errors -fixit-recompile Apply fix-it changes and recompile -fixit-to-temporary Apply fix-it changes to temporary files -fixit= Apply fix-it advice creating a file with the given suffix -fixit Apply fix-it advice to the input source -flimit-debug-info Limit debug information produced to reduce size of debug binary -fmacro-backtrace-limit Set the maximum number of entries to print in a macro expansion backtrace (0 = no limit). -fmath-errno Require math functions to indicate errors by setting errno -fmessage-length Format message diagnostics so that they fit within N columns or fewer, when possible. -fmodule-cache-path Specify the module cache path -fmodule-name= Specify the name of the module to build -fmodules Enable the 'modules' language feature -fms-compatibility Enable Microsoft compatibility mode -fms-extensions Accept some non-standard constructs supported by the Microsoft compiler -fmsc-version= Version of the Microsoft C/C++ compiler to report in _MSC_VER (0 = don't define it (default)) -fno-access-control Disable C++ access control -fno-assume-sane-operator-new Don't assume that C++'s global operator new can't alias any pointer -fno-bitfield-type-align Ignore bit-field types when aligning structures -fno-builtin Disable implicit builtin knowledge of functions -fno-common Compile common globals like normal definitions -fno-const-strings Don't use a const qualified type for string literals in C and ObjC -fno-constant-cfstrings Disable creation of CodeFoundation-type constant strings -fno-deprecated-macro Undefines the __DEPRECATED macro -fno-diagnostics-fixit-info Do not include fixit information in diagnostics -fno-diagnostics-show-note-include-stack Display include stacks for diagnostic notes -fno-dollars-in-identifiers Disallow '$' in identifiers -fno-elide-constructors Disable C++ copy constructor elision -fno-elide-type Do not elide types when printing diagnostics -fno-lax-vector-conversions Disallow implicit conversions between vectors with a different number of elements or different element types -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -fno-merge-all-constants Disallow merging of constants. -fno-objc-infer-related-result-type do not infer Objective-C related result type based on method family -fno-operator-names Do not treat C++ operator name keywords as synonyms for operators -fno-rtti Disable generation of rtti information -fno-show-column Do not include column number on diagnostics -fno-show-source-location Do not include source location information with diagnostics -fno-signed-char Char is unsigned -fno-spell-checking Disable spell-checking -fno-threadsafe-statics Do not emit code to make initialization of local statics thread safe -fno-use-cxa-atexit Don't use __cxa_atexit for calling destructors -fno-validate-pch Disable validation of precompiled headers -fno-wchar Disable C++ builtin type wchar_t -fobjc-arc-cxxlib= Objective-C++ Automatic Reference Counting standard library kind -fobjc-arc-exceptions Use EH-safe code when synthesizing retains and releases in -fobjc-arc -fobjc-arc Synthesize retain and release calls for Objective-C pointers -fobjc-default-synthesize-properties enable the default synthesis of Objective-C properties -fobjc-dispatch-method= Objective-C dispatch method to use -fobjc-exceptions Enable Objective-C exceptions -fobjc-gc-only Use GC exclusively for Objective-C related memory management -fobjc-gc Enable Objective-C garbage collection -fobjc-runtime-has-weak The target Objective-C runtime supports ARC weak operations -fobjc-runtime= Specify the target Objective-C runtime kind and version -foverride-record-layout= Override record layouts with those in the given file -fpack-struct= Specify the default maximum struct packing alignment -fpascal-strings Recognize and construct Pascal-style string literals -fshort-enums Allocate to an enum type only as many bytes as it needs for the declared range of possible values -fshort-wchar Force wchar_t to be a short unsigned int -fshow-overloads= Which overload candidates to show when overload resolution fails: best|all; defaults to all -fsjlj-exceptions Use SjLj style exceptions -fstrict-enums Enable optimizations based on the strict definition of an enum's value range. -ftabstop Set the tab stop distance. -ftemplate-backtrace-limit Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit). -ftemplate-depth Maximum depth of recursive template instantiation -fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection) -ftrap-function= Issue call to specified function rather than a trap instruction -ftrapv-handler= Specify the function to be called on overflow. -ftrapv Trap on integer overflow -funknown-anytype Enable parser support for the __unknown_anytype type; for testing purposes only -funroll-loops Turn on loop unroller -fuse-init-array Use .init_array instead of .ctors -fuse-register-sized-bitfield-access Use register sized accesses to bit-fields, when possible. -fvisibility-inlines-hidden Give inline C++ member functions default visibility by default -fvisibility Default symbol visibility -fwrapv Treat signed integer overflow as two's complement -fwritable-strings Store string literals as writable data -gcc-toolchain Use the gcc toolchain at the given directory -gline-tables-only Emit debug line number tables only -g Generate source level debug information -header-include-file Filename (or -) to write header include output to -help Display available options -idirafter Add directory to AFTER include search path -iframework Add directory to SYSTEM framework search path -imacros Include macros from file before parsing -include-pch Include precompiled header file -include-pth Include file before parsing -include Include file before parsing -index-header-map Make the next included directory (-I or -F) an indexer header map -init-only Only execute frontend initialization -ino-system-prefix Treat all #include paths starting with as not including a system header. -internal-externc-isystem Add directory to the internal system include search path with implicit extern "C" semantics; these are assumed to not be user-provided and are used to model system and standard headers' paths. -internal-isystem Add directory to the internal system include search path; these are assumed to not be user-provided and are used to model system and standard headers' paths. -iprefix Set the -iwithprefix/-iwithprefixbefore prefix -iquote Add directory to QUOTE include search path -isysroot Set the system root directory (usually /) -isystem-prefix Treat all #include paths starting with as including a system header. -isystem Add directory to SYSTEM include search path -iwithprefixbefore Set directory to include search path with prefix -iwithprefix Set directory to SYSTEM include search path with prefix -iwithsysroot Add directory to SYSTEM include search path, absolute paths are relative to -isysroot -load Load the named plugin (dynamic shared object) -main-file-name Main file name to use for debug info -masm-verbose Generate verbose assembly output -mcode-model The code model to use -mconstructor-aliases Emit complete constructors and destructors as aliases when possible -mdebug-pass Enable additional debug output -mdisable-fp-elim Disable frame pointer elimination optimization -mdisable-tail-calls Disable tail call optimization, keeping the call stack accurate -menable-no-infs Allow optimization to assume there are no infinities. -menable-no-nans Allow optimization to assume there are no NaNs. -menable-unsafe-fp-math Allow unsafe floating-point math optimizations which may decrease precision -mfloat-abi The float ABI to use -migrate Migrate source code -mips32r2 Equivalent to -march=mips32r2 -mips32 Equivalent to -march=mips32 -mips64r2 Equivalent to -march=mips64r2 -mips64 Equivalent to -march=mips64 -mlimit-float-precision Limit float precision to the given value -mlink-bitcode-file Link the given bitcode file before performing optimizations. -mllvm Additional arguments to forward to LLVM's option processing -mms-bitfields Set the default structure layout to be compatible with the Microsoft compiler standard. -mno-global-merge Disable merging of globals -mno-implicit-float Don't generate implicit floating point instructions -mno-zero-initialized-in-bss Do not put zero initialized data in the BSS -mnoexecstack Mark the file as not needing an executable stack -momit-leaf-frame-pointer Omit frame pointer setup for leaf functions. -mqdsp6-compat Enable hexagon-qdsp6 backward compatibility -mregparm Limit the number of registers available for integer arguments -mrelax-all (integrated-as) Relax all machine instructions -mrelocation-model The relocation model to use -mrtd Make StdCall calling convention the default -msave-temp-labels (integrated-as) Save temporary labels -msoft-float Use software floating point -mstack-alignment= Set the stack alignment -mstackrealign Force realign the stack at entry to every function. -mt-migrate-directory Directory for temporary files produced during ARC or ObjC migration -munwind-tables Generate unwinding tables for all functions -no-code-completion-globals Do not include global declarations in code-completion results. -no-finalize-removal Do not remove finalize method in gc mode -no-implicit-float Don't generate implicit floating point instructions -no-ns-alloc-error Do not error on use of NSAllocateCollectable/NSReallocateCollectable -nobuiltininc Disable builtin #include directories -nostdinc++ Disable standard #include directories for the C++ standard library -nostdsysteminc Disable standard system #include directories -objc-isystem Add directory to the ObjC SYSTEM include search path -objcmt-migrate-literals Enable migration to modern ObjC literals -objcmt-migrate-subscripting Enable migration to modern ObjC subscripting -objcxx-isystem Add directory to the ObjC++ SYSTEM include search path -o Write output to -pg Enable mcount instrumentation -pic-level Value for __PIC__ -pie-level Value for __PIE__ -pipe Use pipes between commands, when possible -plugin-arg- Pass to plugin -plugin Use the named plugin action instead of the default action (use "help" to list available options) -preamble-bytes= Assume that the precompiled header is a precompiled preamble covering the first N bytes of the main file -print-decl-contexts Print DeclContexts and their Decls -print-file-name= Print the full library path of -print-ivar-layout Enable Objective-C Ivar layout bitmap print trace -print-libgcc-file-name Print the library path for "libgcc.a" -print-preamble Print the "preamble" of a file, which is a candidate for implicit precompiled headers. -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -print-stats Print performance metrics and statistics -pthread Support POSIX threads in generated code -relaxed-aliasing Turn off Type Based Alias Analysis -relocatable-pch Whether to build a relocatable precompiled header -remap-file ; Replace the contents of the file with the contents of the file -resource-dir The directory which holds the compiler resource files -rewrite-legacy-objc Rewrite Legacy Objective-C source to C++ -rewrite-macros Expand macros without full preprocessing -rewrite-objc Rewrite Objective-C source to C++ -rewrite-test Rewriter playground -save-temps Save intermediate compilation results -serialize-diagnostic-file File for serializing diagnostics in a binary format -stack-protector-buffer-size Lower bound for a buffer to be considered for stack protection -stack-protector Enable stack protectors -static-define Should __STATIC__ be defined -std= Language standard to compile for -stdlib= C++ standard library to use -sys-header-deps Include system headers in dependency output -target-abi Target a particular ABI type -target-cpu Target a specific cpu type -target-feature Target specific attributes -target-linker-version Target linker version -target Generate code for the given target -time Time individual commands -token-cache Use specified token cache file -traditional-cpp Enable some traditional CPP emulation -trigraphs Process trigraph sequences -trim-egraph Only show error-related paths in the analysis graph -triple Specify target triple (e.g. i686-apple-darwin9) -undef undef all system defines -unoptimized-cfg Generate unoptimized CFGs for all analyses -verify Verify output using a verifier. -version Print the compiler version -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -w Suppress all warnings. -x Treat subsequent input files as having type Trying C compiler flag -fPIC Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -fPIC Adding C compiler flag -fPIC Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fPIC Popping language C Pushing language Cxx Executing: clang++ --help stdout: OVERVIEW: clang LLVM compiler USAGE: clang [options] OPTIONS: -### Print the commands to run for this compilation --analyze Run the static analyzer --migrate Run the migrator --relocatable-pch Build a relocatable precompiled header --serialize-diagnostics Serialize compiler diagnostics to a file -Eonly Just run preprocessor, no output (for timings) -E Only run the preprocessor -F Add directory to framework include search path -H Show header includes and nesting depth -I Add directory to include search path -MG Add missing headers to dependency list -MP Create phony target for each dependency (other than main file) -MQ Specify target to quote for dependency -MT Specify target for dependency -ObjC++ Treat source input files as Objective-C++ inputs -ObjC Treat source input files as Objective-C inputs -P Disable linemarker output in -E mode -Qunused-arguments Don't emit warning for unused driver arguments -S Only run preprocess and compilation steps -Wa, Pass the comma separated arguments in to the assembler -Wl, Pass the comma separated arguments in to the linker -Wlarge-by-value-copy Warn if a function definition returns or accepts an object larger in bytes that a given value -Wno-rewrite-macros Silence ObjC rewriting warnings -Wp, Pass the comma separated arguments in to the preprocessor -Xanalyzer Pass to the static analyzer -Xassembler Pass to the assembler -Xclang Pass to the clang compiler -Xlinker Pass to the linker -Xpreprocessor Pass to the preprocessor -add-plugin Use the named plugin action in addition to the default action -analyze-function Run analysis on specific function -analyzer-checker-help Display the list of analyzer checkers that are available -analyzer-checker Choose analyzer checkers to enable -analyzer-config Choose analyzer options to enable -analyzer-constraints Source Code Analysis - Symbolic Constraint Engines -analyzer-disable-checker Choose analyzer checkers to disable -analyzer-disable-retry-exhausted Do not re-analyze paths leading to exhausted nodes with a different strategy (may decrease code coverage) -analyzer-display-progress Emit verbose output about the analyzer's progress -analyzer-eagerly-assume Eagerly assume the truth/falseness of some symbolic constraints -analyzer-inline-max-function-size Bound on the number of basic blocks in an inlined function (200 by default) -analyzer-inline-max-stack-depth Bound on stack depth while inlining (4 by default) -analyzer-inlining-mode Specify the function selection heuristic used during inlining -analyzer-ipa Specify the inter-procedural analysis mode -analyzer-max-loop The maximum number of times the analyzer will go through a loop -analyzer-max-nodes The maximum number of nodes the analyzer can generate (150000 default, 0 = no limit) -analyzer-no-eagerly-trim-egraph Don't eagerly remove uninteresting ExplodedNodes from the ExplodedGraph -analyzer-opt-analyze-headers Force the static analyzer to analyze functions defined in header files -analyzer-opt-analyze-nested-blocks Analyze the definitions of blocks in addition to functions -analyzer-output Source Code Analysis - Output Options -analyzer-purge Source Code Analysis - Dead Symbol Removal Frequency -analyzer-stats Print internal analyzer statistics. -analyzer-store Source Code Analysis - Abstract Memory Store Models -analyzer-viz-egraph-graphviz Display exploded graph using GraphViz -analyzer-viz-egraph-ubigraph Display exploded graph using Ubigraph -analyze Run static analysis engine -arcmt-check Check for ARC migration issues that need manual handling -arcmt-migrate-emit-errors Emit ARC errors even if the migrator can fix them -arcmt-migrate-report-output Output path for the plist report -arcmt-migrate Apply modifications and produces temporary files that conform to ARC -arcmt-modify Apply modifications to files to conform to ARC -ast-dump-filter Use with -ast-dump or -ast-print to dump/print only AST declaration nodes having a certain substring in a qualified name. Use -ast-list to list all filterable declaration node names. -ast-dump-xml Build ASTs and then debug dump them in a verbose XML format -ast-dump Build ASTs and then debug dump them -ast-list Build ASTs and print the list of declaration node qualified names -ast-merge Merge the given AST file into the translation unit being compiled. -ast-print Build ASTs and then pretty-print them -ast-view Build ASTs and view them with GraphViz -backend-option Additional arguments to forward to LLVM backend (during code gen) -c-isystem Add directory to the C SYSTEM include search path -chain-include Include and chain a header file after turning it into PCH -cl-fast-relaxed-math OpenCL only. Sets -cl-finite-math-only and -cl-unsafe-math-optimizations, and defines __FAST_RELAXED_MATH__ -cl-finite-math-only OpenCL only. Allow floating-point optimizations that assume arguments and results are not NaNs or +-Inf. -cl-kernel-arg-info OpenCL only. This option allows the compiler to store information about the arguments of a kernel(s) -cl-mad-enable OpenCL only. Enable less precise MAD instructions to be generated. -cl-opt-disable OpenCL only. This option disables all optimizations. The default is optimizations are enabled. -cl-single-precision-constant OpenCL only. Treat double precision floating-point constant as single precision constant. -cl-std= OpenCL language standard to compile for -cl-unsafe-math-optimizations OpenCL only. Allow unsafe floating-point optimizations. Also implies -cl-no-signed-zeros and -cl-mad-enable -code-completion-at :: Dump code-completion information at a location -code-completion-brief-comments Include brief documentation comments in code-completion results. -code-completion-macros Include macros in code-completion results -code-completion-patterns Include code patterns in code-completion results -coverage-file Emit coverage data to this filename. The extension will be replaced. -cxx-abi Target a particular C++ ABI type -cxx-isystem Add directory to the C++ SYSTEM include search path -c Only run preprocess, compile, and assemble steps -dD Print macro definitions in -E mode in addition to normal output -dM Print macro definitions in -E mode instead of normal output -dependency-dot Filename to write DOT-formatted header dependencies to -dependency-file Filename (or -) to write dependency output to -detailed-preprocessing-record include a detailed record of preprocessing actions -diagnostic-log-file Filename (or -) to log diagnostics to -disable-free Disable freeing of memory on exit -disable-llvm-optzns Don't run LLVM optimization passes -disable-llvm-verifier Don't run the LLVM IR verifier pass -disable-red-zone Do not emit code that uses the red zone. -dump-build-information output a dump of some build information to a file -dump-deserialized-decls Dump declarations that are deserialized from PCH, for testing -dump-raw-tokens Lex file in raw mode and dump raw tokens -dump-tokens Run preprocessor, dump internal rep of tokens -dwarf-debug-flags The string to embed in the Dwarf debug flags record. -emit-ast Emit Clang AST files for source inputs -emit-codegen-only Generate machine code, but discard output -emit-html Output input source as HTML -emit-llvm-bc Build ASTs then convert to LLVM, emit .bc file -emit-llvm-only Build ASTs and convert to LLVM, discarding output -emit-llvm Use the LLVM representation for assembler and object files -emit-module Generate pre-compiled module file from a module map -emit-obj Emit native object files -emit-pch Generate pre-compiled header file -emit-pth Generate pre-tokenized header file -error-on-deserialized-decl Emit error if a specific declaration is deserialized from PCH, for testing -faddress-sanitizer Enable AddressSanitizer instrumentation (memory error detection) -faltivec Enable AltiVec vector initializer syntax -fapple-kext Use Apple's kernel extensions ABI -fapple-pragma-pack Enable Apple gcc-compatible #pragma pack handling -fblocks-runtime-optional Weakly link in the blocks runtime -fblocks Enable the 'blocks' language feature -fborland-extensions Accept non-standard constructs supported by the Borland compiler -fbounds-checking Enable run-time bounds checks. -fcatch-undefined-behavior Generate runtime checks for undefined behavior. -fcolor-diagnostics Use colors in diagnostics -fconst-strings Use a const qualified type for string literals in C and ObjC -fconstant-string-class Specify the class to use for constant Objective-C string objects. -fconstexpr-backtrace-limit Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit). -fconstexpr-depth Maximum depth of recursive constexpr function calls -fcuda-is-device Generate code for CUDA device -fcxx-exceptions Enable C++ exceptions -fdata-sections Place each data in its own section (ELF Only) -fdebug-compilation-dir The compilation directory to embed in the debug info. -fdebugger-cast-result-to-id Enable casting unknown expression results to id -fdebugger-objc-literal Enable special debugger support for Objective-C subscripting and literals -fdebugger-support Enable special debugger support behavior -fdelayed-template-parsing Parse templated function definitions at the end of the translation unit -fdeprecated-macro Defines the __DEPRECATED macro -fdiagnostics-format Change diagnostic formatting to match IDE and command line tools -fdiagnostics-parseable-fixits Print fix-its in machine parseable form -fdiagnostics-print-source-range-info Print source range spans in numeric form -fdiagnostics-show-category Print diagnostic category -fdiagnostics-show-name Print diagnostic name -fdiagnostics-show-note-include-stack Display include stacks for diagnostic notes -fdiagnostics-show-option Print option name with mappable diagnostics -fdiagnostics-show-template-tree Print a template comparison tree for differing templates -fdisable-module-hash Disable the module hash -fdollars-in-identifiers Allow '$' in identifiers -fdump-record-layouts-simple Dump record layout information in a simple form used for testing -fdump-record-layouts Dump record layout information -fdump-vtable-layouts Dump the layouts of all vtables that will be emitted in a translation unit -femit-all-decls Emit all declarations, even if unused -femit-coverage-data Instrument the program to emit gcov coverage data when run. -femit-coverage-notes Emit a gcov coverage notes file when compiling. -fenable-experimental-ms-inline-asm Enable support for Microsoft style inine assembly -ferror-limit Set the maximum number of errors to emit before stopping (0 = no limit). -fexceptions Enable support for exception handling -ffake-address-space-map Use a fake address space map; OpenCL testing purposes only -ffast-math Enable the *frontend*'s 'fast-math' mode. This has no effect on optimizations, but provides a preprocessor macro __FAST_MATH__ the same as GCC's -ffast-math flag. -fforbid-guard-variables Emit an error if a C++ static local initializer would need a guard variable -ffp-contract= Form fused FP ops (e.g. FMAs): fast (everywhere) | on (according to FP_CONTRACT pragma, default) | off (never fuse) -ffreestanding Assert that the compilation takes place in a freestanding environment -ffunction-sections Place each function in its own section (ELF Only) -fgnu-keywords Allow GNU-extension keywords regardless of language standard -fgnu-runtime Generate output compatible with the standard GNU Objective-C runtime -fgnu89-inline Use the gnu89 inline semantics -fhidden-weak-vtables Generate weak vtables and RTTI with hidden visibility -finstrument-functions Generate calls to instrument function entry and exit -fix-only-warnings Apply fix-it advice only for warnings, not errors -fix-what-you-can Apply fix-it advice even in the presence of unfixable errors -fixit-recompile Apply fix-it changes and recompile -fixit-to-temporary Apply fix-it changes to temporary files -fixit= Apply fix-it advice creating a file with the given suffix -fixit Apply fix-it advice to the input source -flimit-debug-info Limit debug information produced to reduce size of debug binary -fmacro-backtrace-limit Set the maximum number of entries to print in a macro expansion backtrace (0 = no limit). -fmath-errno Require math functions to indicate errors by setting errno -fmessage-length Format message diagnostics so that they fit within N columns or fewer, when possible. -fmodule-cache-path Specify the module cache path -fmodule-name= Specify the name of the module to build -fmodules Enable the 'modules' language feature -fms-compatibility Enable Microsoft compatibility mode -fms-extensions Accept some non-standard constructs supported by the Microsoft compiler -fmsc-version= Version of the Microsoft C/C++ compiler to report in _MSC_VER (0 = don't define it (default)) -fno-access-control Disable C++ access control -fno-assume-sane-operator-new Don't assume that C++'s global operator new can't alias any pointer -fno-bitfield-type-align Ignore bit-field types when aligning structures -fno-builtin Disable implicit builtin knowledge of functions -fno-common Compile common globals like normal definitions -fno-const-strings Don't use a const qualified type for string literals in C and ObjC -fno-constant-cfstrings Disable creation of CodeFoundation-type constant strings -fno-deprecated-macro Undefines the __DEPRECATED macro -fno-diagnostics-fixit-info Do not include fixit information in diagnostics -fno-diagnostics-show-note-include-stack Display include stacks for diagnostic notes -fno-dollars-in-identifiers Disallow '$' in identifiers -fno-elide-constructors Disable C++ copy constructor elision -fno-elide-type Do not elide types when printing diagnostics -fno-lax-vector-conversions Disallow implicit conversions between vectors with a different number of elements or different element types -fno-limit-debug-info Do not limit debug information produced to reduce size of debug binary -fno-merge-all-constants Disallow merging of constants. -fno-objc-infer-related-result-type do not infer Objective-C related result type based on method family -fno-operator-names Do not treat C++ operator name keywords as synonyms for operators -fno-rtti Disable generation of rtti information -fno-show-column Do not include column number on diagnostics -fno-show-source-location Do not include source location information with diagnostics -fno-signed-char Char is unsigned -fno-spell-checking Disable spell-checking -fno-threadsafe-statics Do not emit code to make initialization of local statics thread safe -fno-use-cxa-atexit Don't use __cxa_atexit for calling destructors -fno-validate-pch Disable validation of precompiled headers -fno-wchar Disable C++ builtin type wchar_t -fobjc-arc-cxxlib= Objective-C++ Automatic Reference Counting standard library kind -fobjc-arc-exceptions Use EH-safe code when synthesizing retains and releases in -fobjc-arc -fobjc-arc Synthesize retain and release calls for Objective-C pointers -fobjc-default-synthesize-properties enable the default synthesis of Objective-C properties -fobjc-dispatch-method= Objective-C dispatch method to use -fobjc-exceptions Enable Objective-C exceptions -fobjc-gc-only Use GC exclusively for Objective-C related memory management -fobjc-gc Enable Objective-C garbage collection -fobjc-runtime-has-weak The target Objective-C runtime supports ARC weak operations -fobjc-runtime= Specify the target Objective-C runtime kind and version -foverride-record-layout= Override record layouts with those in the given file -fpack-struct= Specify the default maximum struct packing alignment -fpascal-strings Recognize and construct Pascal-style string literals -fshort-enums Allocate to an enum type only as many bytes as it needs for the declared range of possible values -fshort-wchar Force wchar_t to be a short unsigned int -fshow-overloads= Which overload candidates to show when overload resolution fails: best|all; defaults to all -fsjlj-exceptions Use SjLj style exceptions -fstrict-enums Enable optimizations based on the strict definition of an enum's value range. -ftabstop Set the tab stop distance. -ftemplate-backtrace-limit Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit). -ftemplate-depth Maximum depth of recursive template instantiation -fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection) -ftrap-function= Issue call to specified function rather than a trap instruction -ftrapv-handler= Specify the function to be called on overflow. -ftrapv Trap on integer overflow -funknown-anytype Enable parser support for the __unknown_anytype type; for testing purposes only -funroll-loops Turn on loop unroller -fuse-init-array Use .init_array instead of .ctors -fuse-register-sized-bitfield-access Use register sized accesses to bit-fields, when possible. -fvisibility-inlines-hidden Give inline C++ member functions default visibility by default -fvisibility Default symbol visibility -fwrapv Treat signed integer overflow as two's complement -fwritable-strings Store string literals as writable data -gcc-toolchain Use the gcc toolchain at the given directory -gline-tables-only Emit debug line number tables only -g Generate source level debug information -header-include-file Filename (or -) to write header include output to -help Display available options -idirafter Add directory to AFTER include search path -iframework Add directory to SYSTEM framework search path -imacros Include macros from file before parsing -include-pch Include precompiled header file -include-pth Include file before parsing -include Include file before parsing -index-header-map Make the next included directory (-I or -F) an indexer header map -init-only Only execute frontend initialization -ino-system-prefix Treat all #include paths starting with as not including a system header. -internal-externc-isystem Add directory to the internal system include search path with implicit extern "C" semantics; these are assumed to not be user-provided and are used to model system and standard headers' paths. -internal-isystem Add directory to the internal system include search path; these are assumed to not be user-provided and are used to model system and standard headers' paths. -iprefix Set the -iwithprefix/-iwithprefixbefore prefix -iquote Add directory to QUOTE include search path -isysroot Set the system root directory (usually /) -isystem-prefix Treat all #include paths starting with as including a system header. -isystem Add directory to SYSTEM include search path -iwithprefixbefore Set directory to include search path with prefix -iwithprefix Set directory to SYSTEM include search path with prefix -iwithsysroot Add directory to SYSTEM include search path, absolute paths are relative to -isysroot -load Load the named plugin (dynamic shared object) -main-file-name Main file name to use for debug info -masm-verbose Generate verbose assembly output -mcode-model The code model to use -mconstructor-aliases Emit complete constructors and destructors as aliases when possible -mdebug-pass Enable additional debug output -mdisable-fp-elim Disable frame pointer elimination optimization -mdisable-tail-calls Disable tail call optimization, keeping the call stack accurate -menable-no-infs Allow optimization to assume there are no infinities. -menable-no-nans Allow optimization to assume there are no NaNs. -menable-unsafe-fp-math Allow unsafe floating-point math optimizations which may decrease precision -mfloat-abi The float ABI to use -migrate Migrate source code -mips32r2 Equivalent to -march=mips32r2 -mips32 Equivalent to -march=mips32 -mips64r2 Equivalent to -march=mips64r2 -mips64 Equivalent to -march=mips64 -mlimit-float-precision Limit float precision to the given value -mlink-bitcode-file Link the given bitcode file before performing optimizations. -mllvm Additional arguments to forward to LLVM's option processing -mms-bitfields Set the default structure layout to be compatible with the Microsoft compiler standard. -mno-global-merge Disable merging of globals -mno-implicit-float Don't generate implicit floating point instructions -mno-zero-initialized-in-bss Do not put zero initialized data in the BSS -mnoexecstack Mark the file as not needing an executable stack -momit-leaf-frame-pointer Omit frame pointer setup for leaf functions. -mqdsp6-compat Enable hexagon-qdsp6 backward compatibility -mregparm Limit the number of registers available for integer arguments -mrelax-all (integrated-as) Relax all machine instructions -mrelocation-model The relocation model to use -mrtd Make StdCall calling convention the default -msave-temp-labels (integrated-as) Save temporary labels -msoft-float Use software floating point -mstack-alignment= Set the stack alignment -mstackrealign Force realign the stack at entry to every function. -mt-migrate-directory Directory for temporary files produced during ARC or ObjC migration -munwind-tables Generate unwinding tables for all functions -no-code-completion-globals Do not include global declarations in code-completion results. -no-finalize-removal Do not remove finalize method in gc mode -no-implicit-float Don't generate implicit floating point instructions -no-ns-alloc-error Do not error on use of NSAllocateCollectable/NSReallocateCollectable -nobuiltininc Disable builtin #include directories -nostdinc++ Disable standard #include directories for the C++ standard library -nostdsysteminc Disable standard system #include directories -objc-isystem Add directory to the ObjC SYSTEM include search path -objcmt-migrate-literals Enable migration to modern ObjC literals -objcmt-migrate-subscripting Enable migration to modern ObjC subscripting -objcxx-isystem Add directory to the ObjC++ SYSTEM include search path -o Write output to -pg Enable mcount instrumentation -pic-level Value for __PIC__ -pie-level Value for __PIE__ -pipe Use pipes between commands, when possible -plugin-arg- Pass to plugin -plugin Use the named plugin action instead of the default action (use "help" to list available options) -preamble-bytes= Assume that the precompiled header is a precompiled preamble covering the first N bytes of the main file -print-decl-contexts Print DeclContexts and their Decls -print-file-name= Print the full library path of -print-ivar-layout Enable Objective-C Ivar layout bitmap print trace -print-libgcc-file-name Print the library path for "libgcc.a" -print-preamble Print the "preamble" of a file, which is a candidate for implicit precompiled headers. -print-prog-name= Print the full program path of -print-search-dirs Print the paths used for finding libraries and programs -print-stats Print performance metrics and statistics -pthread Support POSIX threads in generated code -relaxed-aliasing Turn off Type Based Alias Analysis -relocatable-pch Whether to build a relocatable precompiled header -remap-file ; Replace the contents of the file with the contents of the file -resource-dir The directory which holds the compiler resource files -rewrite-legacy-objc Rewrite Legacy Objective-C source to C++ -rewrite-macros Expand macros without full preprocessing -rewrite-objc Rewrite Objective-C source to C++ -rewrite-test Rewriter playground -save-temps Save intermediate compilation results -serialize-diagnostic-file File for serializing diagnostics in a binary format -stack-protector-buffer-size Lower bound for a buffer to be considered for stack protection -stack-protector Enable stack protectors -static-define Should __STATIC__ be defined -std= Language standard to compile for -stdlib= C++ standard library to use -sys-header-deps Include system headers in dependency output -target-abi Target a particular ABI type -target-cpu Target a specific cpu type -target-feature Target specific attributes -target-linker-version Target linker version -target Generate code for the given target -time Time individual commands -token-cache Use specified token cache file -traditional-cpp Enable some traditional CPP emulation -trigraphs Process trigraph sequences -trim-egraph Only show error-related paths in the analysis graph -triple Specify target triple (e.g. i686-apple-darwin9) -undef undef all system defines -unoptimized-cfg Generate unoptimized CFGs for all analyses -verify Verify output using a verifier. -version Print the compiler version -v Show commands to run and use verbose output -working-directory Resolve file paths relative to the specified directory -w Suppress all warnings. -x Treat subsequent input files as having type Trying Cxx compiler flag -fPIC Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid Cxx linker flag -fPIC Adding Cxx compiler flag -fPIC Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -fPIC Popping language Cxx Pushing language FC Executing: gfortran --help stdout: Usage: gfortran [options] file... Options: -pass-exit-codes Exit with highest error code from a phase --help Display this information --target-help Display target specific command line options --help={common|optimizers|params|target|warnings|[^]{joined|separate|undocumented}}[,...] Display specific types of command line options (Use '-v --help' to display command line options of sub-processes) --version Display compiler version information -dumpspecs Display all of the built in spec strings -dumpversion Display the version of the compiler -dumpmachine Display the compiler's target processor -print-search-dirs Display the directories in the compiler's search path -print-libgcc-file-name Display the name of the compiler's companion library -print-file-name= Display the full path to library -print-prog-name= Display the full path to compiler component -print-multiarch Display the target's normalized GNU triplet, used as a component in the library path -print-multi-directory Display the root directory for versions of libgcc -print-multi-lib Display the mapping between command line options and multiple library search directories -print-multi-os-directory Display the relative path to OS libraries -print-sysroot Display the target libraries directory -print-sysroot-headers-suffix Display the sysroot suffix used to find headers -Wa, Pass comma-separated on to the assembler -Wp, Pass comma-separated on to the preprocessor -Wl, Pass comma-separated on to the linker -Xassembler Pass on to the assembler -Xpreprocessor Pass on to the preprocessor -Xlinker Pass on to the linker -save-temps Do not delete intermediate files -save-temps= Do not delete intermediate files -no-canonical-prefixes Do not canonicalize paths when building relative prefixes to other gcc components -pipe Use pipes rather than intermediate files -time Time the execution of each subprocess -specs= Override built-in specs with the contents of -std= Assume that the input sources are for --sysroot= Use as the root directory for headers and libraries -B Add to the compiler's search paths -v Display the programs invoked by the compiler -### Like -v but options quoted and commands not executed -E Preprocess only; do not compile, assemble or link -S Compile only; do not assemble or link -c Compile and assemble, but do not link -o Place the output into -pie Create a position independent executable -shared Create a shared library -x Specify the language of the following input files Permissible languages include: c c++ assembler none 'none' means revert to the default behavior of guessing the language based on the file's extension Options starting with -g, -f, -m, -O, -W, or --param are automatically passed on to the various sub-processes invoked by gfortran. In order to pass other options on to these processes the -W options must be used. For bug reporting instructions, please see: . Trying FC compiler flag -fPIC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid FC linker flag -fPIC Adding FC compiler flag -fPIC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -fPIC Popping language FC ================================================================================ TEST checkLargeFileIO from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:998) TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:998) ================================================================================ TEST checkArchiver from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1097) TESTING: checkArchiver from config.setCompilers(config/BuildSystem/config/setCompilers.py:1097) Check that the archiver exists and can make a library usable by the compiler Pushing language C Executing: ar -V Executing: ar -V Defined make macro "FAST_AR_FLAGS" to "Scq" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int foo(int a) { return a+1; } Checking for program /opt/local/bin/ar...found Defined make macro "AR" to "/opt/local/bin/ar" Checking for program /opt/local/bin/ranlib...found Defined make macro "RANLIB" to "/opt/local/bin/ranlib -c" Executing: /opt/local/bin/ar cr /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconf1.a /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conf1.o Executing: /opt/local/bin/ranlib -c /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconf1.a Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:6:26: warning: if statement has empty body [-Wempty-body] int b = foo(1); if (b); ^ /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:6:26: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" extern int foo(int); int main() { int b = foo(1); if (b); ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -lconf1 Defined make macro "AR_FLAGS" to "cr" Defined make macro "AR_LIB_SUFFIX" to "a" Popping language C ================================================================================ TEST checkSharedLinker from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1208) TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1208) Check that the linker can produce shared libraries Executing: uname -s stdout: Darwin Checking shared linker clang using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] Checking for program /opt/local/bin/clang...not found Checking for program /opt/local/sbin/clang...not found Checking for program /usr/bin/clang...found Defined make macro "LD_SHARED" to "clang" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -dynamiclib -single_module -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -dynamiclib -single_module Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -undefined dynamic_lookup -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -undefined dynamic_lookup Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -multiply_defined suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -multiply_defined suppress Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("hello"); return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:7:8: warning: if statement has empty body [-Wempty-body] if(ret);; ^ /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:7:8: note: put the semicolon on a separate line to silence this warning 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int foo(void); int main() { int ret = foo(); if(ret);; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -lconftest Using shared linker clang with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib Executing: uname -s stdout: Darwin ================================================================================ TEST checkLinkerMac from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1266) TESTING: checkLinkerMac from config.setCompilers(config/BuildSystem/config/setCompilers.py:1266) Tests some Apple Mac specific linker flags Pushing language C Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -Wl,-multiply_defined,suppress Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -Wl,-multiply_defined -Wl,suppress Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -Wl,-commons,use_dylibs Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid C linker flag -Wl,-search_paths_first Popping language C Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-multiply_defined,suppress Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-multiply_defined -Wl,suppress Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-commons,use_dylibs Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid Cxx linker flag -Wl,-search_paths_first Popping language Cxx Pushing language FC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid FC linker flag -Wl,-multiply_defined,suppress Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid FC linker flag -Wl,-multiply_defined -Wl,suppress Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid FC linker flag -Wl,-commons,use_dylibs Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Valid FC linker flag -Wl,-search_paths_first Popping language FC ================================================================================ TEST checkSharedLinkerPaths from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1286) TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1286) Determine the shared linker path options - IRIX: -rpath - Linux, OSF: -Wl,-rpath, - Solaris: -R - FreeBSD: -Wl,-R, Pushing language C Executing: uname -s stdout: Darwin Executing: clang -V Popping language C Pushing language Cxx Executing: uname -s stdout: Darwin Executing: clang -V Popping language Cxx Pushing language FC Executing: uname -s stdout: Darwin Executing: clang -V Popping language FC ================================================================================ TEST checkLibC from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1321) TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1321) Test whether we need to explicitly include libc in shared linking - Mac OSX requires an explicit reference to libc for shared linking Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {void *chunk = malloc(31); free(chunk); return 0;} Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o Shared linking does not require an explicit libc reference ================================================================================ TEST checkDynamicLinker from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1370) TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1370) Check that the linker can dynamicaly load shared libraries Checking for header: dlfcn.h All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers Executing: clang -E -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c stdout: # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c" # 1 "" 1 # 1 "" 3 # 162 "" 3 # 1 "" 1 # 1 "" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/confdefs.h" 1 # 2 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c" 2 # 1 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conffix.h" 1 # 3 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c" 2 # 1 "/usr/include/dlfcn.h" 1 3 4 # 37 "/usr/include/dlfcn.h" 3 4 # 1 "/usr/include/sys/cdefs.h" 1 3 4 # 406 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4 # 407 "/usr/include/sys/cdefs.h" 2 3 4 # 472 "/usr/include/sys/cdefs.h" 3 4 # 1 "/usr/include/sys/_posix_availability.h" 1 3 4 # 473 "/usr/include/sys/cdefs.h" 2 3 4 # 38 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/bin/../lib/clang/4.2/include/stdbool.h" 1 3 4 # 41 "/usr/include/dlfcn.h" 2 3 4 # 1 "/usr/include/AvailabilityMacros.h" 1 3 4 # 42 "/usr/include/dlfcn.h" 2 3 4 typedef struct dl_info { const char *dli_fname; void *dli_fbase; const char *dli_sname; void *dli_saddr; } Dl_info; extern int dladdr(const void *, Dl_info *); extern int dlclose(void * __handle); extern char * dlerror(void); extern void * dlopen(const char * __path, int __mode); extern void * dlsym(void * __handle, const char * __symbol); extern _Bool dlopen_preflight(const char* __path) ; # 4 "/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.headers/conftest.c" 2 Defined "HAVE_DLFCN_H" to "1" Checking for functions [dlopen dlsym dlclose] in library ['dl'] [] Pushing language C All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" /* Override any gcc2 internal prototype to avoid an error. */ char dlopen(); static void _check_dlopen() { dlopen(); } char dlsym(); static void _check_dlsym() { dlsym(); } char dlclose(); static void _check_dlclose() { dlclose(); } int main() { _check_dlopen(); _check_dlsym(); _check_dlclose();; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries/conftest.o -ldl Defined "HAVE_LIBDL" to "1" Popping language C Adding ['dl'] to LIBS Executing: uname -s stdout: Darwin Checking dynamic linker clang using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] Checking for program /opt/local/bin/clang...not found Checking for program /opt/local/sbin/clang...not found Checking for program /usr/bin/clang...found Defined make macro "DYNAMICLINKER" to "clang" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -dynamiclib -single_module -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl Valid C linker flag -dynamiclib -single_module Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -undefined dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl Valid C linker flag -undefined dynamic_lookup Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -multiply_defined suppress -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl Valid C linker flag -multiply_defined suppress Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include int foo(void) {printf("test");return 0;} Pushing language C Popping language C Pushing language CUDA Popping language CUDA Pushing language Cxx Popping language Cxx Pushing language FC Popping language FC Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:11:3: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' printf("Could not load symbol\n"); ^ /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:11:3: note: please include the header or explicitly provide a declaration for 'printf' 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { void *handle = dlopen("/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/libconftest.dylib", 0); int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo"); if (!foo) { printf("Could not load symbol\n"); return -1; } if ((*foo)()) { printf("Invalid return from foo()\n"); return -1; } if (dlclose(handle)) { printf("Could not close library\n"); return -1; } ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl Using dynamic linker clang with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib ================================================================================ TEST output from config.setCompilers(/Users/balay/petsc.test/config/BuildSystem/config/setCompilers.py:1416) TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1416) Output module data as defines and substitutions Substituting "CC" with "clang" Substituting "CFLAGS" with " -fPIC" Defined make macro "CC_LINKER_SLFLAG" to "-L" Substituting "CPP" with "clang -E" Substituting "CPPFLAGS" with "" Substituting "CXX" with "clang++" Substituting "CXX_CXXFLAGS" with " -fPIC" Substituting "CXXFLAGS" with "" Substituting "CXX_LINKER_SLFLAG" with "-L" Substituting "CXXCPP" with "clang++ -E" Substituting "CXXCPPFLAGS" with "" Substituting "FC" with "gfortran" Substituting "FFLAGS" with " -fPIC" Defined make macro "FC_LINKER_SLFLAG" to "-L" Substituting "LDFLAGS" with "" Substituting "LIBS" with "-ldl " Substituting "SHARED_LIBRARY_FLAG" with "-dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress" ================================================================================ TEST configureCompilerFlags from config.compilerFlags(/Users/balay/petsc.test/config/BuildSystem/config/compilerFlags.py:65) TESTING: configureCompilerFlags from config.compilerFlags(config/BuildSystem/config/compilerFlags.py:65) Get the default compiler flags Pushing language C Executing: clang --version stdout: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.4.0 Thread model: posix getCompilerVersion: clang Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Trying C compiler flag -Wall Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wall Trying C compiler flag -Wwrite-strings Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wwrite-strings Trying C compiler flag -Wno-strict-aliasing Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-strict-aliasing Trying C compiler flag -Wno-unknown-pragmas Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -Wno-unknown-pragmas Trying C compiler flag -g3 Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -g3 Trying C compiler flag -fno-inline Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -fno-inline Trying C compiler flag -O0 Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added C compiler flag -O0 Popping language C Pushing language Cxx Executing: clang++ --version stdout: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.4.0 Thread model: posix getCompilerVersion: clang++ Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Trying Cxx compiler flag -Wall Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wall Trying Cxx compiler flag -Wwrite-strings Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wwrite-strings Trying Cxx compiler flag -Wno-strict-aliasing Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-strict-aliasing Trying Cxx compiler flag -Wno-unknown-pragmas Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -Wno-unknown-pragmas Trying Cxx compiler flag -g Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Added Cxx compiler flag -g Popping language Cxx Pushing language FC Executing: gfortran --version stdout: GNU Fortran (GCC) 4.8.1 20130404 (prerelease) Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING getCompilerVersion: gfortran GNU Fortran (GCC) 4.8.1 20130404 (prerelease) Executing: gfortran --version stdout: GNU Fortran (GCC) 4.8.1 20130404 (prerelease) Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Executing: gfortran --version stdout: GNU Fortran (GCC) 4.8.1 20130404 (prerelease) Copyright (C) 2013 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING Trying FC compiler flag -Wall Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wall Trying FC compiler flag -Wno-unused-variable Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-variable Trying FC compiler flag -Wno-unused-dummy-argument Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -Wno-unused-dummy-argument Trying FC compiler flag -g Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Added FC compiler flag -g Popping language FC ================================================================================ TEST configureDebugging from PETSc.utilities.debugging(/Users/balay/petsc.test/config/PETSc/utilities/debugging.py:25) TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25) Defined "USE_ERRORCHECKING" to "1" ================================================================================ TEST configureArchitecture from PETSc.utilities.arch(/Users/balay/petsc.test/config/PETSc/utilities/arch.py:32) TESTING: configureArchitecture from PETSc.utilities.arch(config/PETSc/utilities/arch.py:32) Checks PETSC_ARCH and sets if not set Defined "ARCH" to ""arch-darwin-c-debug"" ================================================================================ TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/Users/balay/petsc.test/config/PETSc/utilities/sharedLibraries.py:36) TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:36) ================================================================================ TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/Users/balay/petsc.test/config/PETSc/utilities/sharedLibraries.py:51) TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:51) Checks whether shared libraries should be used, for which you must - Specify --with-shared-libraries - Have found a working shared linker Defines PETSC_USE_SHARED_LIBRARIES if they are used Defined make rule "shared_arch" with dependencies "shared_darwin" and code [] Defined make macro "BUILDSHAREDLIB" to "yes" Defined "HAVE_SHARED_LIBRARIES" to "1" Defined "USE_SHARED_LIBRARIES" to "1" ================================================================================ TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/Users/balay/petsc.test/config/PETSc/utilities/sharedLibraries.py:90) TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:90) Checks whether dynamic loading is available (with dlfcn.h and libdl) Defined "HAVE_DYNAMIC_LIBRARIES" to "1" ================================================================================ TEST configureBmakeDir from PETSc.utilities.bmakeDir(/Users/balay/petsc.test/config/PETSc/utilities/bmakeDir.py:26) TESTING: configureBmakeDir from PETSc.utilities.bmakeDir(config/PETSc/utilities/bmakeDir.py:26) Makes $PETSC_ARCH and subdirectories if it does not exist Changed persistence directory to arch-darwin-c-debug/conf ================================================================================ TEST checkRestrict from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language C All intermediate test results are stored in /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Possible ERROR while running compiler: stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c:5:18: warning: unused variable 'x' [-Wunused-variable] float * restrict x;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } compilers: Set C restrict keyword to restrict Defined "C_RESTRICT" to "restrict" Popping language C ================================================================================ TEST checkCFormatting from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:308) TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:308) Activate format string checking if using the GNU compilers ================================================================================ TEST checkCStaticInline from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:107) TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:107) Check for C keyword: static inline Pushing language C Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set C StaticInline keyword to static inline Popping language C Defined "C_STATIC_INLINE" to "static inline" ================================================================================ TEST checkDynamicLoadFlag from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:319) TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:319) Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LAZY); ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LAZY" to "1" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_NOW); ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_NOW" to "1" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_LOCAL); ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_LOCAL" to "1" Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" #include char *libname; int main() { dlopen(libname, RTLD_GLOBAL); ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl Defined "HAVE_RTLD_GLOBAL" to "1" ================================================================================ TEST checkCLibraries from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:163) TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:163) Determines the libraries needed to link with C Pushing language C Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl Possible ERROR while running linker: stderr: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.4.0 Thread model: posix "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a Popping language C compilers: Checking arg Apple compilers: Unknown arg Apple compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.2 compilers: Unknown arg 4.2 compilers: Checking arg (clang-425.0.28) compilers: Unknown arg (clang-425.0.28) compilers: Checking arg (based compilers: Unknown arg (based compilers: Checking arg on compilers: Unknown arg on compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg 3.2svn) compilers: Unknown arg 3.2svn) compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-apple-darwin12.4.0 compilers: Unknown arg x86_64-apple-darwin12.4.0 compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg "/usr/bin/ld" compilers: Unknown arg /usr/bin/ld compilers: Checking arg -demangle compilers: Unknown arg -demangle compilers: Checking arg -dynamic compilers: Unknown arg -dynamic compilers: Checking arg -arch compilers: Unknown arg -arch compilers: Checking arg x86_64 compilers: Unknown arg x86_64 compilers: Checking arg -macosx_version_min compilers: Unknown arg -macosx_version_min compilers: Checking arg 10.8.0 compilers: Unknown arg 10.8.0 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest compilers: Unknown arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -commons compilers: Unknown arg -commons compilers: Checking arg use_dylibs compilers: Unknown arg use_dylibs compilers: Checking arg -search_paths_first compilers: Unknown arg -search_paths_first compilers: Checking arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o compilers: Unknown arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library : -ldl compilers: Checking arg -lSystem compilers: Found library : -lSystem compilers: Checking arg /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a compilers: Found full library spec: /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a compilers: Libraries needed to link C code with another linker: ['-ldl', '-lSystem', '/usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a'] compilers: Check that C libraries can be used from Fortran Pushing language FC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkDependencyGenerationFlag from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:1320) TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1320) Check if -MMD works for dependency generation, and add it if it does Pushing language C Trying C compiler flag -MMD -MP Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 -MMD -MP /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "C_DEPFLAGS" to "-MMD -MP" Popping language C Pushing language Cxx Trying Cxx compiler flag -MMD -MP Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC -MMD -MP /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Defined make macro "CXX_DEPFLAGS" to "-MMD -MP" Popping language Cxx Pushing language FC Trying FC compiler flag -MMD -MP Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g -MMD -MP /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Defined make macro "FC_DEPFLAGS" to "-MMD -MP" Popping language FC ================================================================================ TEST checkRestrict from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:136) TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:136) Check for the C/CXX restrict keyword Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc:5:17: error: expected ';' at end of declaration float * restrict x;; ^ ; 1 error generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * restrict x;; return 0; } Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Possible ERROR while running compiler: stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc:5:23: warning: unused variable 'x' [-Wunused-variable] float * __restrict__ x;; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { float * __restrict__ x;; return 0; } compilers: Set Cxx restrict keyword to __restrict__ Defined "CXX_RESTRICT" to " __restrict__" Popping language Cxx ================================================================================ TEST checkCxxNamespace from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:357) TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:357) Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" namespace petsc {int dummy;} int main() { ; return 0; } Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" template struct a {}; namespace trouble{ template struct a : public ::a {}; } trouble::a uugh; int main() { ; return 0; } Popping language Cxx compilers: C++ has namespaces Defined "HAVE_CXX_NAMESPACE" to "1" ================================================================================ TEST checkCxxOptionalExtensions from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:332) TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:332) Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++ Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Possible ERROR while running compiler: stderr: clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c:5:22: warning: private field 'i' is not used [-Wunused-private-field] class somename { int i; };; ^ 1 warning generated. Source: #include "confdefs.h" #include "conffix.h" int main() { class somename { int i; };; return 0; } Added Cxx compiler flag Popping language Cxx ================================================================================ TEST checkCxxStaticInline from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:121) TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:121) Check for C++ keyword: static inline Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" static inline int foo(int a) {return a;} int main() { foo(1);; return 0; } compilers: Set Cxx StaticInline keyword to static inline Popping language Cxx Defined "CXX_STATIC_INLINE" to "static inline" ================================================================================ TEST checkCxxLibraries from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:408) TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:408) Determines the libraries needed to link with C++ Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.cc Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language CXX Popping language CXX Executing: clang++ -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Possible ERROR while running linker: stderr: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin12.4.0 Thread model: posix "/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o -ldl -lSystem -lclang_rt.osx -ldl -lstdc++ -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a Popping language Cxx compilers: Checking arg Apple compilers: Unknown arg Apple compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg version compilers: Unknown arg version compilers: Checking arg 4.2 compilers: Unknown arg 4.2 compilers: Checking arg (clang-425.0.28) compilers: Unknown arg (clang-425.0.28) compilers: Checking arg (based compilers: Unknown arg (based compilers: Checking arg on compilers: Unknown arg on compilers: Checking arg LLVM compilers: Unknown arg LLVM compilers: Checking arg 3.2svn) compilers: Unknown arg 3.2svn) compilers: Checking arg Target: compilers: Unknown arg Target: compilers: Checking arg x86_64-apple-darwin12.4.0 compilers: Unknown arg x86_64-apple-darwin12.4.0 compilers: Checking arg Thread compilers: Unknown arg Thread compilers: Checking arg model: compilers: Unknown arg model: compilers: Checking arg posix compilers: Unknown arg posix compilers: Checking arg "/usr/bin/ld" compilers: Unknown arg /usr/bin/ld compilers: Checking arg -demangle compilers: Unknown arg -demangle compilers: Checking arg -dynamic compilers: Unknown arg -dynamic compilers: Checking arg -arch compilers: Unknown arg -arch compilers: Checking arg x86_64 compilers: Unknown arg x86_64 compilers: Checking arg -macosx_version_min compilers: Unknown arg -macosx_version_min compilers: Checking arg 10.8.0 compilers: Unknown arg 10.8.0 compilers: Checking arg -o compilers: Unknown arg -o compilers: Checking arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest compilers: Unknown arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin compilers: Found library directory: -L/usr/lib/clang/4.2/lib/darwin compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -multiply_defined compilers: Unknown arg -multiply_defined compilers: Checking arg suppress compilers: Unknown arg suppress compilers: Checking arg -commons compilers: Unknown arg -commons compilers: Checking arg use_dylibs compilers: Unknown arg use_dylibs compilers: Checking arg -search_paths_first compilers: Unknown arg -search_paths_first compilers: Checking arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o compilers: Unknown arg /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers/conftest.o compilers: Checking arg -ldl compilers: Found library: -ldl Library already in C list so skipping in C++ compilers: Checking arg -lSystem compilers: Found library: -lSystem Library already in C list so skipping in C++ compilers: Checking arg -lclang_rt.osx compilers: Found library: -lclang_rt.osx compilers: Checking arg -ldl compilers: Checking arg -lstdc++ compilers: Found library: -lstdc++ compilers: Checking arg -lSystem compilers: Checking arg /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a compilers: Found full library spec: /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a compilers: Libraries needed to link Cxx code with another linker: ['-L/usr/lib/clang/4.2/lib/darwin', '-lclang_rt.osx', '-lstdc++', '/usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a'] compilers: Check that Cxx libraries can be used from C Pushing language C Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: clang -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.libraries -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.c Successful compile: Source: #include "confdefs.h" #include "conffix.h" int main() { ; return 0; } Pushing language C Popping language C Executing: clang -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 -fno-inline -O0 /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language C compilers: Check that Cxx libraries can be used from Fortran Pushing language FC Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: gfortran -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.F Successful compile: Source: program main end Pushing language FC Popping language FC Executing: gfortran -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -g /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Executing: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest Popping language FC ================================================================================ TEST checkCxx11 from config.compilers(/Users/balay/petsc.test/config/BuildSystem/config/compilers.py:372) TESTING: checkCxx11 from config.compilers(config/BuildSystem/config/compilers.py:372) Determine the option needed to support the C++11 dialect We auto-detect C++11 if the compiler supports it without options, otherwise we require with-cxx-dialect=C++11 to try adding flags to support it. Pushing language Cxx Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag due to nonzero status from link Rejecting compiler flag due to /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -std=c++11 -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++11 due to nonzero status from link Rejecting compiler flag -std=c++11 due to /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced Executing: clang++ -c -o /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.o -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.compilers -I/var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g -std=c++0x -fPIC /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc Possible ERROR while running compiler: exit code 256 stderr: /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. Source: #include "confdefs.h" #include "conffix.h" #include int main() { std::random_device rd; std::mt19937 mt(rd()); std::normal_distribution dist(0,1); const double x = dist(mt); ; return 0; } Rejecting compiler flag -std=c++0x due to nonzero status from link Rejecting compiler flag -std=c++0x due to /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/config.setCompilers/conftest.cc:3:10: fatal error: 'random' file not found #include ^ 1 error generated. PETSc Error: No output file produced **** Configure header /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/confdefs.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #ifndef PETSC_HAVE_DLFCN_H #define PETSC_HAVE_DLFCN_H 1 #endif #ifndef PETSC_HAVE_RTLD_NOW #define PETSC_HAVE_RTLD_NOW 1 #endif #ifndef PETSC_HAVE_RTLD_LOCAL #define PETSC_HAVE_RTLD_LOCAL 1 #endif #ifndef PETSC_HAVE_RTLD_LAZY #define PETSC_HAVE_RTLD_LAZY 1 #endif #ifndef PETSC_C_STATIC_INLINE #define PETSC_C_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_CXX_NAMESPACE #define PETSC_HAVE_CXX_NAMESPACE 1 #endif #ifndef PETSC_HAVE_RTLD_GLOBAL #define PETSC_HAVE_RTLD_GLOBAL 1 #endif #ifndef PETSC_C_RESTRICT #define PETSC_C_RESTRICT restrict #endif #ifndef PETSC_CXX_RESTRICT #define PETSC_CXX_RESTRICT __restrict__ #endif #ifndef PETSC_CXX_STATIC_INLINE #define PETSC_CXX_STATIC_INLINE static inline #endif #ifndef PETSC_HAVE_LIBDL #define PETSC_HAVE_LIBDL 1 #endif #ifndef PETSC_ARCH #define PETSC_ARCH "arch-darwin-c-debug" #endif #ifndef PETSC_VERSION_DATE_GIT #define PETSC_VERSION_DATE_GIT "2013-10-08 14:42:46 -0500" #endif #ifndef PETSC_VERSION_GIT #define PETSC_VERSION_GIT "9ff0bd77c83f11876776e24b1a649867fca9f6d6" #endif #ifndef PETSC_DIR #define PETSC_DIR "/Users/balay/petsc.test" #endif #ifndef HAVE_GZIP #define HAVE_GZIP 1 #endif #ifndef PETSC_CLANGUAGE_C #define PETSC_CLANGUAGE_C 1 #endif #ifndef PETSC_USE_ERRORCHECKING #define PETSC_USE_ERRORCHECKING 1 #endif #ifndef PETSC_USE_GDB_DEBUGGER #define PETSC_USE_GDB_DEBUGGER 1 #endif #ifndef PETSC_HAVE_DYNAMIC_LIBRARIES #define PETSC_HAVE_DYNAMIC_LIBRARIES 1 #endif #ifndef PETSC_HAVE_SHARED_LIBRARIES #define PETSC_HAVE_SHARED_LIBRARIES 1 #endif #ifndef PETSC_USE_SHARED_LIBRARIES #define PETSC_USE_SHARED_LIBRARIES 1 #endif #endif **** C specific Configure header /var/folders/4m/zbggpg253zq_yr5lzn_53s_w0000gn/T/petsc-eKDdca/conffix.h **** #if !defined(INCLUDED_UNKNOWN) #define INCLUDED_UNKNOWN #if defined(__cplusplus) extern "C" { } #else #endif #endif ******************************************************************************* UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details): ------------------------------------------------------------------------------- Could not determine compiler flag for with-cxx-dialect=C++11, use CXXFLAGS ******************************************************************************* File "./config/configure.py", line 293, in petsc_configure framework.configure(out = sys.stdout) File "/Users/balay/petsc.test/config/BuildSystem/config/framework.py", line 933, in configure child.configure() File "/Users/balay/petsc.test/config/BuildSystem/config/compilers.py", line 1385, in configure self.executeTest(self.checkCxx11) File "/Users/balay/petsc.test/config/BuildSystem/config/base.py", line 126, in executeTest ret = test(*args,**kargs) File "/Users/balay/petsc.test/config/BuildSystem/config/compilers.py", line 399, in checkCxx11 raise RuntimeError('Could not determine compiler flag for with-cxx-dialect=%s, use CXXFLAGS' % (self.framework.argDB['with-cxx-dialect']))