Skip to content

Instantly share code, notes, and snippets.

@dpo
Created November 20, 2013 15:01
Show Gist options
  • Save dpo/7564595 to your computer and use it in GitHub Desktop.
Save dpo/7564595 to your computer and use it in GitHub Desktop.
This file has been truncated, but you can view the full file.
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 Wed Nov 20 09:51:00 2013
Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --with-debugging=0 --with-shared-libraries=1 --prefix=/usr/local/Cellar/petsc/3.4.3/arch-darwin-c-opt
Working directory: /private/tmp/petsc-3.4.3
Machine platform:
('Darwin', 'Aragorn', '12.5.0', 'Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64', 'x86_64', 'i386')
Python version:
2.7.5 (default, Aug 18 2013, 14:05:39)
[GCC 4.2.1 Compatible Apple LLVM 4.2 (clang-425.0.28)]
================================================================================
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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/framework.py:821)
TESTING: configureExternalPackagesDir from config.framework(config/BuildSystem/config/framework.py:821)
================================================================================
TEST configureDebuggers from PETSc.utilities.debuggers(/private/tmp/petsc-3.4.3/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 /Users/dpo/.rbenv/shims/gdb...not found
Checking for program /Users/dpo/.rbenv/bin/gdb...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/gdb...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/gdb...not found
Checking for program /usr/local/bin/gdb...found
Defined make macro "GDB" to "/usr/local/bin/gdb"
Checking for program /Users/dpo/.rbenv/shims/dbx...not found
Checking for program /Users/dpo/.rbenv/bin/dbx...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/dbx...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/dbx...not found
Checking for program /usr/local/bin/dbx...not found
Checking for program /Users/dpo/bin/dbx...not found
Checking for program /Users/dpo/local/bin/dbx...not found
Checking for program /usr/local/sbin/dbx...not found
Checking for program /usr/local/visit/bin/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 /opt/X11/bin/dbx...not found
Checking for program /usr/local/MacGPG2/bin/dbx...not found
Checking for program /usr/texbin/dbx...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/dbx...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/dbx...not found
Checking for program /Users/dpo/dbx...not found
Checking for program /Users/dpo/.rbenv/shims/xdb...not found
Checking for program /Users/dpo/.rbenv/bin/xdb...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/xdb...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/xdb...not found
Checking for program /usr/local/bin/xdb...not found
Checking for program /Users/dpo/bin/xdb...not found
Checking for program /Users/dpo/local/bin/xdb...not found
Checking for program /usr/local/sbin/xdb...not found
Checking for program /usr/local/visit/bin/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 /opt/X11/bin/xdb...not found
Checking for program /usr/local/MacGPG2/bin/xdb...not found
Checking for program /usr/texbin/xdb...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/xdb...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/xdb...not found
Checking for program /Users/dpo/xdb...not found
Checking for program /Users/dpo/.rbenv/shims/dsymutil...not found
Checking for program /Users/dpo/.rbenv/bin/dsymutil...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/dsymutil...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/dsymutil...not found
Checking for program /usr/local/bin/dsymutil...not found
Checking for program /Users/dpo/bin/dsymutil...not found
Checking for program /Users/dpo/local/bin/dsymutil...not found
Checking for program /usr/local/sbin/dsymutil...not found
Checking for program /usr/local/visit/bin/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(/private/tmp/petsc-3.4.3/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(/private/tmp/petsc-3.4.3/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 configureMake from config.programs(/private/tmp/petsc-3.4.3/config/BuildSystem/config/programs.py:24)
TESTING: configureMake from config.programs(config/BuildSystem/config/programs.py:24)
Check various things about make
Checking for program /Users/dpo/.rbenv/shims/make...not found
Checking for program /Users/dpo/.rbenv/bin/make...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/make...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/make...not found
Checking for program /usr/local/bin/make...not found
Checking for program /Users/dpo/bin/make...not found
Checking for program /Users/dpo/local/bin/make...not found
Checking for program /usr/local/sbin/make...not found
Checking for program /usr/local/visit/bin/make...not found
Checking for program /usr/bin/make...found
Defined make macro "MAKE" to "/usr/bin/make"
Checking for program /Users/dpo/.rbenv/shims/strings...not found
Checking for program /Users/dpo/.rbenv/bin/strings...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/strings...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/strings...not found
Checking for program /usr/local/bin/strings...not found
Checking for program /Users/dpo/bin/strings...not found
Checking for program /Users/dpo/local/bin/strings...not found
Checking for program /usr/local/sbin/strings...not found
Checking for program /usr/local/visit/bin/strings...not found
Checking for program /usr/bin/strings...found
Defined make macro "STRINGS" to "/usr/bin/strings"
sh: /usr/bin/strings /usr/bin/make
Executing: /usr/bin/strings /usr/bin/make
sh: POSIXLY_CORRECT
alnum
alpha
blank
cntrl
digit
graph
lower
print
punct
space
upper
xdigit
glob
/SourceCache/gnumake/gnumake-130/glob/glob.c
next != NULL
HOME
attempt to use unsupported feature: `%s'
touch: Archive `%s' does not exist
touch: `%s' is not a valid archive
touch:
touch: Member `%s' does not exist in `%s'
touch: Bad return code from ar_member_touch on `%s'
!<arch>
ARFILENAMES/
.SUFFIXES
$(MAKE)
${MAKE}
kill
# commands to execute
(built-in):
(from `%s', line %lu):
%.*s
*** [%s] Archive member `%s' may be bogus; not deleted
*** Archive member `%s' may be bogus; not deleted
*** [%s] Deleting file `%s'
*** Deleting file `%s'
SUFFIXES
GNUMAKE
ARFLAGS
CHECKOUT,v
+$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@)
COFLAGS
$(CC) -E
$(FC)
F77FLAGS
$(FFLAGS)
LINT
lint
YACC
yacc
MAKEINFO
makeinfo
TEXI2DVI
texi2dvi
WEAVE
weave
CWEAVE
cweave
TANGLE
tangle
CTANGLE
ctangle
rm -f
LINK.o
$(CC) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
LINK.c
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.m
$(COMPILE.c)
LINK.m
$(LINK.c)
COMPILE.cc
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
COMPILE.C
$(COMPILE.cc)
COMPILE.cpp
LINK.cc
$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
LINK.C
$(LINK.cc)
LINK.cpp
YACC.y
$(YACC) $(YFLAGS)
LEX.l
$(LEX) $(LFLAGS) -t
YACC.m
LEX.m
COMPILE.f
$(FC) $(FFLAGS) $(TARGET_ARCH) -c
LINK.f
$(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.F
$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
LINK.F
$(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.r
$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c
LINK.r
$(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH)
COMPILE.def
$(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH)
COMPILE.mod
$(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH)
COMPILE.p
$(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
LINK.p
$(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
LINK.s
$(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH)
COMPILE.s
$(AS) $(ASFLAGS) $(TARGET_MACH)
LINK.S
$(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH)
COMPILE.S
$(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c
PREPROCESS.S
$(CC) -E $(CPPFLAGS)
PREPROCESS.F
$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F
PREPROCESS.r
$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F
LINT.c
$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH)
OUTPUT_OPTION
-o $@
.LIBPATTERNS
lib%.so lib%.a
$(CHECKOUT,v)
RCS/%,v
RCS/%
$(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $<
SCCS/s.%
$(AR) $(ARFLAGS) $@ $<
%.out
@rm -f $@
cp $< $@
%.w %.ch
$(CTANGLE) $^ $@
%.tex
$(CWEAVE) $^ $@
$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@
.cpp
$(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.m) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@
$(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@
.mod
$(COMPILE.mod) -o $@ -e $@ $^
.def.sym
$(COMPILE.def) -o $@ $<
cat $< >$@
chmod a+x $@
.s.o
$(COMPILE.s) -o $@ $<
.S.o
$(COMPILE.S) -o $@ $<
.c.o
$(COMPILE.c) $(OUTPUT_OPTION) $<
.cc.o
$(COMPILE.cc) $(OUTPUT_OPTION) $<
.C.o
$(COMPILE.C) $(OUTPUT_OPTION) $<
.cpp.o
$(COMPILE.cpp) $(OUTPUT_OPTION) $<
.f.o
$(COMPILE.f) $(OUTPUT_OPTION) $<
.m.o
$(COMPILE.m) $(OUTPUT_OPTION) $<
.p.o
$(COMPILE.p) $(OUTPUT_OPTION) $<
.F.o
$(COMPILE.F) $(OUTPUT_OPTION) $<
.r.o
$(COMPILE.r) $(OUTPUT_OPTION) $<
.mod.o
$(COMPILE.mod) -o $@ $<
.c.ln
$(LINT.c) -C$* $<
.y.ln
$(YACC.y) $<
$(LINT.c) -C$* y.tab.c
$(RM) y.tab.c
.l.ln
@$(RM) $*.c
$(LEX.l) $< > $*.c
$(LINT.c) -i $*.c -o $@
$(RM) $*.c
.y.c
$(YACC.y) $<
mv -f y.tab.c $@
.l.c
@$(RM) $@
$(LEX.l) $< > $@
.ym.m
$(YACC.m) $<
mv -f y.tab.c $@
.lm.m
@$(RM) $@
$(LEX.m) $< > $@
.F.f
$(PREPROCESS.F) $(OUTPUT_OPTION) $<
.r.f
$(PREPROCESS.r) $(OUTPUT_OPTION) $<
.l.r
$(LEX.l) $< > $@
mv -f lex.yy.r $@
.S.s
$(PREPROCESS.S) $< > $@
.texinfo.info
$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@
.texi.info
.txinfo.info
.tex.dvi
$(TEX) $<
.texinfo.dvi
$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<
.texi.dvi
.txinfo.dvi
.w.c
$(CTANGLE) $< - $@
.web.p
$(TANGLE) $<
.w.tex
$(CWEAVE) $< - $@
.web.tex
$(WEAVE) $<
# Directories
# %s: could not be stat'd.
# %s (device %ld, inode %ld): could not be opened.
# %s (device %ld, inode %ld):
files,
impossibilities
so far.
impossibilities in %lu directories.
Recursive variable `%s' references itself (eventually)
unterminated variable reference
warning: undefined variable `%.*s'
lookup_file
/SourceCache/gnumake/gnumake-130/file.c
*name != '\0'
enter_file
Commands were specified for file `%s' at %s:%lu,
Commands for file `%s' were found by implicit rule search,
but `%s' is now considered the same file as `%s'.
Commands for `%s' will be ignored in favor of those for `%s'.
can't rename single-colon `%s' to double-colon `%s'
can't rename double-colon `%s' to single-colon `%s'
*** Deleting intermediate file `%s'
unlink:
.PRECIOUS
.LOW_RESOLUTION_TIME
.PHONY
.INTERMEDIATE
.SECONDARY
.EXPORT_ALL_VARIABLES
.IGNORE
.SILENT
.POSIX
.NOTPARALLEL
%s: Timestamp out of range; substituting %s
Current time
%04d-%02d-%02d %02d:%02d:%02d
.%09d
# Files
# files hash-table stats:
# Not a target:
%s:%s
| %s
# Precious file (prerequisite of .PRECIOUS).
# Phony target (prerequisite of .PHONY).
# Command-line target.
# A default, MAKEFILES, or -include/sinclude makefile.
# Implicit rule search has been done.
# Implicit rule search has not been done.
# Implicit/static pattern stem: `%s'
# File is an intermediate prerequisite.
# Also makes:
# Modification time never checked.
# File does not exist.
# File is very old.
# Last modified %s
# File has been updated.
# File has not been updated.
# Commands currently running (THIS IS A BUG).
# Dependencies commands running (THIS IS A BUG).
# Successfully updated.
print_file
question_flag
# Needs to be updated (-q is set).
# Failed to be updated.
# Invalid value in `update_status' member!
# Invalid value in `command_state' member!
Removing intermediate files...
unterminated call to function `%s': missing `%c'
abspath
addprefix
addsuffix
basename
notdir
subst
suffix
filter
filter-out
findstring
firstword
flavor
join
lastword
patsubst
realpath
shell
sort
strip
wildcard
word
wordlist
words
origin
foreach
call
info
error
warning
value
eval
Internal error: func_error: '%s'
undefined
default
environment
environment override
command line
automatic
non-numeric first argument to `wordlist' function
non-numeric second argument to `wordlist' function
invalid first argument to `wordlist' function: `%d'
%s: '%s'
non-numeric first argument to `word' function
first argument to `word' function must be greater than 0
%s:%lu:
pipe
fork
Cleaning up temporary batch file %s
recursive
simple
insufficient number of arguments (%d) to function `%s'
unimplemented on this platform: function `%s'
%s: option `%s' is ambiguous
%s: option `--%s' doesn't allow an argument
%s: option `%c%s' doesn't allow an argument
%s: option `%s' requires an argument
%s: unrecognized option `--%s'
%s: unrecognized option `%c%s'
%s: illegal option -- %c
%s: invalid option -- %c
%s: option requires an argument -- %c
%s: option `-W %s' is ambiguous
%s: option `-W %s' doesn't allow an argument
can't allocate %ld bytes for hash table: memory exhausted
Load=%ld/%ld=%.0f%%,
Rehash=%d,
Collisions=%ld/%ld=%.0f%%
Looking for an implicit rule for `%s'.
Looking for archive-member implicit rule for `%s'.
Trying pattern rule with stem `%.*s'.
Rejecting impossible implicit prerequisite `%s'.
Rejecting impossible rule prerequisite `%s'.
Trying implicit prerequisite `%s'.
Trying rule prerequisite `%s'.
Found prerequisite `%s' as VPATH `%s'
Looking for a rule with intermediate file `%s'.
Avoiding implicit rule recursion.
*** Waiting for unfinished jobs....
Live child 0x%08lx (%s) PID %ld %s
(remote)
remote_status
wait
Reaping losing child 0x%08lx PID %ld %s
Reaping winning child 0x%08lx PID %ld %s
Cleaning up temp batch file %s
.DELETE_ON_ERROR
Removing child 0x%08lx PID %ld%s from chain.
Need a job token; we %shave children
don't
INTERNAL: no children as we go to sleep on read
Obtained token for child 0x%08lx (%s).
read jobs pipe
%s: Command not found
SHELL
%s: Shell program not found
execvp:
$(SHELL)
$(IFS)
break
case
continue
exec
exit
export
login
logout
read
readonly
shift
switch
test
times
trap
umask
while
construct_command_argv_internal
/SourceCache/gnumake/gnumake-130/job.c
ap <= end
-ec
-c
%s (line %d) Bad shell context (!unixy && !batch_mode_shell)
Putting child 0x%08lx (%s) PID %ld%s on the chain.
start_waiting_job
f->command_state == cs_finished
cannot enforce load limits on this operating system
cannot enforce load limit:
getloadavg
Estimated system load = %f (actual = %f) (max requested = %f)
cp %p %c
/bin/sh
%s: %s
/usr/bin/false
INTERNAL: Freeing child 0x%08lx (%s) but no tokens left!
write jobserver
Released token for child 0x%08lx (%s).
[%s] Error %d (ignored)
*** [%s] Error %d
*** [%s] %s%s
(core dumped)
Duplicate the job FD
Read returned EBADF.
make
getcwd
.VARIABLES
.FEATURES
target-specific order-only second-expansion else-if
archives
jobserver
check-symlink
MAKE_RESTARTS
MAKEFLAGS
vpath
quiet
makefiles
errexit
Unrecognized flag `%s'.
MAKE_COMMAND
MAKE
$(MAKE_COMMAND)
-*-command-variables-*-
MAKEOVERRIDES
${-*-command-variables-*-}
MAKELEVEL
CURDIR
Makefile from standard input specified twice.
TMPDIR
/var/tmp/
GmXXXXXX
fopen (temporary file)
fwrite (temporary file)
.DEFAULT
internal error: multiple --jobserver-fds options
%d,%d
internal error: invalid --jobserver-fds string `%s'
warning: -jN forced in submake: disabling jobserver mode.
dup jobserver
warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
creating jobs pipe
init jobserver pipe
Makefile `%s' might loop; not remaking it.
Failed to remake makefile `%s'.
Included makefile `%s' was not found.
Makefile `%s' was not found
chdir
Couldn't change back to original directory.
Re-executing[%u]:
%s=%u
MAKE_RESTARTS=
MAKE_RESTARTS=%u
main
/SourceCache/gnumake/gnumake-130/main.c
BOGUS_UPDATE_STATUS
unlink (temporary file):
.DEFAULT_GOAL contains more than one target
No targets specified and no makefile found
No targets
warning: Clock skew detected. Your build may be incomplete.
%s: Entering an unknown directory
%s: Leaving an unknown directory
%s: Entering directory `%s'
%s: Leaving directory `%s'
%s[%u]: Entering an unknown directory
%s[%u]: Leaving an unknown directory
%s[%u]: Entering directory `%s'
%s[%u]: Leaving directory `%s'
INTERNAL: Exiting with %u jobserver tokens (should be 0)!
write
INTERNAL: Exiting with %u jobserver tokens available; should be %u!
# Make data base, printed on %s
# Finished Make data base on %s
%sGNU Make %s
%sCopyright (C) 2006 Free Software Foundation, Inc.
%sThis is free software; see the source for copying conditions.
%sThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
%sPARTICULAR PURPOSE.
%sThis program built for %s
%sThis program built for %s (%s)
MFLAGS
always-make
directory
basic
debug
environment-overrides
file
help
ignore-errors
include-dir
jobs
jobserver-fds
keep-going
load-average
check-symlink-times
just-print
old-file
print-data-base
question
no-builtin-rules
no-builtin-variables
silent
no-keep-going
touch
version
print-directory
no-print-directory
what-if
warn-undefined-variables
NeXT-option
the `-%c' option requires a non-empty string argument
the `-%c' option requires a positive integral argument
Usage: %s [options] [target] ...
This program built for %s
This program built for %s (%s)
Report bugs to <[email protected]>
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
-N OPTION, --NeXT-option=OPTION
Turn on value of NeXT OPTION.
MAKECMDGOALS
stop
new-file
assume-new
assume-old
max-load
dry-run
recon
empty string invalid as file name
/usr/bin/gnumake
/usr/bin/make
/Makefiles
MAKEFILEPATH
$(shell /usr/bin/xcode-select -print-path 2>/dev/null || echo /Developer)/Makefiles
unknown debug level specification `%s'
Updating makefiles....
Updating goal targets....
%s:
%s[%u]:
%s:%lu: ***
%s: ***
%s[%u]: ***
. Stop.
%s%s: %s
write error: %s
write error
MAKEFILE_LIST
$(MAKEFILES)
GNUmakefile
makefile
Makefile
.INCLUDE_DIRS
$(HOME)
virtual memory exhausted
/usr/include
/usr/gnu/include
/usr/local/include
invalid syntax in conditional
endef
extraneous `endef'
define
empty variable name
override
empty `override' directive
invalid `override' directive
unexport
include
-include
sinclude
commands commence before first target
missing rule before commands
missing separator%s
(did you mean TAB instead of 8 spaces?)
/SourceCache/gnumake/gnumake-130/read.c
*p2 != '\0'
missing target pattern
multiple target patterns
target pattern contains no `%%'
.DEFAULT_GOAL
missing `endif'
record_target_var
v != 0
Malformed target-specific variable definition
prerequisites cannot be defined in command scripts
.SECONDEXPANSION
mixed implicit and static pattern rules
mixed implicit and normal rules
target `%s' doesn't match the target pattern
target file `%s' has both : and :: entries
target `%s' given more than once in the same rule.
warning: overriding commands for target `%s'
warning: ignoring old commands for target `%s'
Extraneous text after `endef' directive
missing `endef', unterminated `define'
ifdef
ifndef
ifeq
ifneq
else
endif
Extraneous text after `%s' directive
extraneous `%s'
only one `else' per conditional
warning: NUL character seen; rest of line ignored
Reading makefile `%s'
(no default goal)
(search path)
(don't care)
(no ~ expansion)
Reading makefiles...
Nothing to be done for `%s'.
`%s' is up to date.
Warning: File `%s' has modification time %.2g s in the future
/lib
/usr/lib
$(strip $(.LIBPATTERNS))
.LIBPATTERNS element `%s' is not a pattern
%s/%s
stat:
lstat:
readlink:
touch %s
touch: open:
touch: fstat:
touch: read:
touch: lseek:
touch: write:
Pruning file `%s'.
Considering target file `%s'.
Recently tried and failed to update file `%s'.
File `%s' was considered already.
Still updating file `%s'.
Finished updating file `%s'.
File `%s' does not exist.
Found an implicit rule for `%s'.
No implicit rule found for `%s'.
Using default commands for `%s'.
Circular %s <- %s dependency dropped.
Finished prerequisites of target file `%s'.
The prerequisites of `%s' are being made.
Giving up on target file `%s'.
Target `%s' not remade because of errors.
Prerequisite `%s' is order-only for target `%s'.
Prerequisite `%s' of target `%s' does not exist.
Prerequisite `%s' is newer than target `%s'.
Prerequisite `%s' is older than target `%s'.
Target `%s' is double-colon and has no prerequisites.
No commands for `%s' and no prerequisites actually changed.
Making `%s' due to always-make flag.
No need to remake target `%s'
; using VPATH name `%s'
Must remake target `%s'.
Ignoring VPATH name `%s'.
Commands of `%s' are being run.
Failed to remake target file `%s'.
Successfully remade target file `%s'.
Target file `%s' needs remade under -q.
update_file_1
/SourceCache/gnumake/gnumake-130/remake.c
file->update_status >= 0 && file->update_status <= 2
%sNo rule to make target `%s'%s
%sNo rule to make target `%s', needed by `%s'%s
***
# Implicit Rules
# No implicit rules.
# %u implicit rules, %u
(%.1f%%)
terminal.
BUG: num_pattern_rules wrong! %u != %u
(%.o)
%s # of strings in strcache: %d
%s # of strcache buffers: %d
%s strcache size: total = %d / max = %d / min = %d / avg = %d
%s strcache free: total = %d / max = %d / min = %d / avg = %d
add_string
/SourceCache/gnumake/gnumake-130/strcache.c
best->bytesfree > len
pop_variable_scope
/SourceCache/gnumake/gnumake-130/variable.c
current_variable_set_list->next != NULL
%s%s%s
MAKE_VERSION
MAKEFILES
$(patsubst %/,%,$(dir $@))
$(patsubst %/,%,$(dir $%))
$(patsubst %/,%,$(dir $*))
$(patsubst %/,%,$(dir $<))
$(patsubst %/,%,$(dir $?))
$(patsubst %/,%,$(dir $^))
$(patsubst %/,%,$(dir $+))
$(notdir $@)
$(notdir $%)
$(notdir $*)
$(notdir $<)
$(notdir $?)
$(notdir $^)
$(notdir $+)
# variable set hash-table stats:
# Variables
# Pattern-specific Variable Values
%s :
# No pattern-specific variable values.
# %u pattern-specific variable values
environment under -e
`override' directive
(from `%s', line %lu)
define %s
endef
%s %s=
$(subst ,,%s)
USE_APPLE_PB_SUPPORT
3.81
i386-apple-darwin11.3.0
$(strip $(VPATH))
$(strip $(GPATH))
# VPATH Search Paths
vpath %s
%s%c
# No `vpath' search paths.
# %u `vpath' search paths.
# No general (`VPATH' variable) search path.
# General (`VPATH' variable) search path:
$(VPATH)
Can't do VPATH expansion on a null file.
=|^();&<>*?[]:$`'"\
Using old-style VPATH substitution.
Consider using automatic variable substitution instead.
$(MAKEOVERRIDES)
$(-*-command-variables-*-)
0E@(#)PROGRAM:gnumake PROJECT:gnumake-130
.out .a .ln .o .c .cc .C .cpp .p .f .F .m .r .y .l .ym .lm .s .S .mod .sym .def .h .info .dvi .tex .texinfo .texi .txinfo .w .ch .web .sh .elc .el
/bin/sh
#;"*?[]&|<>(){}$`^~!
Defined make macro "OMAKE " to "/usr/bin/make --no-print-directory"
Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC})" and code []
Defined make rule "libcu" with dependencies "${LIBNAME}(${OBJSCU})" and code []
Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF}
module multiprocessing found 8 cores: using make_np = 5
Defined make macro "MAKE_NP" to "5"
================================================================================
TEST configureMkdir from config.programs(/private/tmp/petsc-3.4.3/config/BuildSystem/config/programs.py:111)
TESTING: configureMkdir from config.programs(config/BuildSystem/config/programs.py:111)
Make sure we can have mkdir automatically make intermediate directories
Checking for program /Users/dpo/.rbenv/shims/mkdir...not found
Checking for program /Users/dpo/.rbenv/bin/mkdir...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mkdir...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mkdir...not found
Checking for program /usr/local/bin/mkdir...not found
Checking for program /Users/dpo/bin/mkdir...not found
Checking for program /Users/dpo/local/bin/mkdir...not found
Checking for program /usr/local/sbin/mkdir...not found
Checking for program /usr/local/visit/bin/mkdir...not found
Checking for program /usr/bin/mkdir...not found
Checking for program /bin/mkdir...found
sh: /bin/mkdir -p .conftest/tmp
Executing: /bin/mkdir -p .conftest/tmp
sh:
Adding -p flag to /bin/mkdir -p to automatically create directories
Defined make macro "MKDIR" to "/bin/mkdir -p"
================================================================================
TEST configurePrograms from config.programs(/private/tmp/petsc-3.4.3/config/BuildSystem/config/programs.py:133)
TESTING: configurePrograms from config.programs(config/BuildSystem/config/programs.py:133)
Check for the programs needed to build and run PETSc
Checking for program /Users/dpo/.rbenv/shims/sh...not found
Checking for program /Users/dpo/.rbenv/bin/sh...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/sh...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/sh...not found
Checking for program /usr/local/bin/sh...not found
Checking for program /Users/dpo/bin/sh...not found
Checking for program /Users/dpo/local/bin/sh...not found
Checking for program /usr/local/sbin/sh...not found
Checking for program /usr/local/visit/bin/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 /Users/dpo/.rbenv/shims/sed...not found
Checking for program /Users/dpo/.rbenv/bin/sed...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/sed...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/sed...not found
Checking for program /usr/local/bin/sed...not found
Checking for program /Users/dpo/bin/sed...not found
Checking for program /Users/dpo/local/bin/sed...not found
Checking for program /usr/local/sbin/sed...not found
Checking for program /usr/local/visit/bin/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN
All intermediate test results are stored in /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs
sh: /usr/bin/sed -i s/sed/sd/g "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/sed1"
Executing: /usr/bin/sed -i s/sed/sd/g "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/sed1"
sh:
Rejected SEDINPLACE cmd: /usr/bin/sed -i
sh: /usr/bin/sed -i "" s/sed/sd/g "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/sed1"
Executing: /usr/bin/sed -i "" s/sed/sd/g "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/sed1"
sh:
Adding SEDINPLACE cmd: /usr/bin/sed -i ""
Defined make macro "SEDINPLACE" to "/usr/bin/sed -i """
Checking for program /Users/dpo/.rbenv/shims/mv...not found
Checking for program /Users/dpo/.rbenv/bin/mv...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mv...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mv...not found
Checking for program /usr/local/bin/mv...not found
Checking for program /Users/dpo/bin/mv...not found
Checking for program /Users/dpo/local/bin/mv...not found
Checking for program /usr/local/sbin/mv...not found
Checking for program /usr/local/visit/bin/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 /Users/dpo/.rbenv/shims/cp...not found
Checking for program /Users/dpo/.rbenv/bin/cp...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/cp...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/cp...not found
Checking for program /usr/local/bin/cp...not found
Checking for program /Users/dpo/bin/cp...not found
Checking for program /Users/dpo/local/bin/cp...not found
Checking for program /usr/local/sbin/cp...not found
Checking for program /usr/local/visit/bin/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 /Users/dpo/.rbenv/shims/grep...not found
Checking for program /Users/dpo/.rbenv/bin/grep...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/grep...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/grep...not found
Checking for program /usr/local/bin/grep...not found
Checking for program /Users/dpo/bin/grep...not found
Checking for program /Users/dpo/local/bin/grep...not found
Checking for program /usr/local/sbin/grep...not found
Checking for program /usr/local/visit/bin/grep...not found
Checking for program /usr/bin/grep...found
Defined make macro "GREP" to "/usr/bin/grep"
Checking for program /Users/dpo/.rbenv/shims/rm...not found
Checking for program /Users/dpo/.rbenv/bin/rm...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/rm...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/rm...not found
Checking for program /usr/local/bin/rm...not found
Checking for program /Users/dpo/bin/rm...not found
Checking for program /Users/dpo/local/bin/rm...not found
Checking for program /usr/local/sbin/rm...not found
Checking for program /usr/local/visit/bin/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 /Users/dpo/.rbenv/shims/diff...not found
Checking for program /Users/dpo/.rbenv/bin/diff...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/diff...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/diff...not found
Checking for program /usr/local/bin/diff...not found
Checking for program /Users/dpo/bin/diff...not found
Checking for program /Users/dpo/local/bin/diff...not found
Checking for program /usr/local/sbin/diff...not found
Checking for program /usr/local/visit/bin/diff...not found
Checking for program /usr/bin/diff...found
sh: "/usr/bin/diff" -w "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/diff1" "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/diff2"
Executing: "/usr/bin/diff" -w "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/diff1" "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.programs/diff2"
sh:
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/dpo/ps...not found
Checking for program /Users/dpo/.rbenv/shims/gzip...not found
Checking for program /Users/dpo/.rbenv/bin/gzip...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/gzip...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/gzip...not found
Checking for program /usr/local/bin/gzip...not found
Checking for program /Users/dpo/bin/gzip...not found
Checking for program /Users/dpo/local/bin/gzip...not found
Checking for program /usr/local/sbin/gzip...not found
Checking for program /usr/local/visit/bin/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/local/opt/python/bin/python2.7"
================================================================================
TEST configureGit from config.sourceControl(/private/tmp/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:24)
TESTING: configureGit from config.sourceControl(config/BuildSystem/config/sourceControl.py:24)
Find the Git executable
Checking for program /Users/dpo/.rbenv/shims/git...not found
Checking for program /Users/dpo/.rbenv/bin/git...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/git...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/git...not found
Checking for program /usr/local/bin/git...found
Defined make macro "GIT" to "git"
sh: git --version
Executing: git --version
sh: git version 1.8.4
================================================================================
TEST configureMercurial from config.sourceControl(/private/tmp/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:35)
TESTING: configureMercurial from config.sourceControl(config/BuildSystem/config/sourceControl.py:35)
Find the Mercurial executable
Checking for program /Users/dpo/.rbenv/shims/hg...not found
Checking for program /Users/dpo/.rbenv/bin/hg...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/hg...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/hg...not found
Checking for program /usr/local/bin/hg...found
Defined make macro "HG" to "hg"
sh: hg version -q
Executing: hg version -q
sh: Mercurial Distributed SCM (version 2.7.1)
================================================================================
TEST configureCVS from config.sourceControl(/private/tmp/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:46)
TESTING: configureCVS from config.sourceControl(config/BuildSystem/config/sourceControl.py:46)
Find the CVS executable
Checking for program /Users/dpo/.rbenv/shims/cvs...not found
Checking for program /Users/dpo/.rbenv/bin/cvs...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/cvs...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/cvs...not found
Checking for program /usr/local/bin/cvs...not found
Checking for program /Users/dpo/bin/cvs...not found
Checking for program /Users/dpo/local/bin/cvs...not found
Checking for program /usr/local/sbin/cvs...not found
Checking for program /usr/local/visit/bin/cvs...not found
Checking for program /usr/bin/cvs...found
Defined make macro "CVS" to "cvs"
sh: cvs --version
Executing: cvs --version
sh:
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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/sourceControl.py:55)
TESTING: configureSubversion from config.sourceControl(config/BuildSystem/config/sourceControl.py:55)
Find the Subversion executable
Checking for program /Users/dpo/.rbenv/shims/svn...not found
Checking for program /Users/dpo/.rbenv/bin/svn...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/svn...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/svn...not found
Checking for program /usr/local/bin/svn...not found
Checking for program /Users/dpo/bin/svn...not found
Checking for program /Users/dpo/local/bin/svn...not found
Checking for program /usr/local/sbin/svn...not found
Checking for program /usr/local/visit/bin/svn...not found
Checking for program /usr/bin/svn...found
Defined make macro "SVN" to "svn"
sh: svn --version -q
Executing: svn --version -q
sh: 1.6.18
================================================================================
TEST configureDirectories from PETSc.utilities.petscdir(/private/tmp/petsc-3.4.3/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 1
#define PETSC_VERSION_MAJOR 3
#define PETSC_VERSION_MINOR 4
#define PETSC_VERSION_SUBMINOR 3
#define PETSC_VERSION_PATCH 0
#define PETSC_VERSION_DATE "Oct, 15, 2013"
#define PETSC_VERSION_GIT "e9715d0b55579104fb4321f3f4f3f0e2ce2d7d6d"
#define PETSC_VERSION_DATE_GIT "2013-10-15 11:50:31 -0500"
#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 "/private/tmp/petsc-3.4.3"
Defined "DIR" to ""/private/tmp/petsc-3.4.3""
================================================================================
TEST configureExternalPackagesDir from PETSc.utilities.petscdir(/private/tmp/petsc-3.4.3/config/PETSc/utilities/petscdir.py:77)
TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:77)
================================================================================
TEST configureInstallationMethod from PETSc.utilities.petscdir(/private/tmp/petsc-3.4.3/config/PETSc/utilities/petscdir.py:84)
TESTING: configureInstallationMethod from PETSc.utilities.petscdir(config/PETSc/utilities/petscdir.py:84)
This is a tarball installation
================================================================================
TEST configureETags from PETSc.utilities.Etags(/private/tmp/petsc-3.4.3/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(/private/tmp/petsc-3.4.3/config/PETSc/utilities/dataFilesPath.py:29)
TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(config/PETSc/utilities/dataFilesPath.py:29)
Checks what DATAFILESPATH should be
Defined make macro "DATAFILESPATH" to "None"
================================================================================
TEST printEnvVariables from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1504)
TESTING: printEnvVariables from config.setCompilers(config/BuildSystem/config/setCompilers.py:1504)
**** printenv ****
_=./configure
CUTEST=/usr/local/Cellar/cutest/HEAD/libexec
POLYIP=132.207.49.175
ZIENA_LICENSE=/Users/dpo/local/solvers/knitro-7.0.0-z/license/ziena_lic_orban_40-d3-8b-11-c6.txt
MATLABPATH=:/usr/local/Cellar/cutest/HEAD/libexec/src/matlab
KNITRODIR=/Users/dpo/local/solvers/knitro-7.0.0-z
GALAHAD=/Users/dpo/dev/galahad/trunk
LOGNAME=dpo
USER=dpo
LC_ALL=en_US.UTF-8
PATH=/Users/dpo/.rbenv/shims:/Users/dpo/.rbenv/bin:/Users/dpo/dev/galahad/trunk/bin:/Users/dpo/.gem/ruby/1.8/bin:/usr/local/bin:/Users/dpo/bin:/Users/dpo/local/bin:/usr/local/sbin:/usr/local/visit/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/MacGPG2/bin:/usr/texbin:/Users/dpo/bin/FDK/Tools/osx:/Users/dpo/bin/FDK/Tools/osx
PS1=[\[\033[01;34m\]\u@\h\[\033[00m\]:\[\033[00;33m\]\W\[\033[00m\] \[\033[00;32m\]$(__git_ps1 "(%s)")\[\033[00m\]]\$
LD_LIBRARY_PATH=/usr/local/lib/python2.7/lib:/usr/local/lib:/Users/dpo/local/lib:
TERM_PROGRAM=iTerm.app
LANG=en_US.UTF-8
MYARCH=mac64.osx.gfo
TERM=xterm-256color
SHELL=/bin/bash
TEXINPUTS=/Users/dpo/dev/latex-styles/styles//:/Users/dpo/texmf//:
BLADELSFIP=132.207.68.128
PIP_VIRTUALENV_BASE=/Users/dpo/.virtualenvs
SECURITYSESSIONID=186a5
ITERM_SESSION_ID=w0t1p0
DISPLAY=/tmp/launch-zbSX3A/org.macosforge.xquartz:0
PIP_REQUIRE_VIRTUALENV=true
HISTCONTROL=ignoredups
SIFDECODE=/usr/local/Cellar/sifdecode/HEAD/libexec
MANPATH=/Users/dpo/dev/galahad/trunk/man:
SEE_LATEX_CLEANUP=latexmk -C "$FILE"
HOMEBREW_BUILD_FROM_SOURCE=1
HOME=/Users/dpo
HISTFILESIZE=2500
EDITOR=vim
MASTSIF=/usr/local/Cellar/mastsif/HEAD
WORKON_HOME=/Users/dpo/.virtualenvs
SHLVL=1
FDK_EXE=/Users/dpo/bin/FDK/Tools/osx
MYMATLABARCH=mac64.osx.gfo
PYTHONPATH=/usr/local/lib/python2.7/site-packages:
SSH_AUTH_SOCK=/tmp/launch-px71HD/Listeners
MYMATLAB=/Applications/Matlab/MATLAB_R2012a.app
BLADESUNGRIDIP=132.207.68.41
Apple_PubSub_Socket_Render=/tmp/launch-loo4r6/Render
LATEX_STYLES=/Users/dpo/dev/latex-styles
ITERM_PROFILE=Molokai
GERADIP=ssh.gerad.ca
AMDAHLIP=amdahl.mathappl.polymtl.ca
SEE_LATEX_VIEWER=open -a skim.app "$PRODUCT"
TMPDIR=/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/
VIRTUALENVWRAPPER_LOG_DIR=/Users/dpo/.virtualenvs
VIRTUALENVWRAPPER_PROJECT_FILENAME=.project
LSCOLORS=cxfxDxdxbxegedabagacad
VIRTUALENVWRAPPER_HOOK_DIR=/Users/dpo/.virtualenvs
OLDPWD=/tmp
CLICOLOR=1
__CF_USER_TEXT_ENCODING=0x1F5:0:0
Apple_Ubiquity_Message=/tmp/launch-MS8wmC/Apple_Ubiquity_Message
PWD=/tmp/petsc-3.4.3
PIP_DOWNLOAD_CACHE=/Users/dpo/.pip/cache
ARCHDEFS=/usr/local/Cellar/archdefs/HEAD
FIGNORE=DS_Store:.svn:.git
SEE_LATEX_COMPILER=latexmk -pdf "$FILE"
PAGER=/Users/dpo/bin/vimpager
COMMAND_MODE=unix2003
================================================================================
TEST resetEnvCompilers from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1511)
TESTING: resetEnvCompilers from config.setCompilers(config/BuildSystem/config/setCompilers.py:1511)
================================================================================
TEST checkMPICompilerOverride from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1476)
TESTING: checkMPICompilerOverride from config.setCompilers(config/BuildSystem/config/setCompilers.py:1476)
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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1495)
TESTING: requireMpiLdPath from config.setCompilers(config/BuildSystem/config/setCompilers.py:1495)
OpenMPI wrappers require LD_LIBRARY_PATH set
================================================================================
TEST checkVendor from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:399)
TESTING: checkVendor from config.setCompilers(config/BuildSystem/config/setCompilers.py:399)
Determine the compiler vendor
Compiler vendor is ""
================================================================================
TEST checkInitialFlags from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:409)
TESTING: checkInitialFlags from config.setCompilers(config/BuildSystem/config/setCompilers.py:409)
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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:525)
TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:525)
Locate a functional C compiler
sh: mpicc --help
Executing: mpicc --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Checking for program /Users/dpo/.rbenv/shims/mpicc...not found
Checking for program /Users/dpo/.rbenv/bin/mpicc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicc...not found
Checking for program /usr/local/bin/mpicc...found
Defined make macro "CC" to "mpicc"
Pushing language C
All intermediate test results are stored in /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language C
================================================================================
TEST checkCPreprocessor from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:560)
TESTING: checkCPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:560)
Locate a functional C preprocessor
Checking for program /Users/dpo/.rbenv/shims/mpicc...not found
Checking for program /Users/dpo/.rbenv/bin/mpicc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicc...not found
Checking for program /usr/local/bin/mpicc...found
Defined make macro "CPP" to "mpicc -E"
Pushing language C
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c"
Popping language C
================================================================================
TEST checkCUDACompiler from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:594)
TESTING: checkCUDACompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:594)
Locate a functional CUDA compiler
Checking for program /Users/dpo/.rbenv/shims/nvcc...not found
Checking for program /Users/dpo/.rbenv/bin/nvcc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/nvcc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/nvcc...not found
Checking for program /usr/local/bin/nvcc...not found
Checking for program /Users/dpo/bin/nvcc...not found
Checking for program /Users/dpo/local/bin/nvcc...not found
Checking for program /usr/local/sbin/nvcc...not found
Checking for program /usr/local/visit/bin/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 /opt/X11/bin/nvcc...not found
Checking for program /usr/local/MacGPG2/bin/nvcc...not found
Checking for program /usr/texbin/nvcc...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/nvcc...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/nvcc...not found
Checking for program /Users/dpo/nvcc...not found
Checking for program /private/tmp/petsc-3.4.3/bin/win32fe/nvcc...not found
Checking for program /Users/dpo/.rbenv/shims/nvcc...not found
Checking for program /Users/dpo/.rbenv/bin/nvcc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/nvcc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/nvcc...not found
Checking for program /usr/local/bin/nvcc...not found
Checking for program /Users/dpo/bin/nvcc...not found
Checking for program /Users/dpo/local/bin/nvcc...not found
Checking for program /usr/local/sbin/nvcc...not found
Checking for program /usr/local/visit/bin/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 /opt/X11/bin/nvcc...not found
Checking for program /usr/local/MacGPG2/bin/nvcc...not found
Checking for program /usr/texbin/nvcc...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/nvcc...not found
Checking for program /Users/dpo/bin/FDK/Tools/osx/nvcc...not found
Checking for program /Users/dpo/nvcc...not found
Checking for program /private/tmp/petsc-3.4.3/bin/win32fe/nvcc...not found
================================================================================
TEST checkCUDAPreprocessor from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:632)
TESTING: checkCUDAPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:632)
Locate a functional CUDA preprocessor
================================================================================
TEST checkCxxCompiler from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:735)
TESTING: checkCxxCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:735)
Locate a functional Cxx compiler
sh: mpicxx --help
Executing: mpicxx --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Checking for program /Users/dpo/.rbenv/shims/mpicxx...not found
Checking for program /Users/dpo/.rbenv/bin/mpicxx...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicxx...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicxx...not found
Checking for program /usr/local/bin/mpicxx...found
Defined make macro "CXX" to "mpicxx"
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
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
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language Cxx
================================================================================
TEST checkCxxPreprocessor from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:773)
TESTING: checkCxxPreprocessor from config.setCompilers(config/BuildSystem/config/setCompilers.py:773)
Locate a functional Cxx preprocessor
Checking for program /Users/dpo/.rbenv/shims/mpicxx...not found
Checking for program /Users/dpo/.rbenv/bin/mpicxx...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicxx...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicxx...not found
Checking for program /usr/local/bin/mpicxx...found
Defined make macro "CXXCPP" to "mpicxx -E"
Pushing language Cxx
sh: mpicxx -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 167 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conffix.h" 1
extern "C" {
}
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:882)
TESTING: checkFortranCompiler from config.setCompilers(config/BuildSystem/config/setCompilers.py:882)
Locate a functional Fortran compiler
sh: mpif90 --help
Executing: mpif90 --help
sh: 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=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-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,<options> Pass comma-separated <options> on to the assembler
-Wp,<options> Pass comma-separated <options> on to the preprocessor
-Wl,<options> Pass comma-separated <options> on to the linker
-Xassembler <arg> Pass <arg> on to the assembler
-Xpreprocessor <arg> Pass <arg> on to the preprocessor
-Xlinker <arg> Pass <arg> on to the linker
-save-temps Do not delete intermediate files
-save-temps=<arg> 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=<file> Override built-in specs with the contents of <file>
-std=<standard> Assume that the input sources are for <standard>
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries
-B <directory> Add <directory> 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 <file> Place the output into <file>
-pie Create a position independent executable
-shared Create a shared library
-x <language> 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<letter> options must be used.
For bug reporting instructions, please see:
<http://gcc.gnu.org/bugs.html>.
Checking for program /Users/dpo/.rbenv/shims/mpif90...not found
Checking for program /Users/dpo/.rbenv/bin/mpif90...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpif90...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpif90...not found
Checking for program /usr/local/bin/mpif90...found
Defined make macro "FC" to "mpif90"
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
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
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language FC
================================================================================
TEST checkFortranComments from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:901)
TESTING: checkFortranComments from config.setCompilers(config/BuildSystem/config/setCompilers.py:901)
Make sure fortran comment "!" works
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
! comment
program main
end
Fortran comments can use ! in column 1
Popping language FC
================================================================================
TEST checkPIC from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:964)
TESTING: checkPIC from config.setCompilers(config/BuildSystem/config/setCompilers.py:964)
Determine the PIC option for each compiler
- There needs to be a test that checks that the functionality is actually working
Pushing language C
sh: mpicc --help
Executing: mpicc --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying C compiler flag -fPIC
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -fPIC
Adding C compiler flag -fPIC
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added C compiler flag -fPIC
Popping language C
Pushing language Cxx
sh: mpicxx --help
Executing: mpicxx --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying Cxx compiler flag -fPIC
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid Cxx linker flag -fPIC
Adding Cxx compiler flag -fPIC
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added Cxx compiler flag -fPIC
Popping language Cxx
Pushing language FC
sh: mpif90 --help
Executing: mpif90 --help
sh: 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=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-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,<options> Pass comma-separated <options> on to the assembler
-Wp,<options> Pass comma-separated <options> on to the preprocessor
-Wl,<options> Pass comma-separated <options> on to the linker
-Xassembler <arg> Pass <arg> on to the assembler
-Xpreprocessor <arg> Pass <arg> on to the preprocessor
-Xlinker <arg> Pass <arg> on to the linker
-save-temps Do not delete intermediate files
-save-temps=<arg> 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=<file> Override built-in specs with the contents of <file>
-std=<standard> Assume that the input sources are for <standard>
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries
-B <directory> Add <directory> 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 <file> Place the output into <file>
-pie Create a position independent executable
-shared Create a shared library
-x <language> 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<letter> options must be used.
For bug reporting instructions, please see:
<http://gcc.gnu.org/bugs.html>.
Trying FC compiler flag -fPIC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid FC linker flag -fPIC
Adding FC compiler flag -fPIC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Added FC compiler flag -fPIC
Popping language FC
================================================================================
TEST checkLargeFileIO from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:998)
TESTING: checkLargeFileIO from config.setCompilers(config/BuildSystem/config/setCompilers.py:998)
================================================================================
TEST checkArchiver from config.setCompilers(/private/tmp/petsc-3.4.3/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
sh: ar -V
Executing: ar -V
sh:
sh: ar -V
Executing: ar -V
sh:
Defined make macro "FAST_AR_FLAGS" to "Scq"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int foo(int a) {
return a+1;
}
Checking for program /Users/dpo/.rbenv/shims/ar...not found
Checking for program /Users/dpo/.rbenv/bin/ar...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/ar...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/ar...not found
Checking for program /usr/local/bin/ar...not found
Checking for program /Users/dpo/bin/ar...not found
Checking for program /Users/dpo/local/bin/ar...not found
Checking for program /usr/local/sbin/ar...not found
Checking for program /usr/local/visit/bin/ar...not found
Checking for program /usr/bin/ar...found
Defined make macro "AR" to "/usr/bin/ar"
Checking for program /Users/dpo/.rbenv/shims/ranlib...not found
Checking for program /Users/dpo/.rbenv/bin/ranlib...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/ranlib...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/ranlib...not found
Checking for program /usr/local/bin/ranlib...not found
Checking for program /Users/dpo/bin/ranlib...not found
Checking for program /Users/dpo/local/bin/ranlib...not found
Checking for program /usr/local/sbin/ranlib...not found
Checking for program /usr/local/visit/bin/ranlib...not found
Checking for program /usr/bin/ranlib...found
Defined make macro "RANLIB" to "/usr/bin/ranlib -c"
sh: /usr/bin/ar cr /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconf1.a /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conf1.o
Executing: /usr/bin/ar cr /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconf1.a /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conf1.o
sh:
sh: /usr/bin/ranlib -c /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconf1.a
Executing: /usr/bin/ranlib -c /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconf1.a
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c:6:26: warning: if statement has empty body [-Wempty-body]
int b = foo(1); if (b);
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -lconf1
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -lconf1
sh:
Defined make macro "AR_FLAGS" to "cr"
Defined make macro "AR_LIB_SUFFIX" to "a"
Popping language C
================================================================================
TEST checkSharedLinker from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1212)
TESTING: checkSharedLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1212)
Check that the linker can produce shared libraries
sh: uname -s
Executing: uname -s
sh: Darwin
Checking shared linker mpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress']
Checking for program /Users/dpo/.rbenv/shims/mpicc...not found
Checking for program /Users/dpo/.rbenv/bin/mpicc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicc...not found
Checking for program /usr/local/bin/mpicc...found
Defined make macro "LD_SHARED" to "mpicc"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -dynamiclib -single_module -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -dynamiclib -single_module -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -dynamiclib -single_module
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -undefined dynamic_lookup -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -undefined dynamic_lookup -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -undefined dynamic_lookup
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -multiply_defined suppress
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c:7:8: warning: if statement has empty body [-Wempty-body]
if(ret);;
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -lconftest
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -lconftest
sh:
Using shared linker mpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib
sh: uname -s
Executing: uname -s
sh: Darwin
================================================================================
TEST checkLinkerMac from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1270)
TESTING: checkLinkerMac from config.setCompilers(config/BuildSystem/config/setCompilers.py:1270)
Tests some Apple Mac specific linker flags
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -Wl,-multiply_defined,suppress
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -Wl,-multiply_defined -Wl,suppress
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -Wl,-commons,use_dylibs
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid C linker flag -Wl,-search_paths_first
Popping language C
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid Cxx linker flag -Wl,-multiply_defined,suppress
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid Cxx linker flag -Wl,-multiply_defined -Wl,suppress
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid Cxx linker flag -Wl,-commons,use_dylibs
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid Cxx linker flag -Wl,-search_paths_first
Popping language Cxx
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid FC linker flag -Wl,-multiply_defined,suppress
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid FC linker flag -Wl,-multiply_defined -Wl,suppress
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid FC linker flag -Wl,-commons,use_dylibs
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Valid FC linker flag -Wl,-search_paths_first
Popping language FC
================================================================================
TEST checkSharedLinkerPaths from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1290)
TESTING: checkSharedLinkerPaths from config.setCompilers(config/BuildSystem/config/setCompilers.py:1290)
Determine the shared linker path options
- IRIX: -rpath
- Linux, OSF: -Wl,-rpath,
- Solaris: -R
- FreeBSD: -Wl,-R,
Pushing language C
sh: uname -s
Executing: uname -s
sh: Darwin
sh: mpicc -V
Executing: mpicc -V
sh:
Popping language C
Pushing language Cxx
sh: uname -s
Executing: uname -s
sh: Darwin
sh: mpicc -V
Executing: mpicc -V
sh:
Popping language Cxx
Pushing language FC
sh: uname -s
Executing: uname -s
sh: Darwin
sh: mpicc -V
Executing: mpicc -V
sh:
Popping language FC
================================================================================
TEST checkLibC from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1325)
TESTING: checkLibC from config.setCompilers(config/BuildSystem/config/setCompilers.py:1325)
Test whether we need to explicitly include libc in shared linking
- Mac OSX requires an explicit reference to libc for shared linking
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdlib.h>
int foo(void) {void *chunk = malloc(31); free(chunk); return 0;}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o
sh:
Shared linking does not require an explicit libc reference
================================================================================
TEST checkDynamicLinker from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1374)
TESTING: checkDynamicLinker from config.setCompilers(config/BuildSystem/config/setCompilers.py:1374)
Check that the linker can dynamicaly load shared libraries
Checking for header: dlfcn.h
All intermediate test results are stored in /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Defined "HAVE_DLFCN_H" to "1"
Checking for function dlopen in library ['dl'] []
Pushing language C
All intermediate test results are stored in /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char dlopen();
int main() {
dlopen()
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
sh:
Defined "HAVE_LIBDL" to "1"
Popping language C
Checking for function dlsym in library ['dl'] []
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char dlsym();
int main() {
dlsym()
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
sh:
Defined "HAVE_LIBDL" to "1"
Popping language C
Checking for function dlclose in library ['dl'] []
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
/* Override any gcc2 internal prototype to avoid an error. */
char dlclose();
int main() {
dlclose()
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries/conftest.o -ldl
sh:
Defined "HAVE_LIBDL" to "1"
Popping language C
Adding ['dl'] to LIBS
sh: uname -s
Executing: uname -s
sh: Darwin
Checking dynamic linker mpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress']
Checking for program /Users/dpo/.rbenv/shims/mpicc...not found
Checking for program /Users/dpo/.rbenv/bin/mpicc...not found
Checking for program /Users/dpo/dev/galahad/trunk/bin/mpicc...not found
Checking for program /Users/dpo/.gem/ruby/1.8/bin/mpicc...not found
Checking for program /usr/local/bin/mpicc...found
Defined make macro "DYNAMICLINKER" to "mpicc"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
sh:
Valid C linker flag -dynamiclib -single_module
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
sh:
Valid C linker flag -undefined dynamic_lookup
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
sh:
Valid C linker flag -multiply_defined suppress
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdio.h>
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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/libconftest.dylib -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c:11:3: note: please include the header <stdio.h> or explicitly provide a declaration for 'printf'
1 warning generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include<dlfcn.h>
int main() {
void *handle = dlopen("/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -ldl
sh:
Using dynamic linker mpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib
================================================================================
TEST output from config.setCompilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/setCompilers.py:1420)
TESTING: output from config.setCompilers(config/BuildSystem/config/setCompilers.py:1420)
Output module data as defines and substitutions
Substituting "CC" with "mpicc"
Substituting "CFLAGS" with " -fPIC"
Defined make macro "CC_LINKER_SLFLAG" to "-L"
Substituting "CPP" with "mpicc -E"
Substituting "CPPFLAGS" with ""
Substituting "CXX" with "mpicxx"
Substituting "CXX_CXXFLAGS" with " -fPIC"
Substituting "CXXFLAGS" with ""
Substituting "CXX_LINKER_SLFLAG" with "-L"
Substituting "CXXCPP" with "mpicxx -E"
Substituting "CXXCPPFLAGS" with ""
Substituting "FC" with "mpif90"
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(/private/tmp/petsc-3.4.3/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
sh: mpicc --version
Executing: mpicc --version
sh: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
getCompilerVersion: mpicc Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
sh: mpicc -show
Executing: mpicc -show
sh: clang -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi
Defined make macro "MPICC_SHOW" to "clang -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi"
sh: clang --help
Executing: clang --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying C compiler flag -Wall
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added C compiler flag -Wall
Trying C compiler flag -Wwrite-strings
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
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
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
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
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added C compiler flag -Wno-unknown-pragmas
sh: mpicc -show
Executing: mpicc -show
sh: clang -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi
Defined make macro "MPICC_SHOW" to "clang -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi"
sh: clang --help
Executing: clang --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying C compiler flag -O
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added C compiler flag -O
Popping language C
Pushing language Cxx
sh: mpicxx --version
Executing: mpicxx --version
sh: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
getCompilerVersion: mpicxx Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
sh: mpicxx -show
Executing: mpicxx -show
sh: clang++ -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_cxx -lmpi
Defined make macro "MPICXX_SHOW" to "clang++ -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_cxx -lmpi"
sh: clang++ --help
Executing: clang++ --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying Cxx compiler flag -Wall
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added Cxx compiler flag -Wall
Trying Cxx compiler flag -Wwrite-strings
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
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
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
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
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added Cxx compiler flag -Wno-unknown-pragmas
sh: mpicxx -show
Executing: mpicxx -show
sh: clang++ -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_cxx -lmpi
Defined make macro "MPICXX_SHOW" to "clang++ -I/usr/local/Cellar/open-mpi/1.7.3/include -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_cxx -lmpi"
sh: clang++ --help
Executing: clang++ --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
Trying Cxx compiler flag -O
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Added Cxx compiler flag -O
Popping language Cxx
Pushing language FC
sh: mpif90 --version
Executing: mpif90 --version
sh: GNU Fortran (GCC) 4.8.1
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: mpif90 GNU Fortran (GCC) 4.8.1
sh: mpif90 -show
Executing: mpif90 -show
sh: /usr/local/bin/gfortran -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi
Defined make macro "MPIFC_SHOW" to "/usr/local/bin/gfortran -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi"
sh: /usr/local/bin/gfortran --help
Executing: /usr/local/bin/gfortran --help
sh: 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=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-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,<options> Pass comma-separated <options> on to the assembler
-Wp,<options> Pass comma-separated <options> on to the preprocessor
-Wl,<options> Pass comma-separated <options> on to the linker
-Xassembler <arg> Pass <arg> on to the assembler
-Xpreprocessor <arg> Pass <arg> on to the preprocessor
-Xlinker <arg> Pass <arg> on to the linker
-save-temps Do not delete intermediate files
-save-temps=<arg> 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=<file> Override built-in specs with the contents of <file>
-std=<standard> Assume that the input sources are for <standard>
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries
-B <directory> Add <directory> 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 <file> Place the output into <file>
-pie Create a position independent executable
-shared Create a shared library
-x <language> 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<letter> options must be used.
For bug reporting instructions, please see:
<http://gcc.gnu.org/bugs.html>.
sh: /usr/local/bin/gfortran --version
Executing: /usr/local/bin/gfortran --version
sh: GNU Fortran (GCC) 4.8.1
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
sh: /usr/local/bin/gfortran --version
Executing: /usr/local/bin/gfortran --version
sh: GNU Fortran (GCC) 4.8.1
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
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Added FC compiler flag -Wall
Trying FC compiler flag -Wno-unused-variable
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Added FC compiler flag -Wno-unused-variable
Trying FC compiler flag -Wno-unused-dummy-argument
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Added FC compiler flag -Wno-unused-dummy-argument
sh: mpif90 -show
Executing: mpif90 -show
sh: /usr/local/bin/gfortran -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi
Defined make macro "MPIFC_SHOW" to "/usr/local/bin/gfortran -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi"
sh: /usr/local/bin/gfortran --help
Executing: /usr/local/bin/gfortran --help
sh: 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=<lib> Display the full path to library <lib>
-print-prog-name=<prog> Display the full path to compiler component <prog>
-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,<options> Pass comma-separated <options> on to the assembler
-Wp,<options> Pass comma-separated <options> on to the preprocessor
-Wl,<options> Pass comma-separated <options> on to the linker
-Xassembler <arg> Pass <arg> on to the assembler
-Xpreprocessor <arg> Pass <arg> on to the preprocessor
-Xlinker <arg> Pass <arg> on to the linker
-save-temps Do not delete intermediate files
-save-temps=<arg> 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=<file> Override built-in specs with the contents of <file>
-std=<standard> Assume that the input sources are for <standard>
--sysroot=<directory> Use <directory> as the root directory for headers
and libraries
-B <directory> Add <directory> 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 <file> Place the output into <file>
-pie Create a position independent executable
-shared Create a shared library
-x <language> 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<letter> options must be used.
For bug reporting instructions, please see:
<http://gcc.gnu.org/bugs.html>.
Trying FC compiler flag -O
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Added FC compiler flag -O
Popping language FC
================================================================================
TEST configureDebugging from PETSc.utilities.debugging(/private/tmp/petsc-3.4.3/config/PETSc/utilities/debugging.py:25)
TESTING: configureDebugging from PETSc.utilities.debugging(config/PETSc/utilities/debugging.py:25)
Defined "USE_ERRORCHECKING" to "1"
===============================================================================
WARNING! Compiling PETSc with no debugging, this should
only be done for timing and production runs. All development should
be done when configured using --with-debugging=1
===============================================================================
================================================================================
TEST configureArchitecture from PETSc.utilities.arch(/private/tmp/petsc-3.4.3/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-opt""
================================================================================
TEST checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(/private/tmp/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:42)
TESTING: checkSharedDynamicPicOptions from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:42)
================================================================================
TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/private/tmp/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:63)
TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:63)
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(/private/tmp/petsc-3.4.3/config/PETSc/utilities/sharedLibraries.py:102)
TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(config/PETSc/utilities/sharedLibraries.py:102)
Checks whether dynamic loading should be used, for which you must
- Specify --with-dynamic-loading
- Have found a working dynamic linker (with dlfcn.h and libdl)
Defines PETSC_USE_DYNAMIC_LIBRARIES if they are used
Defined "HAVE_DYNAMIC_LIBRARIES" to "1"
Dynamic loading - disabled
================================================================================
TEST configureBmakeDir from PETSc.utilities.bmakeDir(/private/tmp/petsc-3.4.3/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-opt/conf
sh: mpicc --help
Executing: mpicc --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
================================================================================
TEST checkRestrict from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:134)
TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134)
Check for the C/CXX restrict keyword
Pushing language C
All intermediate test results are stored in /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:306)
TESTING: checkCFormatting from config.compilers(config/BuildSystem/config/compilers.py:306)
Activate format string checking if using the GNU compilers
================================================================================
TEST checkCStaticInline from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:105)
TESTING: checkCStaticInline from config.compilers(config/BuildSystem/config/compilers.py:105)
Check for C keyword: static inline
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c:6:5: warning: unused variable 'i' [-Wunused-variable]
int i = foo(1);;
^
1 warning generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
static inline int foo(int a) {return a;}
int main() {
int i = 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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:317)
TESTING: checkDynamicLoadFlag from config.compilers(config/BuildSystem/config/compilers.py:317)
Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;
int main() {
dlopen(libname, RTLD_LAZY);
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
sh:
Defined "HAVE_RTLD_LAZY" to "1"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;
int main() {
dlopen(libname, RTLD_NOW);
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
sh:
Defined "HAVE_RTLD_NOW" to "1"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;
int main() {
dlopen(libname, RTLD_LOCAL);
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
sh:
Defined "HAVE_RTLD_LOCAL" to "1"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dlfcn.h>
char *libname;
int main() {
dlopen(libname, RTLD_GLOBAL);
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
sh:
Defined "HAVE_RTLD_GLOBAL" to "1"
================================================================================
TEST checkCLibraries from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:161)
TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:161)
Determines the libraries needed to link with C
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
sh:
Possible ERROR while running linker: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl -lmpi -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
output: error message = {Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl -lmpi -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
}
Pushing language C
Popping language C
in mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
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.5.0
compilers: Unknown arg x86_64-apple-darwin12.5.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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Found library directory: -L/usr/local/Cellar/open-mpi/1.7.3/lib
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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Checking arg -ldl
compilers: Found library : -ldl
compilers: Checking arg -lmpi
compilers: Found library : -lmpi
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: ['-L/usr/local/Cellar/open-mpi/1.7.3/lib', '-ldl', '-lmpi', '-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
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language FC
================================================================================
TEST checkDependencyGenerationFlag from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1282)
TESTING: checkDependencyGenerationFlag from config.compilers(config/BuildSystem/config/compilers.py:1282)
Check if -MMD works for dependency generation, and add it if it does
Pushing language C
Trying C compiler flag -MMD
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Valid C linker flag -MMD
Testing C compiler flag -MMD
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Popping language C
Pushing language Cxx
Trying Cxx compiler flag -MMD
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Valid Cxx linker flag -MMD
Testing Cxx compiler flag -MMD
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Popping language Cxx
Pushing language FC
Trying FC compiler flag -MMD
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -MMD -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Valid FC linker flag -MMD
Testing FC compiler flag -MMD
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O -MMD /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Popping language FC
sh: mpicxx --help
Executing: mpicxx --help
sh: OVERVIEW: clang LLVM compiler
USAGE: clang [options] <inputs>
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 <value>
Serialize compiler diagnostics to a file
-Eonly Just run preprocessor, no output (for timings)
-E Only run the preprocessor
-F <value> Add directory to framework include search path
-H Show header includes and nesting depth
-I <value> 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 <value> Specify target to quote for dependency
-MT <value> 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,<arg> Pass the comma separated arguments in <arg> to the assembler
-Wl,<arg> Pass the comma separated arguments in <arg> 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,<arg> Pass the comma separated arguments in <arg> to the preprocessor
-Xanalyzer <arg> Pass <arg> to the static analyzer
-Xassembler <arg> Pass <arg> to the assembler
-Xclang <arg> Pass <arg> to the clang compiler
-Xlinker <arg> Pass <arg> to the linker
-Xpreprocessor <arg> Pass <arg> to the preprocessor
-add-plugin <name> Use the named plugin action in addition to the default action
-analyze-function <value>
Run analysis on specific function
-analyzer-checker-help Display the list of analyzer checkers that are available
-analyzer-checker <value>
Choose analyzer checkers to enable
-analyzer-config <value>
Choose analyzer options to enable
-analyzer-constraints <value>
Source Code Analysis - Symbolic Constraint Engines
-analyzer-disable-checker <value>
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 <value>
Bound on the number of basic blocks in an inlined function (200 by default)
-analyzer-inline-max-stack-depth <value>
Bound on stack depth while inlining (4 by default)
-analyzer-inlining-mode <value>
Specify the function selection heuristic used during inlining
-analyzer-ipa <value> Specify the inter-procedural analysis mode
-analyzer-max-loop <value>
The maximum number of times the analyzer will go through a loop
-analyzer-max-nodes <value>
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 <value>
Source Code Analysis - Output Options
-analyzer-purge <value> Source Code Analysis - Dead Symbol Removal Frequency
-analyzer-stats Print internal analyzer statistics.
-analyzer-store <value> 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 <value>
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 <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 <ast file> 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 <value> Additional arguments to forward to LLVM backend (during code gen)
-c-isystem <directory> Add directory to the C SYSTEM include search path
-chain-include <file> 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=<value> 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 <file>:<line>:<column>
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 <value> Emit coverage data to this filename. The extension will be replaced.
-cxx-abi <value> Target a particular C++ ABI type
-cxx-isystem <directory>
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 <value> Filename to write DOT-formatted header dependencies to
-dependency-file <value>
Filename (or -) to write dependency output to
-detailed-preprocessing-record
include a detailed record of preprocessing actions
-diagnostic-log-file <value>
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 <filename>
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 <value>
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 <value>
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 <class name>
Specify the class to use for constant Objective-C string objects.
-fconstexpr-backtrace-limit <N>
Set the maximum number of entries to print in a constexpr evaluation backtrace (0 = no limit).
-fconstexpr-depth <value>
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 <value>
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 <value>
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 <value>
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 <N> 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=<value> 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=<value> 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 <N>
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 <N> Format message diagnostics so that they fit within N columns or fewer, when possible.
-fmodule-cache-path <directory>
Specify the module cache path
-fmodule-name=<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=<value> 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=<value>
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=<value>
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=<value> Specify the target Objective-C runtime kind and version
-foverride-record-layout=<value>
Override record layouts with those in the given file
-fpack-struct=<value> 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=<value>
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 <N> Set the tab stop distance.
-ftemplate-backtrace-limit <N>
Set the maximum number of entries to print in a template instantiation backtrace (0 = no limit).
-ftemplate-depth <value>
Maximum depth of recursive template instantiation
-fthread-sanitizer Enable ThreadSanitizer instrumentation (race detection)
-ftrap-function=<value> Issue call to specified function rather than a trap instruction
-ftrapv-handler=<function name>
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 <value> Default symbol visibility
-fwrapv Treat signed integer overflow as two's complement
-fwritable-strings Store string literals as writable data
-gcc-toolchain <value> 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 <value>
Filename (or -) to write header include output to
-help Display available options
-idirafter <value> Add directory to AFTER include search path
-iframework <value> Add directory to SYSTEM framework search path
-imacros <file> Include macros from file before parsing
-include-pch <file> Include precompiled header file
-include-pth <file> Include file before parsing
-include <file> 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 <prefix>
Treat all #include paths starting with <prefix> as not including a system header.
-internal-externc-isystem <directory>
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 <directory>
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 <dir> Set the -iwithprefix/-iwithprefixbefore prefix
-iquote <directory> Add directory to QUOTE include search path
-isysroot <dir> Set the system root directory (usually /)
-isystem-prefix <prefix>
Treat all #include paths starting with <prefix> as including a system header.
-isystem <directory> Add directory to SYSTEM include search path
-iwithprefixbefore <dir>
Set directory to include search path with prefix
-iwithprefix <dir> Set directory to SYSTEM include search path with prefix
-iwithsysroot <directory>
Add directory to SYSTEM include search path, absolute paths are relative to -isysroot
-load <dsopath> Load the named plugin (dynamic shared object)
-main-file-name <value> Main file name to use for debug info
-masm-verbose Generate verbose assembly output
-mcode-model <value> The code model to use
-mconstructor-aliases Emit complete constructors and destructors as aliases when possible
-mdebug-pass <value> 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 <value> 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 <value>
Limit float precision to the given value
-mlink-bitcode-file <value>
Link the given bitcode file before performing optimizations.
-mllvm <value> 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 <value> Limit the number of registers available for integer arguments
-mrelax-all (integrated-as) Relax all machine instructions
-mrelocation-model <value>
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=<value>
Set the stack alignment
-mstackrealign Force realign the stack at entry to every function.
-mt-migrate-directory <value>
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 <directory>
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 <directory>
Add directory to the ObjC++ SYSTEM include search path
-o <file> Write output to <file>
-pg Enable mcount instrumentation
-pic-level <value> Value for __PIC__
-pie-level <value> Value for __PIE__
-pipe Use pipes between commands, when possible
-plugin-arg-<name> <arg>
Pass <arg> to plugin <name>
-plugin <name> Use the named plugin action instead of the default action (use "help" to list available options)
-preamble-bytes=<value> 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=<file> Print the full library path of <file>
-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=<name> Print the full program path of <name>
-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 <from>;<to> Replace the contents of the <from> file with the contents of the <to> file
-resource-dir <value> 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 <filename>
File for serializing diagnostics in a binary format
-stack-protector-buffer-size <value>
Lower bound for a buffer to be considered for stack protection
-stack-protector <value>
Enable stack protectors
-static-define Should __STATIC__ be defined
-std=<value> Language standard to compile for
-stdlib=<value> C++ standard library to use
-sys-header-deps Include system headers in dependency output
-target-abi <value> Target a particular ABI type
-target-cpu <value> Target a specific cpu type
-target-feature <value> Target specific attributes
-target-linker-version <value>
Target linker version
-target <value> Generate code for the given target
-time Time individual commands
-token-cache <path> 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 <value> 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 <value>
Resolve file paths relative to the specified directory
-w Suppress all warnings.
-x <language> Treat subsequent input files as having type <language>
================================================================================
TEST checkRestrict from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:134)
TESTING: checkRestrict from config.compilers(config/BuildSystem/config/compilers.py:134)
Check for the C/CXX restrict keyword
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Possible ERROR while running compiler: ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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;
}
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:355)
TESTING: checkCxxNamespace from config.compilers(config/BuildSystem/config/compilers.py:355)
Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
namespace petsc {int dummy;}
int main() {
;
return 0;
}
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
template <class dummy> struct a {};
namespace trouble{
template <class dummy> struct a : public ::a<dummy> {};
}
trouble::a<int> uugh;
int main() {
;
return 0;
}
Popping language Cxx
compilers: C++ has namespaces
Defined "HAVE_CXX_NAMESPACE" to "1"
================================================================================
TEST checkCxxOptionalExtensions from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:330)
TESTING: checkCxxOptionalExtensions from config.compilers(config/BuildSystem/config/compilers.py:330)
Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Possible ERROR while running compiler: error message = {clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:119)
TESTING: checkCxxStaticInline from config.compilers(config/BuildSystem/config/compilers.py:119)
Check for C++ keyword: static inline
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc:6:5: warning: unused variable 'i' [-Wunused-variable]
int i = foo(1);;
^
1 warning generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
static inline int foo(int a) {return a;}
int main() {
int i = 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(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:370)
TESTING: checkCxxLibraries from config.compilers(config/BuildSystem/config/compilers.py:370)
Determines the libraries needed to link with C++
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Possible ERROR while running linker: Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl -lmpi -lSystem -lclang_rt.osx -ldl -lmpi_cxx -lmpi -lstdc++ -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
output: error message = {Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.5.0
Thread model: posix
"/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.8.0 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -ldl -lmpi -lSystem -lclang_rt.osx -ldl -lmpi_cxx -lmpi -lstdc++ -lSystem /usr/bin/../lib/clang/4.2/lib/darwin/libclang_rt.osx.a
}
Pushing language CXX
Popping language CXX
in mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
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.5.0
compilers: Unknown arg x86_64-apple-darwin12.5.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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Found library directory: -L/usr/local/Cellar/open-mpi/1.7.3/lib
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 -L/usr/local/Cellar/open-mpi/1.7.3/lib
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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Checking arg -ldl
compilers: Found library: -ldl
Library already in C list so skipping in C++
compilers: Checking arg -lmpi
compilers: Found library: -lmpi
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 -lmpi_cxx
compilers: Found library: -lmpi_cxx
compilers: Checking arg -lmpi
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/local/Cellar/open-mpi/1.7.3/lib', '-L/usr/lib/clang/4.2/lib/darwin', '-lclang_rt.osx', '-lmpi_cxx', '-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
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language C
compilers: Check that Cxx libraries can be used from Fortran
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lclang_rt.osx -lmpi_cxx -lstdc++ -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language FC
================================================================================
TEST checkFortranTypeSizes from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:528)
TESTING: checkFortranTypeSizes from config.compilers(config/BuildSystem/config/compilers.py:528)
Check whether real*8 is supported and suggest flags which will allow support
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
real*8 variable
end
Popping language FC
================================================================================
TEST checkFortranNameMangling from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:587)
TESTING: checkFortranNameMangling from config.compilers(config/BuildSystem/config/compilers.py:587)
Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL
Testing Fortran mangling type underscore with code void d1chk_(void){return;}
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
void d1chk_(void){return;}
Popping language C
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
call d1chk()
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Popping language FC
compilers: Fortran name mangling is underscore
Defined "HAVE_FORTRAN_UNDERSCORE" to "1"
================================================================================
TEST checkFortranNameManglingDouble from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:624)
TESTING: checkFortranNameManglingDouble from config.compilers(config/BuildSystem/config/compilers.py:624)
Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
void d1_chk__(void){return;}
Popping language C
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
call d1_chk()
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Possible ERROR while running linker: Undefined symbols for architecture x86_64:
"_d1_chk_", referenced from:
_main in conftest.o
(maybe you meant: _d1_chk__)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
output: ret = 256
error message = {Undefined symbols for architecture x86_64:
"_d1_chk_", referenced from:
_main in conftest.o
(maybe you meant: _d1_chk__)
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
}
Pushing language FC
Popping language FC
in mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Source:
program main
call d1_chk()
end
Popping language FC
================================================================================
TEST checkFortranPreprocessor from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:634)
TESTING: checkFortranPreprocessor from config.compilers(config/BuildSystem/config/compilers.py:634)
Determine if Fortran handles preprocessing properly
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
#define dummy
dummy
#ifndef dummy
fooey
#endif
end
Added FC compiler flag
Popping language FC
compilers: Fortran uses CPP preprocessor
================================================================================
TEST checkFortranDefineCompilerOption from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:655)
TESTING: checkFortranDefineCompilerOption from config.compilers(config/BuildSystem/config/compilers.py:655)
Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O -DTesting /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O -DTesting /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.F
sh:
Successful compile:
Source:
program main
#define dummy
dummy
#ifndef Testing
fooey
#endif
end
Popping language FC
compilers: Fortran uses -D for defining macro
================================================================================
TEST checkFortranLibraries from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:671)
TESTING: checkFortranLibraries from config.compilers(config/BuildSystem/config/compilers.py:671)
Substitutes for FLIBS the libraries needed to link with Fortran
This macro is intended to be used in those situations when it is
necessary to mix, e.g. C++ and Fortran 77, source code into a single
program or shared library.
For example, if object files from a C++ and Fortran 77 compiler must
be linked together, then the C++ compiler/linker must be used for
linking (since special C++-ish things need to happen at link time
like calling global constructors, instantiating templates, enabling
exception support, etc.).
However, the Fortran 77 intrinsic and run-time libraries must be
linked in as well, but the C++ compiler/linker does not know how to
add these Fortran 77 libraries.
This code was translated from the autoconf macro which was packaged in
its current form by Matthew D. Langston <[email protected]>.
However, nearly all of this macro came from the OCTAVE_FLIBS macro in
octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton
for writing this extremely useful macro.
Pushing language FC
sh: mpif90 -V
Executing: mpif90 -V
sh:
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -v -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -v -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Possible ERROR while running linker: Driving: /usr/local/bin/gfortran -mmacosx-version-min=10.8.5 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -v -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/lto-wrapper
Target: x86_64-apple-darwin12.4.0
Configured with: ../configure --prefix=/usr/local/Cellar/gfortran/4.8.1/gfortran --datarootdir=/usr/local/Cellar/gfortran/4.8.1/share --bindir=/usr/local/Cellar/gfortran/4.8.1/bin --enable-languages=fortran --with-system-zlib --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl --disable-cloog-version-check --disable-isl-version-check --enable-checking=release --disable-stage1-checking --disable-libstdcxx --enable-lto --disable-nls --disable-multilib
Thread model: posix
gcc version 4.8.1 (GCC)
Reading specs from /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.5' '-o' '/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-Wno-unused-variable' '-Wno-unused-dummy-argument' '-O' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-I' '/usr/local/Cellar/open-mpi/1.7.3/include' '-I' '/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-shared-libgcc' '-mtune=core2'
COMPILER_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/
LIBRARY_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../:/usr/lib/
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.5' '-o' '/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-Wno-unused-variable' '-Wno-unused-dummy-argument' '-O' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-I' '/usr/local/Cellar/open-mpi/1.7.3/include' '-I' '/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-shared-libgcc' '-mtune=core2'
/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/collect2 -dynamic -arch x86_64 -macosx_version_min 10.8.5 -weak_reference_mismatches non-weak -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../.. -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -lmpi -lSystem -lclang_rt.osx -commons use_dylibs -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
collect2 version 4.8.1
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.8.5 -weak_reference_mismatches non-weak -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../.. -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -lmpi -lSystem -lclang_rt.osx -commons use_dylibs -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-136
configured to support archs: armv6 armv7 armv7s i386 x86_64
Library search paths:
/usr/local/Cellar/open-mpi/1.7.3/lib
/usr/lib/clang/4.2/lib/darwin
/usr/lib/clang/4.2/lib/darwin
/usr/local/Cellar/open-mpi/1.7.3/lib
/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
/usr/local/Cellar/gfortran/4.8.1/gfortran/lib
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
output: error message = {Driving: /usr/local/bin/gfortran -mmacosx-version-min=10.8.5 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -v -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl -I/usr/local/Cellar/open-mpi/1.7.3/include -Wl,-commons,use_dylibs -I/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/open-mpi/1.7.3/lib -lmpi_usempi -lmpi_mpifh -lmpi -l gfortran -shared-libgcc
Using built-in specs.
COLLECT_GCC=/usr/local/bin/gfortran
COLLECT_LTO_WRAPPER=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/lto-wrapper
Target: x86_64-apple-darwin12.4.0
Configured with: ../configure --prefix=/usr/local/Cellar/gfortran/4.8.1/gfortran --datarootdir=/usr/local/Cellar/gfortran/4.8.1/share --bindir=/usr/local/Cellar/gfortran/4.8.1/bin --enable-languages=fortran --with-system-zlib --with-gmp=/usr/local/opt/gmp --with-mpfr=/usr/local/opt/mpfr --with-mpc=/usr/local/opt/libmpc --with-cloog=/usr/local/opt/cloog --with-isl=/usr/local/opt/isl --disable-cloog-version-check --disable-isl-version-check --enable-checking=release --disable-stage1-checking --disable-libstdcxx --enable-lto --disable-nls --disable-multilib
Thread model: posix
gcc version 4.8.1 (GCC)
Reading specs from /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../libgfortran.spec
rename spec lib to liborig
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.5' '-o' '/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-Wno-unused-variable' '-Wno-unused-dummy-argument' '-O' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-I' '/usr/local/Cellar/open-mpi/1.7.3/include' '-I' '/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-shared-libgcc' '-mtune=core2'
COMPILER_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/
LIBRARY_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../:/usr/lib/
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.8.5' '-o' '/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest' '-v' '-fPIC' '-Wall' '-Wno-unused-variable' '-Wno-unused-dummy-argument' '-O' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-L/usr/bin/../lib/clang/4.2/lib/darwin' '-I' '/usr/local/Cellar/open-mpi/1.7.3/include' '-I' '/usr/local/Cellar/open-mpi/1.7.3/lib' '-L/usr/local/Cellar/open-mpi/1.7.3/lib' '-shared-libgcc' '-mtune=core2'
/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/collect2 -dynamic -arch x86_64 -macosx_version_min 10.8.5 -weak_reference_mismatches non-weak -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../.. -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -lmpi -lSystem -lclang_rt.osx -commons use_dylibs -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
collect2 version 4.8.1
/usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.8.5 -weak_reference_mismatches non-weak -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../.. -multiply_defined suppress -multiply_defined suppress -commons use_dylibs -search_paths_first /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -lmpi -lSystem -lclang_rt.osx -commons use_dylibs -lmpi_usempi -lmpi_mpifh -lmpi -lgfortran -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lquadmath -lm -lgcc_ext.10.5 -lgcc -lSystem -v
@(#)PROGRAM:ld PROJECT:ld64-136
configured to support archs: armv6 armv7 armv7s i386 x86_64
Library search paths:
/usr/local/Cellar/open-mpi/1.7.3/lib
/usr/lib/clang/4.2/lib/darwin
/usr/lib/clang/4.2/lib/darwin
/usr/local/Cellar/open-mpi/1.7.3/lib
/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
/usr/local/Cellar/gfortran/4.8.1/gfortran/lib
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
}
Pushing language FC
Popping language FC
in mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -v -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Source:
program main
end
Popping language FC
compilers: Checking arg Driving:
compilers: Unknown arg Driving:
compilers: Checking arg /usr/local/bin/gfortran
compilers: Unknown arg /usr/local/bin/gfortran
compilers: Checking arg -mmacosx-version-min=10.8.5
compilers: Unknown arg -mmacosx-version-min=10.8.5
compilers: Checking arg -o
compilers: Unknown arg -o
compilers: Checking arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Checking arg -v
compilers: Unknown arg -v
compilers: Checking arg -Wl,-multiply_defined,suppress
compilers: Unknown arg -Wl,-multiply_defined,suppress
compilers: Checking arg -Wl,-multiply_defined
compilers: Unknown arg -Wl,-multiply_defined
compilers: Checking arg -Wl,suppress
compilers: Unknown arg -Wl,suppress
compilers: Checking arg -Wl,-commons,use_dylibs
compilers: Unknown arg -Wl,-commons,use_dylibs
compilers: Checking arg -Wl,-search_paths_first
compilers: Unknown arg -Wl,-search_paths_first
compilers: Checking arg -fPIC
compilers: Unknown arg -fPIC
compilers: Checking arg -Wall
compilers: Unknown arg -Wall
compilers: Checking arg -Wno-unused-variable
compilers: Unknown arg -Wno-unused-variable
compilers: Checking arg -Wno-unused-dummy-argument
compilers: Unknown arg -Wno-unused-dummy-argument
compilers: Checking arg -O
compilers: Unknown arg -O
compilers: Checking arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Found library directory: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -ldl
compilers: Found library: -ldl
Library already in C list so skipping in Fortran
compilers: Checking arg -lmpi
compilers: Found library: -lmpi
Library already in C list so skipping in Fortran
compilers: Checking arg -lSystem
compilers: Found library: -lSystem
Library already in C list so skipping in Fortran
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: Already in lflags so skipping: -L/usr/lib/clang/4.2/lib/darwin
compilers: Checking arg -lclang_rt.osx
compilers: Found library: -lclang_rt.osx
Library already in Cxx list so skipping in Fortran
compilers: Checking arg -ldl
compilers: Already in lflags: -ldl
compilers: Checking arg -I/usr/local/Cellar/open-mpi/1.7.3/include
compilers: Found include directory: /usr/local/Cellar/open-mpi/1.7.3/include
compilers: Checking arg -Wl,-commons,use_dylibs
compilers: Unknown arg -Wl,-commons,use_dylibs
compilers: Checking arg -I/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Found include directory: /usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Already in lflags so skipping: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -lmpi_usempi
compilers: Found library: -lmpi_usempi
compilers: Checking arg -lmpi_mpifh
compilers: Found library: -lmpi_mpifh
compilers: Checking arg -lmpi
compilers: Already in lflags: -lmpi
compilers: Checking arg -l
compilers: Found canonical library: -lgfortran
compilers: Checking arg -shared-libgcc
compilers: Unknown arg -shared-libgcc
compilers: Checking arg Using
compilers: Unknown arg Using
compilers: Checking arg built-in
compilers: Unknown arg built-in
compilers: Checking arg specs.
compilers: Unknown arg specs.
compilers: Checking arg COLLECT_GCC=/usr/local/bin/gfortran
compilers: Unknown arg COLLECT_GCC=/usr/local/bin/gfortran
compilers: Checking arg COLLECT_LTO_WRAPPER=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/lto-wrapper
compilers: Unknown arg COLLECT_LTO_WRAPPER=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/lto-wrapper
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 Configured
compilers: Unknown arg Configured
compilers: Checking arg with:
compilers: Unknown arg with:
compilers: Checking arg ../configure
compilers: Unknown arg ../configure
compilers: Checking arg --prefix=/usr/local/Cellar/gfortran/4.8.1/gfortran
compilers: Unknown arg --prefix=/usr/local/Cellar/gfortran/4.8.1/gfortran
compilers: Checking arg --datarootdir=/usr/local/Cellar/gfortran/4.8.1/share
compilers: Unknown arg --datarootdir=/usr/local/Cellar/gfortran/4.8.1/share
compilers: Checking arg --bindir=/usr/local/Cellar/gfortran/4.8.1/bin
compilers: Unknown arg --bindir=/usr/local/Cellar/gfortran/4.8.1/bin
compilers: Checking arg --enable-languages=fortran
compilers: Unknown arg --enable-languages=fortran
compilers: Checking arg --with-system-zlib
compilers: Unknown arg --with-system-zlib
compilers: Checking arg --with-gmp=/usr/local/opt/gmp
compilers: Unknown arg --with-gmp=/usr/local/opt/gmp
compilers: Checking arg --with-mpfr=/usr/local/opt/mpfr
compilers: Unknown arg --with-mpfr=/usr/local/opt/mpfr
compilers: Checking arg --with-mpc=/usr/local/opt/libmpc
compilers: Unknown arg --with-mpc=/usr/local/opt/libmpc
compilers: Checking arg --with-cloog=/usr/local/opt/cloog
compilers: Unknown arg --with-cloog=/usr/local/opt/cloog
compilers: Checking arg --with-isl=/usr/local/opt/isl
compilers: Unknown arg --with-isl=/usr/local/opt/isl
compilers: Checking arg --disable-cloog-version-check
compilers: Unknown arg --disable-cloog-version-check
compilers: Checking arg --disable-isl-version-check
compilers: Unknown arg --disable-isl-version-check
compilers: Checking arg --enable-checking=release
compilers: Unknown arg --enable-checking=release
compilers: Checking arg --disable-stage1-checking
compilers: Unknown arg --disable-stage1-checking
compilers: Checking arg --disable-libstdcxx
compilers: Unknown arg --disable-libstdcxx
compilers: Checking arg --enable-lto
compilers: Unknown arg --enable-lto
compilers: Checking arg --disable-nls
compilers: Unknown arg --disable-nls
compilers: Checking arg --disable-multilib
compilers: Unknown arg --disable-multilib
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 gcc
compilers: Unknown arg gcc
compilers: Checking arg version
compilers: Unknown arg version
compilers: Checking arg 4.8.1
compilers: Unknown arg 4.8.1
compilers: Checking arg (GCC)
compilers: Unknown arg (GCC)
compilers: Checking arg Reading
compilers: Unknown arg Reading
compilers: Checking arg specs
compilers: Unknown arg specs
compilers: Checking arg from
compilers: Unknown arg from
compilers: Checking arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../libgfortran.spec
compilers: Unknown arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../libgfortran.spec
compilers: Checking arg rename
compilers: Unknown arg rename
compilers: Checking arg spec
compilers: Unknown arg spec
compilers: Checking arg lib
compilers: Unknown arg lib
compilers: Checking arg to
compilers: Unknown arg to
compilers: Checking arg liborig
compilers: Unknown arg liborig
compilers: Checking arg COLLECT_GCC_OPTIONS=
compilers: Unknown arg COLLECT_GCC_OPTIONS=
compilers: Checking arg COMPILER_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/
compilers: Skipping arg COMPILER_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/
compilers: Checking arg LIBRARY_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../:/usr/lib/
compilers: Skipping arg LIBRARY_PATH=/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/:/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../../:/usr/lib/
compilers: Checking arg COLLECT_GCC_OPTIONS=
compilers: Unknown arg COLLECT_GCC_OPTIONS=
compilers: Checking arg /usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/collect2
compilers: Unknown arg /usr/local/Cellar/gfortran/4.8.1/gfortran/libexec/gcc/x86_64-apple-darwin12.4.0/4.8.1/collect2
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.5
compilers: Unknown arg 10.8.5
compilers: Checking arg -weak_reference_mismatches
compilers: Unknown arg -weak_reference_mismatches
compilers: Checking arg non-weak
compilers: Unknown arg non-weak
compilers: Checking arg -o
compilers: Unknown arg -o
compilers: Checking arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Already in lflags so skipping: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin
compilers: Already in lflags so skipping: -L/usr/lib/clang/4.2/lib/darwin
compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin
compilers: Already in lflags so skipping: -L/usr/lib/clang/4.2/lib/darwin
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Already in lflags so skipping: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Found library directory: -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Checking arg -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../..
compilers: Found library directory: -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib
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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Checking arg -lmpi
compilers: Already in lflags: -lmpi
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -lclang_rt.osx
compilers: Already in lflags: -lclang_rt.osx
compilers: Checking arg -commons
compilers: Unknown arg -commons
compilers: Checking arg use_dylibs
compilers: Unknown arg use_dylibs
compilers: Checking arg -lmpi_usempi
compilers: Already in lflags: -lmpi_usempi
compilers: Checking arg -lmpi_mpifh
compilers: Already in lflags: -lmpi_mpifh
compilers: Checking arg -lmpi
compilers: Already in lflags: -lmpi
compilers: Checking arg -lgfortran
compilers: Found library: -lgfortran
compilers: Checking arg -no_compact_unwind
compilers: Unknown arg -no_compact_unwind
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -lgcc_ext.10.5
compilers: Found library: -lgcc_ext.10.5
compilers: Checking arg -lgcc
compilers: Found system library therefor skipping: -lgcc
compilers: Checking arg -lquadmath
compilers: Found library: -lquadmath
compilers: Checking arg -lm
compilers: Found library: -lm
compilers: Checking arg -lgcc_ext.10.5
compilers: Already in lflags: -lgcc_ext.10.5
compilers: Checking arg -lgcc
compilers: Found system library therefor skipping: -lgcc
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -v
compilers: Unknown arg -v
compilers: Checking arg collect2
compilers: Unknown arg collect2
compilers: Checking arg version
compilers: Unknown arg version
compilers: Checking arg 4.8.1
compilers: Unknown arg 4.8.1
compilers: Checking arg /usr/bin/ld
compilers: Unknown arg /usr/bin/ld
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.5
compilers: Unknown arg 10.8.5
compilers: Checking arg -weak_reference_mismatches
compilers: Unknown arg -weak_reference_mismatches
compilers: Checking arg non-weak
compilers: Unknown arg non-weak
compilers: Checking arg -o
compilers: Unknown arg -o
compilers: Checking arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Already in lflags so skipping: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin
compilers: Already in lflags so skipping: -L/usr/lib/clang/4.2/lib/darwin
compilers: Checking arg -L/usr/bin/../lib/clang/4.2/lib/darwin
compilers: Already in lflags so skipping: -L/usr/lib/clang/4.2/lib/darwin
compilers: Checking arg -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Already in lflags so skipping: -L/usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Already in lflags so skipping: -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Checking arg -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1/../../..
compilers: Already in lflags so skipping: -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib
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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Unknown arg /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o
compilers: Checking arg -lmpi
compilers: Already in lflags: -lmpi
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -lclang_rt.osx
compilers: Already in lflags: -lclang_rt.osx
compilers: Checking arg -commons
compilers: Unknown arg -commons
compilers: Checking arg use_dylibs
compilers: Unknown arg use_dylibs
compilers: Checking arg -lmpi_usempi
compilers: Already in lflags: -lmpi_usempi
compilers: Checking arg -lmpi_mpifh
compilers: Already in lflags: -lmpi_mpifh
compilers: Checking arg -lmpi
compilers: Already in lflags: -lmpi
compilers: Checking arg -lgfortran
compilers: Already in lflags: -lgfortran
compilers: Checking arg -no_compact_unwind
compilers: Unknown arg -no_compact_unwind
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -lgcc_ext.10.5
compilers: Already in lflags: -lgcc_ext.10.5
compilers: Checking arg -lgcc
compilers: Found system library therefor skipping: -lgcc
compilers: Checking arg -lquadmath
compilers: Already in lflags: -lquadmath
compilers: Checking arg -lm
compilers: Found library: -lm
compilers: Checking arg -lgcc_ext.10.5
compilers: Already in lflags: -lgcc_ext.10.5
compilers: Checking arg -lgcc
compilers: Found system library therefor skipping: -lgcc
compilers: Checking arg -lSystem
compilers: Already in lflags: -lSystem
compilers: Checking arg -v
compilers: Unknown arg -v
compilers: Checking arg @(#)PROGRAM:ld
compilers: Unknown arg @(#)PROGRAM:ld
compilers: Checking arg PROJECT:ld64-136
compilers: Unknown arg PROJECT:ld64-136
compilers: Checking arg configured
compilers: Unknown arg configured
compilers: Checking arg to
compilers: Unknown arg to
compilers: Checking arg support
compilers: Unknown arg support
compilers: Checking arg archs:
compilers: Unknown arg archs:
compilers: Checking arg armv6
compilers: Unknown arg armv6
compilers: Checking arg armv7
compilers: Unknown arg armv7
compilers: Checking arg armv7s
compilers: Unknown arg armv7s
compilers: Checking arg i386
compilers: Unknown arg i386
compilers: Checking arg x86_64
compilers: Unknown arg x86_64
compilers: Checking arg Library
compilers: Unknown arg Library
compilers: Checking arg search
compilers: Unknown arg search
compilers: Checking arg paths:
compilers: Unknown arg paths:
compilers: Checking arg /usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Unknown arg /usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg /usr/lib/clang/4.2/lib/darwin
compilers: Unknown arg /usr/lib/clang/4.2/lib/darwin
compilers: Checking arg /usr/lib/clang/4.2/lib/darwin
compilers: Unknown arg /usr/lib/clang/4.2/lib/darwin
compilers: Checking arg /usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Unknown arg /usr/local/Cellar/open-mpi/1.7.3/lib
compilers: Checking arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Unknown arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1
compilers: Checking arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib
compilers: Unknown arg /usr/local/Cellar/gfortran/4.8.1/gfortran/lib
compilers: Checking arg /usr/lib
compilers: Unknown arg /usr/lib
compilers: Checking arg /usr/local/lib
compilers: Unknown arg /usr/local/lib
compilers: Checking arg Framework
compilers: Unknown arg Framework
compilers: Checking arg search
compilers: Unknown arg search
compilers: Checking arg paths:
compilers: Unknown arg paths:
compilers: Checking arg /Library/Frameworks/
compilers: Unknown arg /Library/Frameworks/
compilers: Checking arg /System/Library/Frameworks/
compilers: Unknown arg /System/Library/Frameworks/
compilers: Libraries needed to link Fortran code with the C linker: ['-L/usr/local/Cellar/open-mpi/1.7.3/lib', '-L/usr/lib/clang/4.2/lib/darwin', '-lmpi_usempi', '-lmpi_mpifh', '-lgfortran', '-L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1', '-L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib', '-lgfortran', '-lgcc_ext.10.5', '-lquadmath', '-lm', '-lm']
compilers: Libraries needed to link Fortran main with the C linker: []
compilers: Check that Fortran libraries can be used from C
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language C
compilers: Check that Fortran libraries can be used from C++
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
int main() {
;
return 0;
}
Pushing language CXX
Popping language CXX
sh: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicxx -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest -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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -L/usr/lib/clang/4.2/lib/darwin -lmpi_usempi -lmpi_mpifh -lgfortran -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib/gcc/x86_64-apple-darwin12.4.0/4.8.1 -L/usr/local/Cellar/gfortran/4.8.1/gfortran/lib -lgfortran -lgcc_ext.10.5 -lquadmath -lm -lm -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers/conftest
sh:
Popping language Cxx
compilers: Fortran libraries can be used from C++
================================================================================
TEST checkFortranLinkingCxx from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1016)
TESTING: checkFortranLinkingCxx from config.compilers(config/BuildSystem/config/compilers.py:1016)
Check that Fortran can be linked against C++
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
extern "C" void d1chk_(void);
void foo(void){d1chk_();}
Popping language Cxx
Pushing language Cxx
sh: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
Executing: mpicxx -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O -fPIC /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.cc
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
extern "C" void d1chk_(void);
void d1chk_(void){return;}
Popping language Cxx
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
call d1chk()
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/cxxobj.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/cxxobj.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confc.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Popping language FC
compilers: Fortran can link C++ functions
================================================================================
TEST checkFortran90 from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1051)
TESTING: checkFortran90 from config.compilers(config/BuildSystem/config/compilers.py:1051)
Determine whether the Fortran compiler handles F90
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
INTEGER, PARAMETER :: int = SELECTED_INT_KIND(8)
INTEGER (KIND=int) :: ierr
ierr = 1
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Defined "USING_F90" to "1"
Fortran compiler supports F90
Popping language FC
================================================================================
TEST checkFortran2003 from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1064)
TESTING: checkFortran2003 from config.compilers(config/BuildSystem/config/compilers.py:1064)
Determine whether the Fortran compiler handles F2003
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F: In function 'main':
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F:4:0: warning: 'carray.dim[0].stride' may be used uninitialized in this function [-Wmaybe-uninitialized]
Type(C_Ptr),Dimension(:),Pointer :: CArray
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F:9:0: warning: 'carray.dim[0].lbound' may be used uninitialized in this function [-Wmaybe-uninitialized]
CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/)
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F:4:0: note: 'carray.dim[0].lbound' was declared here
Type(C_Ptr),Dimension(:),Pointer :: CArray
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F:9:0: warning: 'carray.offset' may be used uninitialized in this function [-Wmaybe-uninitialized]
CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/)
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F:4:0: note: 'carray.offset' was declared here
Type(C_Ptr),Dimension(:),Pointer :: CArray
^
}
Source:
program main
use,intrinsic :: iso_c_binding
Type(C_Ptr),Dimension(:),Pointer :: CArray
character(kind=c_char),pointer :: nullc => null()
character(kind=c_char,len=5),dimension(:),pointer::list1
allocate(list1(5))
CArray = (/(c_loc(list1(i)),i=1,5),c_loc(nullc)/)
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Defined "USING_F2003" to "1"
Fortran compiler supports F2003
Popping language FC
================================================================================
TEST checkFortran90Array from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1084)
TESTING: checkFortran90Array from config.compilers(config/BuildSystem/config/compilers.py:1084)
Check for F90 array interfaces
sh: uname -s
Executing: uname -s
sh: Darwin
Pushing language C
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include<stdio.h>
#include <stdlib.h>
void f90arraytest_(void* a1, void* a2,void* a3, void* i)
{
printf("arrays [%p %p %p]\n",a1,a2,a3);
fflush(stdout);
return;
}
void f90ptrtest_(void* a1, void* a2,void* a3, void* i, void* p1 ,void* p2, void* p3)
{
printf("arrays [%p %p %p]\n",a1,a2,a3);
if ((p1 == p3) && (p1 != p2)) {
printf("pointers match! [%p %p] [%p]\n",p1,p3,p2);
fflush(stdout);
} else {
printf("pointers do not match! [%p %p] [%p]\n",p1,p3,p2);
fflush(stdout);
abort();
}
return;
}
Popping language C
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
Interface
Subroutine f90ptrtest(p1,p2,p3,i)
integer, pointer :: p1(:,:)
integer, pointer :: p2(:,:)
integer, pointer :: p3(:,:)
integer i
End Subroutine
End Interface
integer, pointer :: ptr1(:,:),ptr2(:,:)
integer, target :: array(6:8,9:21)
integer in
in = 25
ptr1 => array
ptr2 => array
call f90arraytest(ptr1,ptr2,ptr1,in)
call f90ptrtest(ptr1,ptr2,ptr1,in)
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/fooobj.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/fooobj.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest
sh: arrays [0x7fff547f31a0 0x7fff547f31a0 0x7fff547f31a0]
arrays [0x7fff547f3150 0x7fff547f3100 0x7fff547f3150]
pointers do not match! [0x7fff98dff4f0 0x7fff547f31a0] [0x10]
ERROR while running executable: Could not execute "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest":
arrays [0x7fff547f31a0 0x7fff547f31a0 0x7fff547f31a0]
arrays [0x7fff547f3150 0x7fff547f3100 0x7fff547f3150]
pointers do not match! [0x7fff98dff4f0 0x7fff547f31a0] [0x10]
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x10b5802b2
#1 0x10b580a7e
#2 0x7fff98d59909
Popping language FC
compilers: F90 uses a single argument for array pointers
================================================================================
TEST checkFortranModuleInclude from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1171)
TESTING: checkFortranModuleInclude from config.compilers(config/BuildSystem/config/compilers.py:1171)
Figures out what flag is used to specify the include path for Fortran modules
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
module configtest
integer testint
parameter (testint = 42)
end module configtest
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
program main
use configtest
write(*,*) testint
end
Pushing language FC
Popping language FC
sh: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/configtest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpif90 -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/configtest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
compilers: Fortran module include flag -I found
Popping language FC
================================================================================
TEST checkFortranModuleOutput from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1237)
TESTING: checkFortranModuleOutput from config.compilers(config/BuildSystem/config/compilers.py:1237)
Figures out what flag is used to specify the include path for Fortran modules
Pushing language FC
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -module /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -module /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Possible ERROR while running compiler: ret = 256
error message = {gfortran: error: unrecognized command line option '-module'
}
Source:
module configtest
integer testint
parameter (testint = 42)
end module configtest
compilers: Fortran module output flag -module compile failed
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -module:/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -module:/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Possible ERROR while running compiler: ret = 256
error message = {gfortran: error: unrecognized command line option '-module:/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir'
}
Source:
module configtest
integer testint
parameter (testint = 42)
end module configtest
compilers: Fortran module output flag -module: compile failed
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fmod=/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fmod=/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Possible ERROR while running compiler: ret = 256
error message = {gfortran: error: unrecognized command line option '-fmod=/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir'
}
Source:
module configtest
integer testint
parameter (testint = 42)
end module configtest
compilers: Fortran module output flag -fmod= compile failed
sh: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -J/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
Executing: mpif90 -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -J/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/confdir -fPIC -Wall -Wno-unused-variable -Wno-unused-dummy-argument -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers/conftest.F
sh:
Successful compile:
Source:
module configtest
integer testint
parameter (testint = 42)
end module configtest
compilers: Fortran module output flag -J found
Popping language FC
================================================================================
TEST setupFrameworkCompilers from config.compilers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/compilers.py:1364)
TESTING: setupFrameworkCompilers from config.compilers(config/BuildSystem/config/compilers.py:1364)
================================================================================
TEST configureFortranCPP from PETSc.utilities.fortranCPP(/private/tmp/petsc-3.4.3/config/PETSc/utilities/fortranCPP.py:27)
TESTING: configureFortranCPP from PETSc.utilities.fortranCPP(config/PETSc/utilities/fortranCPP.py:27)
Handle case where Fortran cannot preprocess properly
Defined make rule ".f.o .f90.o .f95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} -o $@ $<']
Defined make rule ".f.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o']
Defined make rule ".F.o .F90.o .F95.o" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} -o $@ $<']
Defined make rule ".F.a" with dependencies "" and code ['${PETSC_MAKE_STOP_ON_ERROR}${FC} -c ${FFLAGS} ${FC_FLAGS} ${FCPPFLAGS} $<', '-${AR} ${AR_FLAGS} ${LIBNAME} $*.o', '-${RM} $*.o']
================================================================================
TEST checkStdC from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:105)
TESTING: checkStdC from config.headers(config/BuildSystem/config/headers.py:105)
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <float.h>
int main() {
;
return 0;
}
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/string.h" 1 3 4
# 61 "/usr/include/string.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;
# 62 "/usr/include/string.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
# 65 "/usr/include/string.h" 2 3 4
typedef __darwin_size_t size_t;
# 80 "/usr/include/string.h" 3 4
void *memchr(const void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
char *strcat(char *, const char *);
char *strchr(const char *, int);
int strcmp(const char *, const char *);
int strcoll(const char *, const char *);
char *strcpy(char *, const char *);
size_t strcspn(const char *, const char *);
char *strerror(int) __asm("_" "strerror" );
size_t strlen(const char *);
char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
char *strpbrk(const char *, const char *);
char *strrchr(const char *, int);
size_t strspn(const char *, const char *);
char *strstr(const char *, const char *);
char *strtok(char *, const char *);
size_t strxfrm(char *, const char *, size_t);
# 114 "/usr/include/string.h" 3 4
char *strtok_r(char *, const char *, char **);
# 126 "/usr/include/string.h" 3 4
int strerror_r(int, char *, size_t);
char *strdup(const char *);
void *memccpy(void *, const void *, int, size_t);
# 140 "/usr/include/string.h" 3 4
char *stpcpy(char *, const char *);
char *stpncpy(char *, const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
char *strndup(const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
size_t strnlen(const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
char *strsignal(int sig);
# 155 "/usr/include/string.h" 3 4
typedef __darwin_ssize_t ssize_t;
void *memmem(const void *, size_t, const void *, size_t) __attribute__((availability(macosx,introduced=10.7)));
void memset_pattern4(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
void memset_pattern8(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
void memset_pattern16(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
char *strcasestr(const char *, const char *);
char *strnstr(const char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
void strmode(int, char *);
char *strsep(char **, const char *);
void swab(const void * restrict, void * restrict, ssize_t);
# 1 "/usr/include/strings.h" 1 3 4
# 74 "/usr/include/strings.h" 3 4
int bcmp(const void *, const void *, size_t) ;
void bcopy(const void *, void *, size_t) ;
void bzero(void *, size_t) ;
char *index(const char *, int) ;
char *rindex(const char *, int) ;
int ffs(int);
int strcasecmp(const char *, const char *);
int strncasecmp(const char *, const char *, size_t);
int ffsl(long) __attribute__((availability(macosx,introduced=10.5)));
int fls(int) __attribute__((availability(macosx,introduced=10.5)));
int flsl(long) __attribute__((availability(macosx,introduced=10.5)));
# 1 "/usr/include/string.h" 1 3 4
# 95 "/usr/include/strings.h" 2 3 4
# 181 "/usr/include/string.h" 2 3 4
# 190 "/usr/include/string.h" 3 4
# 1 "/usr/include/secure/_string.h" 1 3 4
# 32 "/usr/include/secure/_string.h" 3 4
# 1 "/usr/include/secure/_common.h" 1 3 4
# 33 "/usr/include/secure/_string.h" 2 3 4
# 58 "/usr/include/secure/_string.h" 3 4
static __inline void *
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
{
return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}
static __inline void *
__inline_memmove_chk (void *__dest, const void *__src, size_t __len)
{
return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}
static __inline void *
__inline_memset_chk (void *__dest, int __val, size_t __len)
{
return __builtin___memset_chk (__dest, __val, __len, __builtin_object_size (__dest, 0));
}
static __inline char *
__inline_strcpy_chk (char *restrict __dest, const char *restrict __src)
{
return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_stpcpy_chk (char *__dest, const char *__src)
{
return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_stpncpy_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___stpncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strncpy_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strcat_chk (char *restrict __dest, const char *restrict __src)
{
return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strncat_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
# 191 "/usr/include/string.h" 2 3 4
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <stdlib.h>
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main() {
int i;
for(i = 0; i < 256; i++) if (XOR(islower(i), ISLOWER(i)) || toupper(i) != TOUPPER(i)) exit(2);
exit(0);
;
return 0;
}
Pushing language C
Popping language C
sh: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
Executing: mpicc -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/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 -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -L/usr/local/Cellar/open-mpi/1.7.3/lib -ldl -lmpi -lSystem -L/usr/bin/../lib/clang/4.2/lib/darwin -L/usr/bin/../lib/clang/4.2/lib/darwin -lclang_rt.osx -ldl
sh:
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest
sh: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest
Executing: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest
sh:
Defined "STDC_HEADERS" to "1"
================================================================================
TEST checkStat from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:138)
TESTING: checkStat from config.headers(config/BuildSystem/config/headers.py:138)
Checks whether stat file-mode macros are broken, and defines STAT_MACROS_BROKEN if they are
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/types.h" 1 3 4
# 72 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 73 "/usr/include/sys/types.h" 2 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
# 76 "/usr/include/sys/types.h" 2 3 4
# 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
# 70 "/usr/include/i386/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;
# 71 "/usr/include/i386/types.h" 2 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
# 79 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 3 4
# 1 "/usr/include/machine/_types.h" 1 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];
# 80 "/usr/include/sys/types.h" 2 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
# 82 "/usr/include/sys/types.h" 2 3 4
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef int32_t daddr_t;
typedef __darwin_dev_t dev_t;
typedef u_int32_t fixpt_t;
typedef __darwin_blkcnt_t blkcnt_t;
typedef __darwin_blksize_t blksize_t;
typedef __darwin_gid_t gid_t;
typedef __uint32_t in_addr_t;
typedef __uint16_t in_port_t;
typedef __darwin_ino_t ino_t;
typedef __darwin_ino64_t ino64_t;
typedef __int32_t key_t;
typedef __darwin_mode_t mode_t;
typedef __uint16_t nlink_t;
typedef __darwin_id_t id_t;
typedef __darwin_pid_t pid_t;
typedef __darwin_off_t off_t;
typedef int32_t segsz_t;
typedef int32_t swblk_t;
typedef __darwin_uid_t uid_t;
# 223 "/usr/include/sys/types.h" 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
typedef __darwin_ssize_t ssize_t;
typedef __darwin_time_t time_t;
typedef __darwin_useconds_t useconds_t;
typedef __darwin_suseconds_t suseconds_t;
# 260 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 184 "/usr/include/sys/_structs.h" 3 4
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))));
}
# 261 "/usr/include/sys/types.h" 2 3 4
typedef __int32_t fd_mask;
# 303 "/usr/include/sys/types.h" 3 4
typedef __darwin_pthread_attr_t pthread_attr_t;
typedef __darwin_pthread_cond_t pthread_cond_t;
typedef __darwin_pthread_condattr_t pthread_condattr_t;
typedef __darwin_pthread_mutex_t pthread_mutex_t;
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
typedef __darwin_pthread_once_t pthread_once_t;
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
typedef __darwin_pthread_t pthread_t;
typedef __darwin_pthread_key_t pthread_key_t;
typedef __darwin_fsblkcnt_t fsblkcnt_t;
typedef __darwin_fsfilcnt_t fsfilcnt_t;
# 5 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/stat.h" 1 3 4
# 75 "/usr/include/sys/stat.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
# 76 "/usr/include/sys/stat.h" 2 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;
};
# 80 "/usr/include/sys/stat.h" 2 3 4
# 153 "/usr/include/sys/stat.h" 3 4
struct ostat {
__uint16_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
__uint16_t st_uid;
__uint16_t st_gid;
__uint16_t st_rdev;
__int32_t st_size;
struct timespec st_atimespec;
struct timespec st_mtimespec;
struct timespec st_ctimespec;
__int32_t st_blksize;
__int32_t st_blocks;
__uint32_t st_flags;
__uint32_t st_gen;
};
# 225 "/usr/include/sys/stat.h" 3 4
struct stat { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; };
# 264 "/usr/include/sys/stat.h" 3 4
struct stat64 { dev_t st_dev; mode_t st_mode; nlink_t st_nlink; __darwin_ino64_t st_ino; uid_t st_uid; gid_t st_gid; dev_t st_rdev; struct timespec st_atimespec; struct timespec st_mtimespec; struct timespec st_ctimespec; struct timespec st_birthtimespec; off_t st_size; blkcnt_t st_blocks; blksize_t st_blksize; __uint32_t st_flags; __uint32_t st_gen; __int32_t st_lspare; __int64_t st_qspare[2]; };
# 430 "/usr/include/sys/stat.h" 3 4
int chmod(const char *, mode_t) __asm("_" "chmod" );
int fchmod(int, mode_t) __asm("_" "fchmod" );
int fstat(int, struct stat *) __asm("_" "fstat" "$INODE64");
int lstat(const char *, struct stat *) __asm("_" "lstat" "$INODE64");
int mkdir(const char *, mode_t);
int mkfifo(const char *, mode_t);
int stat(const char *, struct stat *) __asm("_" "stat" "$INODE64");
int mknod(const char *, mode_t, dev_t);
mode_t umask(mode_t);
struct _filesec;
typedef struct _filesec *filesec_t;
int chflags(const char *, __uint32_t);
int chmodx_np(const char *, filesec_t);
int fchflags(int, __uint32_t);
int fchmodx_np(int, filesec_t);
int fstatx_np(int, struct stat *, filesec_t) __asm("_" "fstatx_np" "$INODE64");
int lchflags(const char *, __uint32_t) __attribute__((availability(macosx,introduced=10.5)));
int lchmod(const char *, mode_t) __attribute__((availability(macosx,introduced=10.5)));
int lstatx_np(const char *, struct stat *, filesec_t) __asm("_" "lstatx_np" "$INODE64");
int mkdirx_np(const char *, filesec_t);
int mkfifox_np(const char *, filesec_t);
int statx_np(const char *, struct stat *, filesec_t) __asm("_" "statx_np" "$INODE64");
int umaskx_np(filesec_t) __attribute__((availability(macosx,introduced=10.4,deprecated=10.6)));
int fstatx64_np(int, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
int lstatx64_np(const char *, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
int statx64_np(const char *, struct stat64 *, filesec_t) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
int fstat64(int, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
int lstat64(const char *, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
int stat64(const char *, struct stat64 *) __attribute__((availability(macosx,introduced=10.5,deprecated=10.6)));
# 6 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 29 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
================================================================================
TEST checkSysWait from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:173)
TESTING: checkSysWait from config.headers(config/BuildSystem/config/headers.py:173)
Check for POSIX.1 compatible sys/wait.h, and defines HAVE_SYS_WAIT_H if found
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh:
Successful compile:
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>
#include <sys/wait.h>
#ifndef WEXITSTATUS
#define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
#endif
#ifndef WIFEXITED
#define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
#endif
int main() {
int s;
wait (&s);
s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
;
return 0;
}
Defined "HAVE_SYS_WAIT_H" to "1"
================================================================================
TEST checkTime from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:195)
TESTING: checkTime from config.headers(config/BuildSystem/config/headers.py:195)
Checks if you can safely include both <sys/time.h> and <time.h>, and if so defines TIME_WITH_SYS_TIME
Checking for header: time.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/time.h" 1 3 4
# 66 "/usr/include/time.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;
# 67 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/_structs.h" 1 3 4
# 24 "/usr/include/_structs.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;
};
# 25 "/usr/include/_structs.h" 2 3 4
# 70 "/usr/include/time.h" 2 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
typedef __darwin_time_t time_t;
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
};
# 113 "/usr/include/time.h" 3 4
extern char *tzname[];
extern int getdate_err;
extern long timezone __asm("_" "timezone" );
extern int daylight;
char *asctime(const struct tm *);
clock_t clock(void) __asm("_" "clock" );
char *ctime(const time_t *);
double difftime(time_t, time_t);
struct tm *getdate(const char *);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t mktime(struct tm *) __asm("_" "mktime" );
size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );
char *strptime(const char * restrict, const char * restrict, struct tm * restrict) __asm("_" "strptime" );
time_t time(time_t *);
void tzset(void);
char *asctime_r(const struct tm * restrict, char * restrict);
char *ctime_r(const time_t *, char *);
struct tm *gmtime_r(const time_t * restrict, struct tm * restrict);
struct tm *localtime_r(const time_t * restrict, struct tm * restrict);
time_t posix2time(time_t);
void tzsetwall(void);
time_t time2posix(time_t);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" );
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_TIME_H" to "1"
Checking for header: sys/time.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/time.h" 1 3 4
# 67 "/usr/include/sys/time.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
# 68 "/usr/include/sys/time.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 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];
# 69 "/usr/include/sys/time.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
# 70 "/usr/include/sys/time.h" 2 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;
};
# 184 "/usr/include/sys/_structs.h" 3 4
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/time.h" 2 3 4
typedef __darwin_time_t time_t;
typedef __darwin_suseconds_t suseconds_t;
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
};
# 144 "/usr/include/sys/time.h" 3 4
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
# 187 "/usr/include/sys/time.h" 3 4
struct clockinfo {
int hz;
int tick;
int tickadj;
int stathz;
int profhz;
};
# 1 "/usr/include/time.h" 1 3 4
# 66 "/usr/include/time.h" 3 4
# 1 "/usr/include/_types.h" 1 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;
# 67 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/_structs.h" 1 3 4
# 24 "/usr/include/_structs.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 25 "/usr/include/_structs.h" 2 3 4
# 70 "/usr/include/time.h" 2 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
};
# 113 "/usr/include/time.h" 3 4
extern char *tzname[];
extern int getdate_err;
extern long timezone __asm("_" "timezone" );
extern int daylight;
char *asctime(const struct tm *);
clock_t clock(void) __asm("_" "clock" );
char *ctime(const time_t *);
double difftime(time_t, time_t);
struct tm *getdate(const char *);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t mktime(struct tm *) __asm("_" "mktime" );
size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );
char *strptime(const char * restrict, const char * restrict, struct tm * restrict) __asm("_" "strptime" );
time_t time(time_t *);
void tzset(void);
char *asctime_r(const struct tm * restrict, char * restrict);
char *ctime_r(const time_t *, char *);
struct tm *gmtime_r(const time_t * restrict, struct tm * restrict);
struct tm *localtime_r(const time_t * restrict, struct tm * restrict);
time_t posix2time(time_t);
void tzsetwall(void);
time_t time2posix(time_t);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" );
# 199 "/usr/include/sys/time.h" 2 3 4
int adjtime(const struct timeval *, struct timeval *);
int futimes(int, const struct timeval *);
int lutimes(const char *, const struct timeval *) __attribute__((availability(macosx,introduced=10.5)));
int settimeofday(const struct timeval *, const struct timezone *);
int getitimer(int, struct itimerval *);
int gettimeofday(struct timeval * restrict, void * restrict);
# 1 "/usr/include/sys/_select.h" 1 3 4
# 39 "/usr/include/sys/_select.h" 3 4
int select(int, fd_set * restrict, fd_set * restrict,
fd_set * restrict, struct timeval * restrict)
__asm("_" "select" "$1050")
;
# 214 "/usr/include/sys/time.h" 2 3 4
int setitimer(int, const struct itimerval * restrict,
struct itimerval * restrict);
int utimes(const char *, const struct timeval *);
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_SYS_TIME_H" to "1"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:10:8: warning: if statement has empty body [-Wempty-body]
if (tp);
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:10:8: note: put the semicolon on a separate line to silence this warning
1 warning generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
int main() {
struct tm *tp = 0;
if (tp);
;
return 0;
}
Defined "TIME_WITH_SYS_TIME" to "1"
================================================================================
TEST checkMath from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:203)
TESTING: checkMath from config.headers(config/BuildSystem/config/headers.py:203)
Checks for the math headers and defines
Checking for header: math.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/math.h" 1 3 4
# 38 "/usr/include/math.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
# 39 "/usr/include/math.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
# 40 "/usr/include/math.h" 2 3 4
# 52 "/usr/include/math.h" 3 4
typedef float float_t;
typedef double double_t;
# 110 "/usr/include/math.h" 3 4
extern int __math_errhandling(void);
# 138 "/usr/include/math.h" 3 4
extern int __fpclassifyf(float);
extern int __fpclassifyd(double);
extern int __fpclassifyl(long double);
# 182 "/usr/include/math.h" 3 4
static __inline__ int __inline_isfinitef(float) __attribute__ ((__always_inline__));
static __inline__ int __inline_isfinited(double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isfinitel(long double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isinff(float) __attribute__ ((__always_inline__));
static __inline__ int __inline_isinfd(double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isinfl(long double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnanf(float) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnand(double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnanl(long double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnormalf(float) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnormald(double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isnormall(long double) __attribute__ ((__always_inline__));
static __inline__ int __inline_signbitf(float) __attribute__ ((__always_inline__));
static __inline__ int __inline_signbitd(double) __attribute__ ((__always_inline__));
static __inline__ int __inline_signbitl(long double) __attribute__ ((__always_inline__));
static __inline__ int __inline_isfinitef(float __x) {
return __x == __x && __builtin_fabsf(__x) != __builtin_inff();
}
static __inline__ int __inline_isfinited(double __x) {
return __x == __x && __builtin_fabs(__x) != __builtin_inf();
}
static __inline__ int __inline_isfinitel(long double __x) {
return __x == __x && __builtin_fabsl(__x) != __builtin_infl();
}
static __inline__ int __inline_isinff(float __x) {
return __builtin_fabsf(__x) == __builtin_inff();
}
static __inline__ int __inline_isinfd(double __x) {
return __builtin_fabs(__x) == __builtin_inf();
}
static __inline__ int __inline_isinfl(long double __x) {
return __builtin_fabsl(__x) == __builtin_infl();
}
static __inline__ int __inline_isnanf(float __x) {
return __x != __x;
}
static __inline__ int __inline_isnand(double __x) {
return __x != __x;
}
static __inline__ int __inline_isnanl(long double __x) {
return __x != __x;
}
static __inline__ int __inline_signbitf(float __x) {
union { float __f; unsigned int __u; } __u;
__u.__f = __x;
return (int)(__u.__u >> 31);
}
static __inline__ int __inline_signbitd(double __x) {
union { double __f; unsigned long long __u; } __u;
__u.__f = __x;
return (int)(__u.__u >> 63);
}
static __inline__ int __inline_signbitl(long double __x) {
union {
long double __ld;
struct{ unsigned long long __m; unsigned short __sexp; } __p;
} __u;
__u.__ld = __x;
return (int)(__u.__p.__sexp >> 15);
}
static __inline__ int __inline_isnormalf(float __x) {
return __inline_isfinitef(__x) && __builtin_fabsf(__x) >= 1.17549435e-38F;
}
static __inline__ int __inline_isnormald(double __x) {
return __inline_isfinited(__x) && __builtin_fabs(__x) >= 2.2250738585072014e-308;
}
static __inline__ int __inline_isnormall(long double __x) {
return __inline_isfinitel(__x) && __builtin_fabsl(__x) >= 3.36210314311209350626e-4932L;
}
# 315 "/usr/include/math.h" 3 4
extern float acosf(float);
extern double acos(double);
extern long double acosl(long double);
extern float asinf(float);
extern double asin(double);
extern long double asinl(long double);
extern float atanf(float);
extern double atan(double);
extern long double atanl(long double);
extern float atan2f(float, float);
extern double atan2(double, double);
extern long double atan2l(long double, long double);
extern float cosf(float);
extern double cos(double);
extern long double cosl(long double);
extern float sinf(float);
extern double sin(double);
extern long double sinl(long double);
extern float tanf(float);
extern double tan(double);
extern long double tanl(long double);
extern float acoshf(float);
extern double acosh(double);
extern long double acoshl(long double);
extern float asinhf(float);
extern double asinh(double);
extern long double asinhl(long double);
extern float atanhf(float);
extern double atanh(double);
extern long double atanhl(long double);
extern float coshf(float);
extern double cosh(double);
extern long double coshl(long double);
extern float sinhf(float);
extern double sinh(double);
extern long double sinhl(long double);
extern float tanhf(float);
extern double tanh(double);
extern long double tanhl(long double);
extern float expf(float);
extern double exp(double);
extern long double expl(long double);
extern float exp2f(float);
extern double exp2(double);
extern long double exp2l(long double);
extern float expm1f(float);
extern double expm1(double);
extern long double expm1l(long double);
extern float logf(float);
extern double log(double);
extern long double logl(long double);
extern float log10f(float);
extern double log10(double);
extern long double log10l(long double);
extern float log2f(float);
extern double log2(double);
extern long double log2l(long double);
extern float log1pf(float);
extern double log1p(double);
extern long double log1pl(long double);
extern float logbf(float);
extern double logb(double);
extern long double logbl(long double);
extern float modff(float, float *);
extern double modf(double, double *);
extern long double modfl(long double, long double *);
extern float ldexpf(float, int);
extern double ldexp(double, int);
extern long double ldexpl(long double, int);
extern float frexpf(float, int *);
extern double frexp(double, int *);
extern long double frexpl(long double, int *);
extern int ilogbf(float);
extern int ilogb(double);
extern int ilogbl(long double);
extern float scalbnf(float, int);
extern double scalbn(double, int);
extern long double scalbnl(long double, int);
extern float scalblnf(float, long int);
extern double scalbln(double, long int);
extern long double scalblnl(long double, long int);
extern float fabsf(float);
extern double fabs(double);
extern long double fabsl(long double);
extern float cbrtf(float);
extern double cbrt(double);
extern long double cbrtl(long double);
extern float hypotf(float, float);
extern double hypot(double, double);
extern long double hypotl(long double, long double);
extern float powf(float, float);
extern double pow(double, double);
extern long double powl(long double, long double);
extern float sqrtf(float);
extern double sqrt(double);
extern long double sqrtl(long double);
extern float erff(float);
extern double erf(double);
extern long double erfl(long double);
extern float erfcf(float);
extern double erfc(double);
extern long double erfcl(long double);
extern float lgammaf(float);
extern double lgamma(double);
extern long double lgammal(long double);
extern float tgammaf(float);
extern double tgamma(double);
extern long double tgammal(long double);
extern float ceilf(float);
extern double ceil(double);
extern long double ceill(long double);
extern float floorf(float);
extern double floor(double);
extern long double floorl(long double);
extern float nearbyintf(float);
extern double nearbyint(double);
extern long double nearbyintl(long double);
extern float rintf(float);
extern double rint(double);
extern long double rintl(long double);
extern long int lrintf(float);
extern long int lrint(double);
extern long int lrintl(long double);
extern float roundf(float);
extern double round(double);
extern long double roundl(long double);
extern long int lroundf(float);
extern long int lround(double);
extern long int lroundl(long double);
extern long long int llrintf(float);
extern long long int llrint(double);
extern long long int llrintl(long double);
extern long long int llroundf(float);
extern long long int llround(double);
extern long long int llroundl(long double);
extern float truncf(float);
extern double trunc(double);
extern long double truncl(long double);
extern float fmodf(float, float);
extern double fmod(double, double);
extern long double fmodl(long double, long double);
extern float remainderf(float, float);
extern double remainder(double, double);
extern long double remainderl(long double, long double);
extern float remquof(float, float, int *);
extern double remquo(double, double, int *);
extern long double remquol(long double, long double, int *);
extern float copysignf(float, float);
extern double copysign(double, double);
extern long double copysignl(long double, long double);
extern float nanf(const char *);
extern double nan(const char *);
extern long double nanl(const char *);
extern float nextafterf(float, float);
extern double nextafter(double, double);
extern long double nextafterl(long double, long double);
extern double nexttoward(double, long double);
extern float nexttowardf(float, long double);
extern long double nexttowardl(long double, long double);
extern float fdimf(float, float);
extern double fdim(double, double);
extern long double fdiml(long double, long double);
extern float fmaxf(float, float);
extern double fmax(double, double);
extern long double fmaxl(long double, long double);
extern float fminf(float, float);
extern double fmin(double, double);
extern long double fminl(long double, long double);
extern float fmaf(float, float, float);
extern double fma(double, double, double);
extern long double fmal(long double, long double, long double);
# 558 "/usr/include/math.h" 3 4
extern float __inff(void) __attribute__((availability(macosx,introduced=10.0)));
extern double __inf(void) __attribute__((availability(macosx,introduced=10.0)));
extern long double __infl(void) __attribute__((availability(macosx,introduced=10.0)));
extern float __nan(void) __attribute__((availability(macosx,introduced=10.0)));
# 579 "/usr/include/math.h" 3 4
extern double j0(double) __attribute__((availability(macosx,introduced=10.0)));
extern double j1(double) __attribute__((availability(macosx,introduced=10.0)));
extern double jn(int, double) __attribute__((availability(macosx,introduced=10.0)));
extern double y0(double) __attribute__((availability(macosx,introduced=10.0)));
extern double y1(double) __attribute__((availability(macosx,introduced=10.0)));
extern double yn(int, double) __attribute__((availability(macosx,introduced=10.0)));
extern double scalb(double, double);
extern int signgam;
# 624 "/usr/include/math.h" 3 4
extern long int rinttol(double) __attribute__((availability(macosx,introduced=10.0)));
extern long int roundtol(double) __attribute__((availability(macosx,introduced=10.0)));
extern double drem(double, double) __attribute__((availability(macosx,introduced=10.0)));
extern int finite(double) __attribute__((availability(macosx,introduced=10.0)));
extern double gamma(double) __attribute__((availability(macosx,introduced=10.0)));
extern double significand(double) __attribute__((availability(macosx,introduced=10.0)));
struct exception {
int type;
char *name;
double arg1;
double arg2;
double retval;
};
extern int matherr(struct exception *) __attribute__((availability(macosx,introduced=10.0)));
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_MATH_H" to "1"
sh: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -c -o /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.o -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.libraries -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.compilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers -fPIC -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -O /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh:
Possible ERROR while running compiler: error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:8:8: warning: if statement has empty body [-Wempty-body]
if (pi);
^
/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:8:8: note: put the semicolon on a separate line to silence this warning
1 warning generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <math.h>
int main() {
double pi = M_PI;
if (pi);
;
return 0;
}
Found math #defines, like M_PI
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sys/socket.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/socket.h" 1 3 4
# 75 "/usr/include/sys/socket.h" 3 4
# 1 "/usr/include/sys/types.h" 1 3 4
# 72 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 73 "/usr/include/sys/types.h" 2 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
# 76 "/usr/include/sys/types.h" 2 3 4
# 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
# 70 "/usr/include/i386/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;
# 71 "/usr/include/i386/types.h" 2 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
# 79 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 3 4
# 1 "/usr/include/machine/_types.h" 1 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];
# 80 "/usr/include/sys/types.h" 2 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
# 82 "/usr/include/sys/types.h" 2 3 4
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef int32_t daddr_t;
typedef __darwin_dev_t dev_t;
typedef u_int32_t fixpt_t;
typedef __darwin_blkcnt_t blkcnt_t;
typedef __darwin_blksize_t blksize_t;
typedef __darwin_gid_t gid_t;
typedef __uint32_t in_addr_t;
typedef __uint16_t in_port_t;
typedef __darwin_ino_t ino_t;
typedef __darwin_ino64_t ino64_t;
typedef __int32_t key_t;
typedef __darwin_mode_t mode_t;
typedef __uint16_t nlink_t;
typedef __darwin_id_t id_t;
typedef __darwin_pid_t pid_t;
typedef __darwin_off_t off_t;
typedef int32_t segsz_t;
typedef int32_t swblk_t;
typedef __darwin_uid_t uid_t;
# 223 "/usr/include/sys/types.h" 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
typedef __darwin_ssize_t ssize_t;
typedef __darwin_time_t time_t;
typedef __darwin_useconds_t useconds_t;
typedef __darwin_suseconds_t suseconds_t;
# 260 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 184 "/usr/include/sys/_structs.h" 3 4
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))));
}
# 261 "/usr/include/sys/types.h" 2 3 4
typedef __int32_t fd_mask;
# 303 "/usr/include/sys/types.h" 3 4
typedef __darwin_pthread_attr_t pthread_attr_t;
typedef __darwin_pthread_cond_t pthread_cond_t;
typedef __darwin_pthread_condattr_t pthread_condattr_t;
typedef __darwin_pthread_mutex_t pthread_mutex_t;
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
typedef __darwin_pthread_once_t pthread_once_t;
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
typedef __darwin_pthread_t pthread_t;
typedef __darwin_pthread_key_t pthread_key_t;
typedef __darwin_fsblkcnt_t fsblkcnt_t;
typedef __darwin_fsfilcnt_t fsfilcnt_t;
# 76 "/usr/include/sys/socket.h" 2 3 4
# 1 "/usr/include/machine/_param.h" 1 3 4
# 29 "/usr/include/machine/_param.h" 3 4
# 1 "/usr/include/i386/_param.h" 1 3 4
# 30 "/usr/include/machine/_param.h" 2 3 4
# 78 "/usr/include/sys/socket.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
# 81 "/usr/include/sys/socket.h" 2 3 4
# 106 "/usr/include/sys/socket.h" 3 4
typedef __uint8_t sa_family_t;
typedef __darwin_socklen_t socklen_t;
# 131 "/usr/include/sys/socket.h" 3 4
struct iovec {
void * iov_base;
size_t iov_len;
};
# 220 "/usr/include/sys/socket.h" 3 4
struct linger {
int l_onoff;
int l_linger;
};
# 238 "/usr/include/sys/socket.h" 3 4
struct so_np_extensions {
u_int32_t npx_flags;
u_int32_t npx_mask;
};
# 326 "/usr/include/sys/socket.h" 3 4
struct sockaddr {
__uint8_t sa_len;
sa_family_t sa_family;
char sa_data[14];
};
# 339 "/usr/include/sys/socket.h" 3 4
struct sockproto {
__uint16_t sp_family;
__uint16_t sp_protocol;
};
# 359 "/usr/include/sys/socket.h" 3 4
struct sockaddr_storage {
__uint8_t ss_len;
sa_family_t ss_family;
char __ss_pad1[((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t))];
__int64_t __ss_align;
char __ss_pad2[(128 - sizeof(__uint8_t) - sizeof(sa_family_t) - ((sizeof(__int64_t)) - sizeof(__uint8_t) - sizeof(sa_family_t)) - (sizeof(__int64_t)))];
};
# 469 "/usr/include/sys/socket.h" 3 4
struct msghdr {
void *msg_name;
socklen_t msg_namelen;
struct iovec *msg_iov;
int msg_iovlen;
void *msg_control;
socklen_t msg_controllen;
int msg_flags;
};
# 509 "/usr/include/sys/socket.h" 3 4
struct cmsghdr {
socklen_t cmsg_len;
int cmsg_level;
int cmsg_type;
};
# 599 "/usr/include/sys/socket.h" 3 4
struct sf_hdtr {
struct iovec *headers;
int hdr_cnt;
struct iovec *trailers;
int trl_cnt;
};
int accept(int, struct sockaddr * restrict, socklen_t * restrict)
__asm("_" "accept" );
int bind(int, const struct sockaddr *, socklen_t) __asm("_" "bind" );
int connect(int, const struct sockaddr *, socklen_t) __asm("_" "connect" );
int getpeername(int, struct sockaddr * restrict, socklen_t * restrict)
__asm("_" "getpeername" );
int getsockname(int, struct sockaddr * restrict, socklen_t * restrict)
__asm("_" "getsockname" );
int getsockopt(int, int, int, void * restrict, socklen_t * restrict);
int listen(int, int) __asm("_" "listen" );
ssize_t recv(int, void *, size_t, int) __asm("_" "recv" );
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * restrict,
socklen_t * restrict) __asm("_" "recvfrom" );
ssize_t recvmsg(int, struct msghdr *, int) __asm("_" "recvmsg" );
ssize_t send(int, const void *, size_t, int) __asm("_" "send" );
ssize_t sendmsg(int, const struct msghdr *, int) __asm("_" "sendmsg" );
ssize_t sendto(int, const void *, size_t,
int, const struct sockaddr *, socklen_t) __asm("_" "sendto" );
int setsockopt(int, int, int, const void *, socklen_t);
int shutdown(int, int);
int sockatmark(int) __attribute__((availability(macosx,introduced=10.5)));
int socket(int, int, int);
int socketpair(int, int, int, int *) __asm("_" "socketpair" );
int sendfile(int, int, off_t, off_t *, struct sf_hdtr *, int);
void pfctlinput(int, struct sockaddr *);
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_SYS_SOCKET_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sys/types.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/types.h" 1 3 4
# 72 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 73 "/usr/include/sys/types.h" 2 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
# 76 "/usr/include/sys/types.h" 2 3 4
# 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
# 70 "/usr/include/i386/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;
# 71 "/usr/include/i386/types.h" 2 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
# 79 "/usr/include/sys/types.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 3 4
# 1 "/usr/include/machine/_types.h" 1 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];
# 80 "/usr/include/sys/types.h" 2 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
# 82 "/usr/include/sys/types.h" 2 3 4
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef u_int64_t u_quad_t;
typedef int64_t quad_t;
typedef quad_t * qaddr_t;
typedef char * caddr_t;
typedef int32_t daddr_t;
typedef __darwin_dev_t dev_t;
typedef u_int32_t fixpt_t;
typedef __darwin_blkcnt_t blkcnt_t;
typedef __darwin_blksize_t blksize_t;
typedef __darwin_gid_t gid_t;
typedef __uint32_t in_addr_t;
typedef __uint16_t in_port_t;
typedef __darwin_ino_t ino_t;
typedef __darwin_ino64_t ino64_t;
typedef __int32_t key_t;
typedef __darwin_mode_t mode_t;
typedef __uint16_t nlink_t;
typedef __darwin_id_t id_t;
typedef __darwin_pid_t pid_t;
typedef __darwin_off_t off_t;
typedef int32_t segsz_t;
typedef int32_t swblk_t;
typedef __darwin_uid_t uid_t;
# 223 "/usr/include/sys/types.h" 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
typedef __darwin_ssize_t ssize_t;
typedef __darwin_time_t time_t;
typedef __darwin_useconds_t useconds_t;
typedef __darwin_suseconds_t suseconds_t;
# 260 "/usr/include/sys/types.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 184 "/usr/include/sys/_structs.h" 3 4
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))));
}
# 261 "/usr/include/sys/types.h" 2 3 4
typedef __int32_t fd_mask;
# 303 "/usr/include/sys/types.h" 3 4
typedef __darwin_pthread_attr_t pthread_attr_t;
typedef __darwin_pthread_cond_t pthread_cond_t;
typedef __darwin_pthread_condattr_t pthread_condattr_t;
typedef __darwin_pthread_mutex_t pthread_mutex_t;
typedef __darwin_pthread_mutexattr_t pthread_mutexattr_t;
typedef __darwin_pthread_once_t pthread_once_t;
typedef __darwin_pthread_rwlock_t pthread_rwlock_t;
typedef __darwin_pthread_rwlockattr_t pthread_rwlockattr_t;
typedef __darwin_pthread_t pthread_t;
typedef __darwin_pthread_key_t pthread_key_t;
typedef __darwin_fsblkcnt_t fsblkcnt_t;
typedef __darwin_fsfilcnt_t fsfilcnt_t;
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Defined "HAVE_SYS_TYPES_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: malloc.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'malloc.h' file not found
#include <malloc.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <malloc.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: time.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/time.h" 1 3 4
# 66 "/usr/include/time.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;
# 67 "/usr/include/time.h" 2 3 4
# 1 "/usr/include/_structs.h" 1 3 4
# 24 "/usr/include/_structs.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;
};
# 25 "/usr/include/_structs.h" 2 3 4
# 70 "/usr/include/time.h" 2 3 4
typedef __darwin_clock_t clock_t;
typedef __darwin_size_t size_t;
typedef __darwin_time_t time_t;
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
long tm_gmtoff;
char *tm_zone;
};
# 113 "/usr/include/time.h" 3 4
extern char *tzname[];
extern int getdate_err;
extern long timezone __asm("_" "timezone" );
extern int daylight;
char *asctime(const struct tm *);
clock_t clock(void) __asm("_" "clock" );
char *ctime(const time_t *);
double difftime(time_t, time_t);
struct tm *getdate(const char *);
struct tm *gmtime(const time_t *);
struct tm *localtime(const time_t *);
time_t mktime(struct tm *) __asm("_" "mktime" );
size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );
char *strptime(const char * restrict, const char * restrict, struct tm * restrict) __asm("_" "strptime" );
time_t time(time_t *);
void tzset(void);
char *asctime_r(const struct tm * restrict, char * restrict);
char *ctime_r(const time_t *, char *);
struct tm *gmtime_r(const time_t * restrict, struct tm * restrict);
struct tm *localtime_r(const time_t * restrict, struct tm * restrict);
time_t posix2time(time_t);
void tzsetwall(void);
time_t time2posix(time_t);
time_t timelocal(struct tm * const);
time_t timegm(struct tm * const);
int nanosleep(const struct timespec *, struct timespec *) __asm("_" "nanosleep" );
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_TIME_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: Direct.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'Direct.h' file not found
#include <Direct.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'Direct.h' file not found
#include <Direct.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <Direct.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: Ws2tcpip.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found
#include <Ws2tcpip.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'Ws2tcpip.h' file not found
#include <Ws2tcpip.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <Ws2tcpip.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: endian.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'endian.h' file not found
#include <endian.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <endian.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: ieeefp.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found
#include <ieeefp.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'ieeefp.h' file not found
#include <ieeefp.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <ieeefp.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: strings.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/strings.h" 1 3 4
# 61 "/usr/include/strings.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;
# 62 "/usr/include/strings.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
# 65 "/usr/include/strings.h" 2 3 4
typedef __darwin_size_t size_t;
int bcmp(const void *, const void *, size_t) ;
void bcopy(const void *, void *, size_t) ;
void bzero(void *, size_t) ;
char *index(const char *, int) ;
char *rindex(const char *, int) ;
int ffs(int);
int strcasecmp(const char *, const char *);
int strncasecmp(const char *, const char *, size_t);
int ffsl(long) __attribute__((availability(macosx,introduced=10.5)));
int fls(int) __attribute__((availability(macosx,introduced=10.5)));
int flsl(long) __attribute__((availability(macosx,introduced=10.5)));
# 1 "/usr/include/string.h" 1 3 4
# 80 "/usr/include/string.h" 3 4
void *memchr(const void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
char *strcat(char *, const char *);
char *strchr(const char *, int);
int strcmp(const char *, const char *);
int strcoll(const char *, const char *);
char *strcpy(char *, const char *);
size_t strcspn(const char *, const char *);
char *strerror(int) __asm("_" "strerror" );
size_t strlen(const char *);
char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
char *strpbrk(const char *, const char *);
char *strrchr(const char *, int);
size_t strspn(const char *, const char *);
char *strstr(const char *, const char *);
char *strtok(char *, const char *);
size_t strxfrm(char *, const char *, size_t);
# 114 "/usr/include/string.h" 3 4
char *strtok_r(char *, const char *, char **);
# 126 "/usr/include/string.h" 3 4
int strerror_r(int, char *, size_t);
char *strdup(const char *);
void *memccpy(void *, const void *, int, size_t);
# 140 "/usr/include/string.h" 3 4
char *stpcpy(char *, const char *);
char *stpncpy(char *, const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
char *strndup(const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
size_t strnlen(const char *, size_t) __attribute__((availability(macosx,introduced=10.7)));
char *strsignal(int sig);
# 155 "/usr/include/string.h" 3 4
typedef __darwin_ssize_t ssize_t;
void *memmem(const void *, size_t, const void *, size_t) __attribute__((availability(macosx,introduced=10.7)));
void memset_pattern4(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
void memset_pattern8(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
void memset_pattern16(void *, const void *, size_t) __attribute__((availability(macosx,introduced=10.5)));
char *strcasestr(const char *, const char *);
char *strnstr(const char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
void strmode(int, char *);
char *strsep(char **, const char *);
void swab(const void * restrict, void * restrict, ssize_t);
# 1 "/usr/include/strings.h" 1 3 4
# 181 "/usr/include/string.h" 2 3 4
# 190 "/usr/include/string.h" 3 4
# 1 "/usr/include/secure/_string.h" 1 3 4
# 32 "/usr/include/secure/_string.h" 3 4
# 1 "/usr/include/secure/_common.h" 1 3 4
# 33 "/usr/include/secure/_string.h" 2 3 4
# 58 "/usr/include/secure/_string.h" 3 4
static __inline void *
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
{
return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}
static __inline void *
__inline_memmove_chk (void *__dest, const void *__src, size_t __len)
{
return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}
static __inline void *
__inline_memset_chk (void *__dest, int __val, size_t __len)
{
return __builtin___memset_chk (__dest, __val, __len, __builtin_object_size (__dest, 0));
}
static __inline char *
__inline_strcpy_chk (char *restrict __dest, const char *restrict __src)
{
return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_stpcpy_chk (char *__dest, const char *__src)
{
return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_stpncpy_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___stpncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strncpy_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strcat_chk (char *restrict __dest, const char *restrict __src)
{
return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}
static __inline char *
__inline_strncat_chk (char *restrict __dest, const char *restrict __src,
size_t __len)
{
return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
# 191 "/usr/include/string.h" 2 3 4
# 95 "/usr/include/strings.h" 2 3 4
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Defined "HAVE_STRINGS_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sched.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sched.h" 1 3 4
# 27 "/usr/include/sched.h" 3 4
# 1 "/usr/include/pthread_impl.h" 1 3 4
# 28 "/usr/include/sched.h" 2 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
# 29 "/usr/include/sched.h" 2 3 4
struct sched_param { int sched_priority; char __opaque[4]; };
extern int sched_yield(void);
extern int sched_get_priority_min(int);
extern int sched_get_priority_max(int);
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_SCHED_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: cxxabi.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/cxxabi.h" 1 3 4
# 18 "/usr/include/cxxabi.h" 3 4
# 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;
typedef __typeof__(sizeof(int)) size_t;
typedef int wchar_t;
# 19 "/usr/include/cxxabi.h" 2 3 4
# 1 "/usr/bin/../lib/clang/4.2/include/stdint.h" 1 3 4
# 33 "/usr/bin/../lib/clang/4.2/include/stdint.h" 3 4
# 1 "/usr/include/stdint.h" 1 3 4
# 20 "/usr/include/stdint.h" 3 4
typedef signed char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef int8_t int_least8_t;
typedef int16_t int_least16_t;
typedef int32_t int_least32_t;
typedef int64_t int_least64_t;
typedef uint8_t uint_least8_t;
typedef uint16_t uint_least16_t;
typedef uint32_t uint_least32_t;
typedef uint64_t uint_least64_t;
typedef int8_t int_fast8_t;
typedef int16_t int_fast16_t;
typedef int32_t int_fast32_t;
typedef int64_t int_fast64_t;
typedef uint8_t uint_fast8_t;
typedef uint16_t uint_fast16_t;
typedef uint32_t uint_fast32_t;
typedef uint64_t uint_fast64_t;
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long int intmax_t;
# 106 "/usr/include/stdint.h" 3 4
typedef long unsigned int uintmax_t;
# 34 "/usr/bin/../lib/clang/4.2/include/stdint.h" 2 3 4
# 20 "/usr/include/cxxabi.h" 2 3 4
namespace std {
class type_info;
}
namespace __cxxabiv1 {
extern "C" {
extern void * __cxa_allocate_exception(size_t thrown_size) throw();
extern void __cxa_free_exception(void * thrown_exception) throw();
extern void __cxa_throw(void * thrown_exception, struct std::type_info * tinfo,
void (*dest)(void *));
extern void * __cxa_get_exception_ptr(void * exceptionObject) throw();
extern void * __cxa_begin_catch(void * exceptionObject) throw();
extern void __cxa_end_catch();
extern std::type_info * __cxa_current_exception_type();
extern void __cxa_rethrow();
extern void __cxa_bad_cast();
extern void __cxa_bad_typeid();
extern void __cxa_pure_virtual(void);
extern int __cxa_guard_acquire(uint64_t*);
extern void __cxa_guard_release(uint64_t*);
extern void __cxa_guard_abort(uint64_t*);
extern void* __cxa_vec_new(size_t element_count,
size_t element_size,
size_t padding_size,
void (*constructor)(void*),
void (*destructor)(void*) );
extern void* __cxa_vec_new2(size_t element_count,
size_t element_size,
size_t padding_size,
void (*constructor)(void*),
void (*destructor)(void*),
void* (*alloc)(size_t),
void (*dealloc)(void*) );
extern void* __cxa_vec_new3(size_t element_count,
size_t element_size,
size_t padding_size,
void (*constructor)(void*),
void (*destructor)(void*),
void* (*alloc)(size_t),
void (*dealloc)(void*, size_t) );
extern void __cxa_vec_ctor(void* array_address,
size_t element_count,
size_t element_size,
void (*constructor)(void*),
void (*destructor)(void*) );
extern void __cxa_vec_dtor(void* array_address,
size_t element_count,
size_t element_size,
void (*destructor)(void*) );
extern void __cxa_vec_cleanup(void* array_address,
size_t element_count,
size_t element_size,
void (*destructor)(void*) );
extern void __cxa_vec_delete(void* array_address,
size_t element_size,
size_t padding_size,
void (*destructor)(void*) );
extern void __cxa_vec_delete2(void* array_address,
size_t element_size,
size_t padding_size,
void (*destructor)(void*),
void (*dealloc)(void*) );
extern void __cxa_vec_delete3(void* __array_address,
size_t element_size,
size_t padding_size,
void (*destructor)(void*),
void (*dealloc) (void*, size_t));
extern void __cxa_vec_cctor(void* dest_array,
void* src_array,
size_t element_count,
size_t element_size,
void (*constructor) (void*, void*),
void (*destructor)(void*) );
extern int __cxa_atexit(void (*f)(void*), void* p, void* d);
extern int __cxa_finalize(void*);
extern char* __cxa_demangle(const char* mangled_name,
char* output_buffer,
size_t* length,
int* status);
}
}
namespace abi = __cxxabiv1;
namespace __cxxabiapple {
extern "C" {
extern void (*__cxa_terminate_handler)();
extern void (*__cxa_unexpected_handler)();
extern void (*__cxa_new_handler)();
extern void * __cxa_current_primary_exception() throw();
extern void __cxa_rethrow_primary_exception(void* primary_exception);
extern void __cxa_increment_exception_refcount(void* primary_exception) throw();
extern void __cxa_decrement_exception_refcount(void* primary_exception) throw();
extern bool __cxa_uncaught_exception() throw();
}
}
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Defined "HAVE_CXXABI_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sys/systeminfo.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found
#include <sys/systeminfo.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'sys/systeminfo.h' file not found
#include <sys/systeminfo.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/systeminfo.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: dos.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found
#include <dos.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'dos.h' file not found
#include <dos.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <dos.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: WindowsX.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found
#include <WindowsX.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'WindowsX.h' file not found
#include <WindowsX.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <WindowsX.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sys/sysinfo.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
Possible ERROR while running preprocessor: /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^
1 error generated.
ret = 256
error message = {/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c:3:10: fatal error: 'sys/sysinfo.h' file not found
#include <sys/sysinfo.h>
^
1 error generated.
}
Source:
#include "confdefs.h"
#include "conffix.h"
#include <sys/sysinfo.h>
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: sys/wait.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/sys/wait.h" 1 3 4
# 67 "/usr/include/sys/wait.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
# 68 "/usr/include/sys/wait.h" 2 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 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];
# 69 "/usr/include/sys/wait.h" 2 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
# 71 "/usr/include/sys/resource.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
# 72 "/usr/include/sys/resource.h" 2 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 *);
# 4 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_SYS_WAIT_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: stdlib.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/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/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
Defined "HAVE_STDLIB_H" to "1"
================================================================================
TEST check from config.headers(/private/tmp/petsc-3.4.3/config/BuildSystem/config/headers.py:77)
TESTING: check from config.headers(config/BuildSystem/config/headers.py:77)
Checks for "header", and defines HAVE_"header" if found
Checking for header: pthread.h
sh: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
Executing: mpicc -E -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.setCompilers -I/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers /var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c
sh: # 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 162 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/confdefs.h" 1
# 2 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conffix.h" 1
# 3 "/var/folders/5f/2xxztxbx2gb961387014r1fw0000gn/T/petsc-7njvlN/config.headers/conftest.c" 2
# 1 "/usr/include/pthread.h" 1 3 4
# 55 "/usr/include/pthread.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;
typede
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment