Ticket #27223: configure.log

File configure.log, 223.7 KB (added by mkr@…, 14 years ago)
Line 
1                            Pushing language C
2                            Popping language C
3                            Pushing language Cxx
4                            Popping language Cxx
5                            Pushing language FC
6                            Popping language FC
7sh: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/packages/config.guess
8Executing: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/packages/config.guess
9sh: i686-apple-darwin10.4.0
10
11sh: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/packages/config.sub i686-apple-darwin10.4.0
12
13Executing: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/packages/config.sub i686-apple-darwin10.4.0
14
15sh: i686-apple-darwin10.4.0
16
17
18================================================================================
19================================================================================
20Starting Configure Run at Tue Nov  9 14:47:41 2010
21Configure Options: --configModules=PETSc.Configure --optionsModule=PETSc.compilerOptions --prefix=/opt/local --with-python --with-c-support=1 --with-c++-support=1 --with-pic=fPIC --with-shared=1 --prefix=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/destroot/opt/local/lib/petsc --with-cc=/opt/local/bin/openmpicc --with-cxx=/opt/local/bin/openmpicxx --with-mpiexec=/opt/local/bin/openmpiexec --with-hdf5=1 --with-hdf5-dir=/opt/local --LIBS=-lsz --with-triangle=1 --with-triangle-dir=/opt/local --with-debugging=1
22Working directory: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4
23Machine uname:
24('Darwin', 'macmkraus.aug.ipp.mpg.de', '10.4.0', 'Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386', 'i386')
25Python version:
262.6.6 (r266:84292, Aug 30 2010, 11:33:10)
27[GCC 4.2.1 (Apple Inc. build 5664)]
28================================================================================
29        Pushing language C
30        Popping language C
31        Pushing language Cxx
32        Popping language Cxx
33        Pushing language FC
34        Popping language FC
35================================================================================
36TEST configureExternalPackagesDir from config.framework(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/framework.py:843)
37TESTING: configureExternalPackagesDir from config.framework(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/framework.py:843)
38================================================================================
39TEST configureDebuggers from PETSc.utilities.debuggers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/debuggers.py:22)
40TESTING: configureDebuggers from PETSc.utilities.debuggers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/debuggers.py:22)
41  Find a default debugger and determine its arguments
42Checking for program /opt/local/bin/gdb...not found
43Checking for program /opt/local/sbin/gdb...not found
44Checking for program /bin/gdb...not found
45Checking for program /sbin/gdb...not found
46Checking for program /usr/bin/gdb...found
47          Defined make macro "GDB" to "/usr/bin/gdb"
48Checking for program /opt/local/bin/dbx...not found
49Checking for program /opt/local/sbin/dbx...not found
50Checking for program /bin/dbx...not found
51Checking for program /sbin/dbx...not found
52Checking for program /usr/bin/dbx...not found
53Checking for program /usr/sbin/dbx...not found
54Checking for program /Users/mkraus/dbx...not found
55Checking for program /opt/local/bin/xdb...not found
56Checking for program /opt/local/sbin/xdb...not found
57Checking for program /bin/xdb...not found
58Checking for program /sbin/xdb...not found
59Checking for program /usr/bin/xdb...not found
60Checking for program /usr/sbin/xdb...not found
61Checking for program /Users/mkraus/xdb...not found
62        Defined "USE_GDB_DEBUGGER" to "1"
63================================================================================
64TEST configureMake from PETSc.utilities.Make(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/Make.py:21)
65TESTING: configureMake from PETSc.utilities.Make(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/Make.py:21)
66  Check various things about make
67Checking for program /opt/local/bin/make...not found
68Checking for program /opt/local/sbin/make...not found
69Checking for program /bin/make...not found
70Checking for program /sbin/make...not found
71Checking for program /usr/bin/make...found
72          Defined make macro "MAKE" to "/usr/bin/make"
73Checking for program /opt/local/bin/strings...not found
74Checking for program /opt/local/sbin/strings...not found
75Checking for program /bin/strings...not found
76Checking for program /sbin/strings...not found
77Checking for program /usr/bin/strings...found
78          Defined make macro "STRINGS" to "/usr/bin/strings"
79sh: /usr/bin/strings /usr/bin/make
80Executing: /usr/bin/strings /usr/bin/make
81sh: touch: Archive `%s' does not exist
82touch: `%s' is not a valid archive
83touch:
84touch: Member `%s' does not exist in `%s'
85touch: Bad return code from ar_member_touch on `%s'
86attempt to use unsupported feature: `%s'
87!<arch>
88ARFILENAMES/
89*** [%s] Archive member `%s' may be bogus; not deleted
90*** Archive member `%s' may be bogus; not deleted
91*** [%s] Deleting file `%s'
92*** Deleting file `%s'
93unlink:
94kill
95$(MAKE)
96${MAKE}
97#  commands to execute
98 (built-in):
99 (from `%s', line %lu):
100%.*s
101.SUFFIXES
102SUFFIXES
103GNUMAKE
104MAKEFILEPATH
105/Developer/Makefiles
106ARFLAGS
107CHECKOUT,v
108+$(if $(wildcard $@),,$(CO) $(COFLAGS) $< $@)
109COFLAGS
110$(CC) -E
111$(FC)
112F77FLAGS
113$(FFLAGS)
114LINT
115lint
116YACC
117yacc
118MAKEINFO
119makeinfo
120TEXI2DVI
121texi2dvi
122WEAVE
123weave
124CWEAVE
125cweave
126TANGLE
127tangle
128CTANGLE
129ctangle
130rm -f
131LINK.o
132$(CC) $(LDFLAGS) $(TARGET_ARCH)
133COMPILE.c
134$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
135LINK.c
136$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
137COMPILE.m
138$(COMPILE.c)
139LINK.m
140$(LINK.c)
141COMPILE.cc
142$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
143COMPILE.C
144$(COMPILE.cc)
145COMPILE.cpp
146LINK.cc
147$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
148LINK.C
149$(LINK.cc)
150LINK.cpp
151YACC.y
152$(YACC) $(YFLAGS)
153LEX.l
154$(LEX) $(LFLAGS) -t
155YACC.m
156LEX.m
157COMPILE.f
158$(FC) $(FFLAGS) $(TARGET_ARCH) -c
159LINK.f
160$(FC) $(FFLAGS) $(LDFLAGS) $(TARGET_ARCH)
161COMPILE.F
162$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
163LINK.F
164$(FC) $(FFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
165COMPILE.r
166$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -c
167LINK.r
168$(FC) $(FFLAGS) $(RFLAGS) $(LDFLAGS) $(TARGET_ARCH)
169COMPILE.def
170$(M2C) $(M2FLAGS) $(DEFFLAGS) $(TARGET_ARCH)
171COMPILE.mod
172$(M2C) $(M2FLAGS) $(MODFLAGS) $(TARGET_ARCH)
173COMPILE.p
174$(PC) $(PFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c
175LINK.p
176$(PC) $(PFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_ARCH)
177LINK.s
178$(CC) $(ASFLAGS) $(LDFLAGS) $(TARGET_MACH)
179COMPILE.s
180$(AS) $(ASFLAGS) $(TARGET_MACH)
181LINK.S
182$(CC) $(ASFLAGS) $(CPPFLAGS) $(LDFLAGS) $(TARGET_MACH)
183COMPILE.S
184$(CC) $(ASFLAGS) $(CPPFLAGS) $(TARGET_MACH) -c
185PREPROCESS.S
186$(CC) -E $(CPPFLAGS)
187PREPROCESS.F
188$(FC) $(FFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -F
189PREPROCESS.r
190$(FC) $(FFLAGS) $(RFLAGS) $(TARGET_ARCH) -F
191LINT.c
192$(LINT) $(LINTFLAGS) $(CPPFLAGS) $(TARGET_ARCH)
193OUTPUT_OPTION
194-o $@
195.LIBPATTERNS
196lib%.so lib%.a
197$(AR) $(ARFLAGS) $@ $<
198%.out
199@rm -f $@
200 cp $< $@
201%.w %.ch
202$(CTANGLE) $^ $@
203%.tex
204$(CWEAVE) $^ $@
205$(CHECKOUT,v)
206RCS/%,v
207RCS/%
208$(GET) $(GFLAGS) $(SCCS_OUTPUT_OPTION) $<
209SCCS/s.%
210$(LINK.o) $^ $(LOADLIBES) $(LDLIBS) -o $@
211$(LINK.s) $^ $(LOADLIBES) $(LDLIBS) -o $@
212$(LINK.S) $^ $(LOADLIBES) $(LDLIBS) -o $@
213$(LINK.c) $^ $(LOADLIBES) $(LDLIBS) -o $@
214$(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@
215$(LINK.C) $^ $(LOADLIBES) $(LDLIBS) -o $@
216.cpp
217$(LINK.cpp) $^ $(LOADLIBES) $(LDLIBS) -o $@
218$(LINK.f) $^ $(LOADLIBES) $(LDLIBS) -o $@
219$(LINK.m) $^ $(LOADLIBES) $(LDLIBS) -o $@
220$(LINK.p) $^ $(LOADLIBES) $(LDLIBS) -o $@
221$(LINK.F) $^ $(LOADLIBES) $(LDLIBS) -o $@
222$(LINK.r) $^ $(LOADLIBES) $(LDLIBS) -o $@
223.mod
224$(COMPILE.mod) -o $@ -e $@ $^
225.def.sym
226$(COMPILE.def) -o $@ $<
227cat $< >$@
228 chmod a+x $@
229.s.o
230$(COMPILE.s) -o $@ $<
231.S.o
232$(COMPILE.S) -o $@ $<
233.c.o
234$(COMPILE.c) $(OUTPUT_OPTION) $<
235.cc.o
236$(COMPILE.cc) $(OUTPUT_OPTION) $<
237.C.o
238$(COMPILE.C) $(OUTPUT_OPTION) $<
239.cpp.o
240$(COMPILE.cpp) $(OUTPUT_OPTION) $<
241.f.o
242$(COMPILE.f) $(OUTPUT_OPTION) $<
243.m.o
244$(COMPILE.m) $(OUTPUT_OPTION) $<
245.p.o
246$(COMPILE.p) $(OUTPUT_OPTION) $<
247.F.o
248$(COMPILE.F) $(OUTPUT_OPTION) $<
249.r.o
250$(COMPILE.r) $(OUTPUT_OPTION) $<
251.mod.o
252$(COMPILE.mod) -o $@ $<
253.c.ln
254$(LINT.c) -C$* $<
255.y.ln
256$(YACC.y) $<
257 $(LINT.c) -C$* y.tab.c
258 $(RM) y.tab.c
259.l.ln
260@$(RM) $*.c
261 $(LEX.l) $< > $*.c
262$(LINT.c) -i $*.c -o $@
263 $(RM) $*.c
264.y.c
265$(YACC.y) $<
266 mv -f y.tab.c $@
267.l.c
268@$(RM) $@
269 $(LEX.l) $< > $@
270.ym.m
271$(YACC.m) $<
272 mv -f y.tab.c $@
273.lm.m
274@$(RM) $@
275 $(LEX.m) $< > $@
276.F.f
277$(PREPROCESS.F) $(OUTPUT_OPTION) $<
278.r.f
279$(PREPROCESS.r) $(OUTPUT_OPTION) $<
280.l.r
281$(LEX.l) $< > $@
282 mv -f lex.yy.r $@
283.S.s
284$(PREPROCESS.S) $< > $@
285.texinfo.info
286$(MAKEINFO) $(MAKEINFO_FLAGS) $< -o $@
287.texi.info
288.txinfo.info
289.tex.dvi
290$(TEX) $<
291.texinfo.dvi
292$(TEXI2DVI) $(TEXI2DVI_FLAGS) $<
293.texi.dvi
294.txinfo.dvi
295.w.c
296$(CTANGLE) $< - $@
297.web.p
298$(TANGLE) $<
299.w.tex
300$(CWEAVE) $< - $@
301.web.tex
302$(WEAVE) $<
303# Directories
304# %s: could not be stat'd.
305# %s (device %ld, inode %ld): could not be opened.
306# %s (device %ld, inode %ld):
307 files,
308 impossibilities
309 so far.
310 impossibilities in %lu directories.
311unterminated variable reference
312warning: undefined variable `%.*s'
313Recursive variable `%s' references itself (eventually)
314# Files
315# files hash-table stats:
316%04d-%02d-%02d %02d:%02d:%02d
317.%09d
318# Not a target:
319%s:%s
320 | %s
321#  Precious file (prerequisite of .PRECIOUS).
322#  Phony target (prerequisite of .PHONY).
323#  Command-line target.
324#  A default, MAKEFILES, or -include/sinclude makefile.
325#  Implicit rule search has been done.
326#  Implicit rule search has not been done.
327#  Implicit/static pattern stem: `%s'
328#  File is an intermediate prerequisite.
329#  Also makes:
330#  Modification time never checked.
331#  File does not exist.
332#  File is very old.
333#  Last modified %s
334#  File has been updated.
335#  File has not been updated.
336#  Commands currently running (THIS IS A BUG).
337#  Dependencies commands running (THIS IS A BUG).
338#  Successfully updated.
339question_flag
340/SourceCache/gnumake/gnumake-126.2/make/file.c
341#  Needs to be updated (-q is set).
342#  Failed to be updated.
343#  Invalid value in `update_status' member!
344#  Invalid value in `command_state' member!
345Current time
346%s: Timestamp out of range; substituting %s
347*** Deleting intermediate file `%s'
348Removing intermediate files...
349Commands were specified for file `%s' at %s:%lu,
350Commands for file `%s' were found by implicit rule search,
351but `%s' is now considered the same file as `%s'.
352Commands for `%s' will be ignored in favor of those for `%s'.
353can't rename single-colon `%s' to double-colon `%s'
354can't rename double-colon `%s' to single-colon `%s'
355*name != '\0'
356.PRECIOUS
357.LOW_RESOLUTION_TIME
358.PHONY
359.INTERMEDIATE
360.SECONDARY
361.EXPORT_ALL_VARIABLES
362.IGNORE
363.SILENT
364.POSIX
365.NOTPARALLEL
366print_file
367enter_file
368lookup_file
369undefined
370recursive
371simple
372insufficient number of arguments (%d) to function `%s'
373unimplemented on this platform: function `%s'
374default
375environment
376file
377environment override
378command line
379automatic
380addprefix
381basename
382suffix
383%s:%lu:
384pipe
385fork
386Cleaning up temporary batch file %s
387filter
388%s: '%s'
389non-numeric first argument to `wordlist' function
390non-numeric second argument to `wordlist' function
391invalid first argument to `wordlist' function: `%d'
392non-numeric first argument to `word' function
393first argument to `word' function must be greater than 0
394unterminated call to function `%s': missing `%c'
395Internal error: func_error: '%s'
396abspath
397addsuffix
398notdir
399subst
400filter-out
401findstring
402firstword
403flavor
404join
405lastword
406patsubst
407realpath
408shell
409sort
410strip
411wildcard
412word
413wordlist
414words
415origin
416foreach
417call
418info
419error
420warning
421value
422eval
423POSIXLY_CORRECT
424%s: option `%s' is ambiguous
425%s: option `--%s' doesn't allow an argument
426%s: option `%c%s' doesn't allow an argument
427%s: option `%s' requires an argument
428%s: unrecognized option `--%s'
429%s: unrecognized option `%c%s'
430%s: illegal option -- %c
431%s: invalid option -- %c
432%s: option requires an argument -- %c
433%s: option `-W %s' is ambiguous
434%s: option `-W %s' doesn't allow an argument
435Avoiding implicit rule recursion.
436Trying pattern rule with stem `%.*s'.
437Rejecting impossible implicit prerequisite `%s'.
438Rejecting impossible rule prerequisite `%s'.
439Trying implicit prerequisite `%s'.
440Trying rule prerequisite `%s'.
441Found prerequisite `%s' as VPATH `%s'
442Looking for a rule with intermediate file `%s'.
443Looking for an implicit rule for `%s'.
444Looking for archive-member implicit rule for `%s'.
445%s: Command not found
446%s: Shell program not found
447execvp:
448INTERNAL: Freeing child 0x%08lx (%s) but no tokens left!
449write jobserver
450Released token for child 0x%08lx (%s).
451[%s] Error %d (ignored)
452*** [%s] Error %d
453 (core dumped)
454*** [%s] %s%s
455ap <= end
456/SourceCache/gnumake/gnumake-126.2/make/job.c
457 -ec
458 -c
459%s (line %d) Bad shell context (!unixy && !batch_mode_shell)
460$(SHELL)
461$(IFS)
462cp %p %c
463/bin/sh
464%s: %s
465/usr/bin/false
466cannot enforce load limits on this operating system
467getloadavg
468cannot enforce load limit:
469Estimated system load = %f (actual = %f) (max requested = %f)
470 (remote)
471Putting child 0x%08lx (%s) PID %ld%s on the chain.
472f->command_state == cs_finished
473*** Waiting for unfinished jobs....
474Live child 0x%08lx (%s) PID %ld %s
475remote_status
476wait
477Reaping losing child 0x%08lx PID %ld %s
478Reaping winning child 0x%08lx PID %ld %s
479Cleaning up temp batch file %s
480.DELETE_ON_ERROR
481Removing child 0x%08lx PID %ld%s from chain.
482don't
483Need a job token; we %shave children
484Duplicate the job FD
485INTERNAL: no children as we go to sleep on read
486Obtained token for child 0x%08lx (%s).
487read jobs pipe
488Read returned EBADF.
489construct_command_argv_internal
490break
491case
492continue
493exec
494exit
495export
496login
497logout
498read
499readonly
500shift
501switch
502test
503times
504trap
505umask
506while
507start_waiting_job
508%s: Entering an unknown directory
509%s: Leaving an unknown directory
510%s: Entering directory `%s'
511%s: Leaving directory `%s'
512%s[%u]: Entering an unknown directory
513%s[%u]: Leaving an unknown directory
514%s[%u]: Entering directory `%s'
515%s[%u]: Leaving directory `%s'
516%sGNU Make %s
517%sCopyright (C) 2006  Free Software Foundation, Inc.
518%sThis is free software; see the source for copying conditions.
519%sThere is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
520%sPARTICULAR PURPOSE.
521%sThis program built for %s
522%sThis program built for %s (%s)
523# Make data base, printed on %s
524# Finished Make data base on %s
525INTERNAL: Exiting with %u jobserver tokens (should be 0)!
526write
527INTERNAL: Exiting with %u jobserver tokens available; should be %u!
528empty string invalid as file name
529MAKECMDGOALS
530the `-%c' option requires a non-empty string argument
531the `-%c' option requires a positive integral argument
532Usage: %s [options] [target] ...
533This program built for %s
534This program built for %s (%s)
535Report bugs to <bug-make@gnu.org>
536MFLAGS
537MAKEFLAGS
538make
539getcwd
540.VARIABLES
541target-specific order-only second-expansion else-if
542.FEATURES
543archives
544jobserver
545check-symlink
546MAKE_RESTARTS
547vpath
548quiet
549makefiles
550errexit
551Unrecognized flag `%s'.
552unknown debug level specification `%s'
553MAKE_COMMAND
554$(MAKE_COMMAND)
555MAKE
556-*-command-variables-*-
557${-*-command-variables-*-}
558MAKEOVERRIDES
559MAKELEVEL
560CURDIR
561Makefile from standard input specified twice.
562TMPDIR
563/var/tmp/
564fopen (temporary file)
565fwrite (temporary file)
566.DEFAULT
567internal error: multiple --jobserver-fds options
568%d,%d
569internal error: invalid --jobserver-fds string `%s'
570warning: -jN forced in submake: disabling jobserver mode.
571dup jobserver
572warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
573creating jobs pipe
574init jobserver pipe
575Updating makefiles....
576Makefile `%s' might loop; not remaking it.
577Failed to remake makefile `%s'.
578Included makefile `%s' was not found.
579Makefile `%s' was not found
580chdir
581Re-executing[%u]:
582%s=%u
583MAKE_RESTARTS=
584MAKE_RESTARTS=%u
585BOGUS_UPDATE_STATUS
586/SourceCache/gnumake/gnumake-126.2/make/main.c
587unlink (temporary file):
588.DEFAULT_GOAL contains more than one target
589No targets specified and no makefile found
590No targets
591Updating goal targets....
592warning:  Clock skew detected.  Your build may be incomplete.
593Couldn't change back to original directory.
594main
595always-make
596directory
597basic
598debug
599environment-overrides
600help
601ignore-errors
602include-dir
603jobs
604jobserver-fds
605keep-going
606load-average
607check-symlink-times
608just-print
609old-file
610print-data-base
611question
612no-builtin-rules
613no-builtin-variables
614silent
615no-keep-going
616touch
617version
618print-directory
619no-print-directory
620what-if
621warn-undefined-variables
622NeXT-option
623stop
624new-file
625assume-new
626assume-old
627max-load
628dry-run
629recon
630Options:
631  -b, -m                      Ignored for compatibility.
632  -B, --always-make           Unconditionally make all targets.
633  -C DIRECTORY, --directory=DIRECTORY
634                              Change to DIRECTORY before doing anything.
635  -d                          Print lots of debugging information.
636  --debug[=FLAGS]             Print various types of debugging information.
637  -e, --environment-overrides
638                              Environment variables override makefiles.
639  -f FILE, --file=FILE, --makefile=FILE
640                              Read FILE as a makefile.
641  -h, --help                  Print this message and exit.
642  -i, --ignore-errors         Ignore errors from commands.
643  -I DIRECTORY, --include-dir=DIRECTORY
644                              Search DIRECTORY for included makefiles.
645  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
646  -k, --keep-going            Keep going when some targets can't be made.
647  -l [N], --load-average[=N], --max-load[=N]
648                              Don't start multiple jobs unless load is below N.
649  -L, --check-symlink-times   Use the latest mtime between symlinks and target.
650  -n, --just-print, --dry-run, --recon
651                              Don't actually run any commands; just print them.
652  -o FILE, --old-file=FILE, --assume-old=FILE
653                              Consider FILE to be very old and don't remake it.
654  -p, --print-data-base       Print make's internal database.
655  -q, --question              Run no commands; exit status says if up to date.
656  -r, --no-builtin-rules      Disable the built-in implicit rules.
657  -R, --no-builtin-variables  Disable the built-in variable settings.
658  -s, --silent, --quiet       Don't echo commands.
659  -S, --no-keep-going, --stop
660                              Turns off -k.
661  -t, --touch                 Touch targets instead of remaking them.
662  -v, --version               Print the version number of make and exit.
663  -w, --print-directory       Print the current directory.
664  --no-print-directory        Turn off -w, even if it was turned on implicitly.
665  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
666                              Consider FILE to be infinitely new.
667  --warn-undefined-variables  Warn when an undefined variable is referenced.
668  -N OPTION, --NeXT-option=OPTION
669                              Turn on value of NeXT OPTION.
670%s:%lu: ***
671%s: ***
672%s[%u]: ***
673.  Stop.
674%s:
675%s[%u]:
676write error: %s
677write error
678%s%s: %s
679$(HOME)
680HOME
681.INCLUDE_DIRS
682warning: NUL character seen; rest of line ignored
683virtual memory exhausted
684prerequisites cannot be defined in command scripts
685.SECONDEXPANSION
686mixed implicit and static pattern rules
687mixed implicit and normal rules
688target `%s' doesn't match the target pattern
689target file `%s' has both : and :: entries
690target `%s' given more than once in the same rule.
691warning: overriding commands for target `%s'
692warning: ignoring old commands for target `%s'
693ifdef
694ifndef
695ifeq
696ifneq
697else
698endif
699Extraneous text after `%s' directive
700extraneous `%s'
701only one `else' per conditional
702define
703endef
704Extraneous text after `endef' directive
705missing `endef', unterminated `define'
706invalid syntax in conditional
707extraneous `endef'
708empty variable name
709override
710empty `override' directive
711invalid `override' directive
712unexport
713include
714-include
715sinclude
716commands commence before first target
717missing rule before commands
718       
719 (did you mean TAB instead of 8 spaces?)
720missing separator%s
721*p2 != '\0'
722/SourceCache/gnumake/gnumake-126.2/make/read.c
723v != 0
724Malformed target-specific variable definition
725missing target pattern
726multiple target patterns
727target pattern contains no `%%'
728.DEFAULT_GOAL
729missing `endif'
730Reading makefile `%s'
731 (no default goal)
732 (search path)
733 (don't care)
734 (no ~ expansion)
735MAKEFILE_LIST
736Reading makefiles...
737$(MAKEFILES)
738/usr/include
739/usr/gnu/include
740/usr/local/include
741eval
742record_target_var
743GNUmakefile
744Makefile
745stat:
746lstat:
747readlink:
748%sNo rule to make target `%s'%s
749%sNo rule to make target `%s', needed by `%s'%s
750***
751$(strip $(.LIBPATTERNS))
752.LIBPATTERNS element `%s' is not a pattern
753%s/%s
754Warning: File `%s' has modification time %.2g s in the future
755touch %s
756touch: open:
757touch: fstat:
758touch: read:
759touch: lseek:
760touch: write:
761Pruning file `%s'.
762Considering target file `%s'.
763Recently tried and failed to update file `%s'.
764File `%s' was considered already.
765Still updating file `%s'.
766Finished updating file `%s'.
767File `%s' does not exist.
768Found an implicit rule for `%s'.
769No implicit rule found for `%s'.
770Using default commands for `%s'.
771Circular %s <- %s dependency dropped.
772Finished prerequisites of target file `%s'.
773The prerequisites of `%s' are being made.
774Giving up on target file `%s'.
775Target `%s' not remade because of errors.
776Prerequisite `%s' is order-only for target `%s'.
777Prerequisite `%s' of target `%s' does not exist.
778Prerequisite `%s' is newer than target `%s'.
779Target `%s' is double-colon and has no prerequisites.
780No commands for `%s' and no prerequisites actually changed.
781Making `%s' due to always-make flag.
782No need to remake target `%s'
783; using VPATH name `%s'
784Must remake target `%s'.
785  Ignoring VPATH name `%s'.
786Commands of `%s' are being run.
787Failed to remake target file `%s'.
788Successfully remade target file `%s'.
789Target file `%s' needs remade under -q.
790file->update_status >= 0 && file->update_status <= 2
791/SourceCache/gnumake/gnumake-126.2/make/remake.c
792Prerequisite `%s' is older than target `%s'.
793`%s' is up to date.
794Nothing to be done for `%s'.
795/lib
796/usr/lib
797update_file_1
798# Implicit Rules
799# No implicit rules.
800# %u implicit rules, %u
801 (%.1f%%)
802 terminal.
803BUG: num_pattern_rules wrong!  %u != %u
804(%.o)
805%s # of strings in strcache: %d
806%s # of strcache buffers: %d
807%s strcache size: total = %d / max = %d / min = %d / avg = %d
808%s strcache free: total = %d / max = %d / min = %d / avg = %d
809best->bytesfree > len
810/SourceCache/gnumake/gnumake-126.2/make/strcache.c
811add_string
812makefile
813environment under -e
814`override' directive
815 (from `%s', line %lu)
816define %s
817endef
818%s %s=
819$(subst ,,%s)
820# variable set hash-table stats:
821# Variables
822# Pattern-specific Variable Values
823%s :
824# No pattern-specific variable values.
825# %u pattern-specific variable values
826current_variable_set_list->next != NULL
827/SourceCache/gnumake/gnumake-126.2/make/variable.c
828USE_APPLE_PB_SUPPORT
829%s%s%s
830MAKE_VERSION
831SHELL
832MAKEFILES
833$(patsubst %/,%,$(dir $@))
834$(patsubst %/,%,$(dir $%))
835$(patsubst %/,%,$(dir $*))
836$(patsubst %/,%,$(dir $<))
837$(patsubst %/,%,$(dir $?))
838$(patsubst %/,%,$(dir $^))
839$(patsubst %/,%,$(dir $+))
840$(notdir $@)
841$(notdir $%)
842$(notdir $*)
843$(notdir $<)
844$(notdir $?)
845$(notdir $^)
846$(notdir $+)
847pop_variable_scope
8483.81
849i386-apple-darwin10.0
850# VPATH Search Paths
851vpath %s
852%s%c
853# No `vpath' search paths.
854# %u `vpath' search paths.
855# No general (`VPATH' variable) search path.
856# General (`VPATH' variable) search path:
857$(strip $(VPATH))
858$(strip $(GPATH))
859Load=%ld/%ld=%.0f%%,
860Rehash=%d,
861Collisions=%ld/%ld=%.0f%%
862can't allocate %ld bytes for hash table: memory exhausted
863$(VPATH)
864Can't do VPATH expansion on a null file.
865=|^();&<>*?[]:$`'"\
866Using old-style VPATH substitution.
867Consider using automatic variable substitution instead.
868next != NULL
869/SourceCache/gnumake/gnumake-126.2/make/glob/glob.c
870glob
871alnum
872alpha
873blank
874cntrl
875digit
876graph
877lower
878print
879punct
880space
881upper
882xdigit
883.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
884/bin/sh
885#;"*?[]&|<>(){}$`^~!
886
887        Defined make macro "OMAKE " to "/usr/bin/make  --no-print-directory"
888        Defined make rule "libc" with dependencies "${LIBNAME}(${OBJSC} ${SOBJSC})" and code []
889        Defined make rule "libf" with dependencies "${OBJSF}" and code -${AR} ${AR_FLAGS} ${LIBNAME} ${OBJSF}
890================================================================================
891TEST configureCLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:43)
892TESTING: configureCLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:43)
893  Choose between C and C++ bindings
894================================================================================
895TEST configureLanguageSupport from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:49)
896TESTING: configureLanguageSupport from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:49)
897  Check c-support c++-support and other misc tests
898      Allowing C++ name mangling
899      C language is C
900        Defined "CLANGUAGE_C" to "1"
901================================================================================
902TEST configureExternC from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:66)
903TESTING: configureExternC from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:66)
904  Protect C bindings from C++ mangling
905        Defined "USE_EXTERN_CXX" to " "
906================================================================================
907TEST configureFortranLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:72)
908TESTING: configureFortranLanguage from PETSc.utilities.languages(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/languages.py:72)
909  Turn on Fortran bindings
910      Using Fortran
911================================================================================
912TEST configureMkdir from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/programs.py:21)
913TESTING: configureMkdir from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/programs.py:21)
914  Make sure we can have mkdir automatically make intermediate directories
915Checking for program /opt/local/bin/mkdir...not found
916Checking for program /opt/local/sbin/mkdir...not found
917Checking for program /bin/mkdir...found
918sh: /bin/mkdir -p .conftest/tmp
919Executing: /bin/mkdir -p .conftest/tmp
920sh:
921      Adding -p flag to /bin/mkdir -p to automatically create directories
922        Defined make macro "MKDIR" to "/bin/mkdir -p"
923================================================================================
924TEST configurePrograms from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/programs.py:43)
925TESTING: configurePrograms from config.programs(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/programs.py:43)
926  Check for the programs needed to build and run PETSc
927Checking for program /opt/local/bin/sh...not found
928Checking for program /opt/local/sbin/sh...not found
929Checking for program /bin/sh...found
930          Defined make macro "SHELL" to "/bin/sh"
931Checking for program /opt/local/bin/sed...not found
932Checking for program /opt/local/sbin/sed...not found
933Checking for program /bin/sed...not found
934Checking for program /sbin/sed...not found
935Checking for program /usr/bin/sed...found
936          Defined make macro "SED" to "/usr/bin/sed"
937sh: /usr/bin/sed -i s/sed/sd/g sed1
938Executing: /usr/bin/sed -i s/sed/sd/g sed1
939sh:
940      Rejected SEDINPLACE cmd: /usr/bin/sed -i
941sh: /usr/bin/sed -i "" s/sed/sd/g sed1
942Executing: /usr/bin/sed -i "" s/sed/sd/g sed1
943sh:
944      Adding SEDINPLACE cmd: /usr/bin/sed -i ""
945        Defined make macro "SEDINPLACE" to "/usr/bin/sed -i """
946Checking for program /opt/local/bin/mv...not found
947Checking for program /opt/local/sbin/mv...not found
948Checking for program /bin/mv...found
949          Defined make macro "MV" to "/bin/mv"
950Checking for program /opt/local/bin/cp...not found
951Checking for program /opt/local/sbin/cp...not found
952Checking for program /bin/cp...found
953          Defined make macro "CP" to "/bin/cp"
954Checking for program /opt/local/bin/grep...found
955          Defined make macro "GREP" to "/opt/local/bin/grep"
956Checking for program /opt/local/bin/rm...not found
957Checking for program /opt/local/sbin/rm...not found
958Checking for program /bin/rm...found
959          Defined make macro "RM" to "/bin/rm -f"
960Checking for program /opt/local/bin/diff...not found
961Checking for program /opt/local/sbin/diff...not found
962Checking for program /bin/diff...not found
963Checking for program /sbin/diff...not found
964Checking for program /usr/bin/diff...found
965sh: /usr/bin/diff -w diff1 diff2
966Executing: /usr/bin/diff -w diff1 diff2
967sh:
968        Defined make macro "DIFF" to "/usr/bin/diff -w"
969Checking for program /usr/ucb/ps...not found
970Checking for program /usr/usb/ps...not found
971Checking for program /Users/mkraus/ps...not found
972Checking for program /opt/local/bin/gzip...found
973          Defined make macro "GZIP" to "/opt/local/bin/gzip"
974        Defined "HAVE_GZIP" to "1"
975================================================================================
976TEST configureMercurial from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:23)
977TESTING: configureMercurial from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:23)
978  Find the Mercurial executable
979Checking for program /opt/local/bin/hg...found
980          Defined make macro "HG" to "hg"
981================================================================================
982TEST configureCVS from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:30)
983TESTING: configureCVS from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:30)
984  Find the CVS executable
985Checking for program /opt/local/bin/cvs...not found
986Checking for program /opt/local/sbin/cvs...not found
987Checking for program /bin/cvs...not found
988Checking for program /sbin/cvs...not found
989Checking for program /usr/bin/cvs...found
990          Defined make macro "CVS" to "cvs"
991================================================================================
992TEST configureSubversion from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:35)
993TESTING: configureSubversion from config.sourceControl(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/sourceControl.py:35)
994  Find the Subversion executable
995Checking for program /opt/local/bin/svn...found
996          Defined make macro "SVN" to "svn"
997================================================================================
998TEST configureDirectories from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:28)
999TESTING: configureDirectories from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:28)
1000  Checks PETSC_DIR and sets if not set
1001      Version Information:
1002      #define PETSC_VERSION_RELEASE    1
1003      #define PETSC_VERSION_MAJOR      3
1004      #define PETSC_VERSION_MINOR      1
1005      #define PETSC_VERSION_SUBMINOR   0
1006      #define PETSC_VERSION_PATCH      4
1007      #define PETSC_VERSION_DATE       "Mar, 25, 2010"
1008      #define PETSC_VERSION_PATCH_DATE "Fri Jul 30 14:42:02 CDT 2010"
1009      #define PETSC_VERSION_HG         "2abf2833accc719e0e5f95d1f06dd735470058db"
1010      #define PETSC_VERSION_DATE_HG         "Fri Jul 30 14:28:11 2010 -0500"
1011      #define PETSC_VERSION_(MAJOR,MINOR,SUBMINOR) \
1012        Defined make macro "DIR" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4"
1013        Defined "DIR" to ""/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4""
1014sh: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configarch/config.guess
1015Executing: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configarch/config.guess
1016sh: i686-apple-darwin10.4.0
1017
1018sh: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configarch/config.sub i686-apple-darwin10.4.0
1019
1020Executing: /bin/sh /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configarch/config.sub i686-apple-darwin10.4.0
1021
1022sh: i686-apple-darwin10.4.0
1023
1024================================================================================
1025TEST configureExternalPackagesDir from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:100)
1026TESTING: configureExternalPackagesDir from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:100)
1027================================================================================
1028TEST configureInstallationMethod from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:107)
1029TESTING: configureInstallationMethod from PETSc.utilities.petscdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/petscdir.py:107)
1030      This is a tarball installation
1031================================================================================
1032TEST configureETags from PETSc.utilities.Etags(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/Etags.py:27)
1033TESTING: configureETags from PETSc.utilities.Etags(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/Etags.py:27)
1034  Determine if etags files exist and try to create otherwise
1035Found etags file
1036================================================================================
1037TEST getDatafilespath from PETSc.utilities.dataFilesPath(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/dataFilesPath.py:29)
1038TESTING: getDatafilespath from PETSc.utilities.dataFilesPath(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/dataFilesPath.py:29)
1039  Checks what DATAFILESPATH should be
1040        Defined make macro "DATAFILESPATH" to "None"
1041================================================================================
1042TEST checkMPICompilerOverride from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1352)
1043TESTING: checkMPICompilerOverride from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1352)
1044  Check if --with-mpi-dir is used along with CC CXX or FC compiler options.
1045    This usually prevents mpi compilers from being used - so issue a warning
1046================================================================================
1047TEST checkVendor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:311)
1048TESTING: checkVendor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:311)
1049  Determine the compiler vendor
1050      Compiler vendor is ""
1051================================================================================
1052TEST checkInitialFlags from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:321)
1053TESTING: checkInitialFlags from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:321)
1054  Initialize the compiler and linker flags
1055        Pushing language C
1056      Initialized CFLAGS to
1057      Initialized CFLAGS to
1058      Initialized LDFLAGS to
1059        Popping language C
1060        Pushing language Cxx
1061      Initialized CXXFLAGS to
1062      Initialized CXX_CXXFLAGS to
1063      Initialized LDFLAGS to
1064        Popping language Cxx
1065        Pushing language FC
1066      Initialized FFLAGS to
1067      Initialized FFLAGS to
1068      Initialized LDFLAGS to
1069        Popping language FC
1070      Initialized CPPFLAGS to
1071      Initialized CC_LINKER_FLAGS to []
1072      Initialized CXX_LINKER_FLAGS to []
1073      Initialized FC_LINKER_FLAGS to []
1074      Initialized sharedLibraryFlags to []
1075      Initialized dynamicLibraryFlags to []
1076================================================================================
1077TEST checkCCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:435)
1078TESTING: checkCCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:435)
1079  Locate a functional C compiler
1080Checking for program /opt/local/bin/openmpicc...found
1081          Defined make macro "CC" to "/opt/local/bin/openmpicc"
1082          Pushing language C
1083sh: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1084Executing: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1085sh:
1086sh: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1087Executing: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1088sh:
1089                                          Pushing language C
1090                                          Popping language C
1091                                          Pushing language Cxx
1092                                          Popping language Cxx
1093                                          Pushing language FC
1094                                          Popping language FC
1095                  Pushing language C
1096                  Popping language C
1097sh: /opt/local/bin/openmpicc  -o conftest     conftest.o -lsz
1098Executing: /opt/local/bin/openmpicc  -o conftest     conftest.o -lsz
1099sh:
1100sh: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1101Executing: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
1102sh:
1103                      Pushing language C
1104                      Popping language C
1105sh: /opt/local/bin/openmpicc  -o conftest     conftest.o -lsz
1106Executing: /opt/local/bin/openmpicc  -o conftest     conftest.o -lsz
1107sh:
1108Executing: ./conftest
1109sh: ./conftest
1110Executing: ./conftest
1111sh:
1112          Popping language C
1113================================================================================
1114TEST checkCPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:492)
1115TESTING: checkCPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:492)
1116  Locate a functional C preprocessor
1117Checking for program /opt/local/bin/openmpicc...found
1118          Defined make macro "CPP" to "/opt/local/bin/openmpicc -E"
1119        Pushing language C
1120sh: /opt/local/bin/openmpicc -E   conftest.c
1121Executing: /opt/local/bin/openmpicc -E   conftest.c
1122sh: # 1 "conftest.c"
1123# 1 "<built-in>"
1124# 1 "<command-line>"
1125# 1 "conftest.c"
1126# 1 "confdefs.h" 1
1127# 2 "conftest.c" 2
1128# 1 "conffix.h" 1
1129# 3 "conftest.c" 2
1130# 1 "/usr/include/stdlib.h" 1 3 4
1131# 61 "/usr/include/stdlib.h" 3 4
1132# 1 "/usr/include/Availability.h" 1 3 4
1133# 126 "/usr/include/Availability.h" 3 4
1134# 1 "/usr/include/AvailabilityInternal.h" 1 3 4
1135# 127 "/usr/include/Availability.h" 2 3 4
1136# 62 "/usr/include/stdlib.h" 2 3 4
1137# 1 "/usr/include/_types.h" 1 3 4
1138# 27 "/usr/include/_types.h" 3 4
1139# 1 "/usr/include/sys/_types.h" 1 3 4
1140# 32 "/usr/include/sys/_types.h" 3 4
1141# 1 "/usr/include/sys/cdefs.h" 1 3 4
1142# 33 "/usr/include/sys/_types.h" 2 3 4
1143# 1 "/usr/include/machine/_types.h" 1 3 4
1144# 34 "/usr/include/machine/_types.h" 3 4
1145# 1 "/usr/include/i386/_types.h" 1 3 4
1146# 37 "/usr/include/i386/_types.h" 3 4
1147typedef signed char __int8_t;
1148typedef unsigned char __uint8_t;
1149typedef short __int16_t;
1150typedef unsigned short __uint16_t;
1151typedef int __int32_t;
1152typedef unsigned int __uint32_t;
1153typedef long long __int64_t;
1154typedef unsigned long long __uint64_t;
1155typedef long __darwin_intptr_t;
1156typedef unsigned int __darwin_natural_t;
1157# 70 "/usr/include/i386/_types.h" 3 4
1158typedef int __darwin_ct_rune_t;
1159typedef union {
1160 char __mbstate8[128];
1161 long long _mbstateL;
1162} __mbstate_t;
1163typedef __mbstate_t __darwin_mbstate_t;
1164typedef long int __darwin_ptrdiff_t;
1165typedef long unsigned int __darwin_size_t;
1166typedef __builtin_va_list __darwin_va_list;
1167typedef int __darwin_wchar_t;
1168typedef __darwin_wchar_t __darwin_rune_t;
1169typedef int __darwin_wint_t;
1170typedef unsigned long __darwin_clock_t;
1171typedef __uint32_t __darwin_socklen_t;
1172typedef long __darwin_ssize_t;
1173typedef long __darwin_time_t;
1174# 35 "/usr/include/machine/_types.h" 2 3 4
1175# 34 "/usr/include/sys/_types.h" 2 3 4
1176# 58 "/usr/include/sys/_types.h" 3 4
1177struct __darwin_pthread_handler_rec
1178{
1179 void (*__routine)(void *);
1180 void *__arg;
1181 struct __darwin_pthread_handler_rec *__next;
1182};
1183struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; };
1184struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; };
1185struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; };
1186struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; };
1187struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
1188struct _opaque_pthread_once_t { long __sig; char __opaque[8]; };
1189struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; };
1190struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; };
1191struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; };
1192# 94 "/usr/include/sys/_types.h" 3 4
1193typedef __int64_t __darwin_blkcnt_t;
1194typedef __int32_t __darwin_blksize_t;
1195typedef __int32_t __darwin_dev_t;
1196typedef unsigned int __darwin_fsblkcnt_t;
1197typedef unsigned int __darwin_fsfilcnt_t;
1198typedef __uint32_t __darwin_gid_t;
1199typedef __uint32_t __darwin_id_t;
1200typedef __uint64_t __darwin_ino64_t;
1201typedef __darwin_ino64_t __darwin_ino_t;
1202typedef __darwin_natural_t __darwin_mach_port_name_t;
1203typedef __darwin_mach_port_name_t __darwin_mach_port_t;
1204typedef __uint16_t __darwin_mode_t;
1205typedef __int64_t __darwin_off_t;
1206typedef __int32_t __darwin_pid_t;
1207typedef struct _opaque_pthread_attr_t
1208   __darwin_pthread_attr_t;
1209typedef struct _opaque_pthread_cond_t
1210   __darwin_pthread_cond_t;
1211typedef struct _opaque_pthread_condattr_t
1212   __darwin_pthread_condattr_t;
1213typedef unsigned long __darwin_pthread_key_t;
1214typedef struct _opaque_pthread_mutex_t
1215   __darwin_pthread_mutex_t;
1216typedef struct _opaque_pthread_mutexattr_t
1217   __darwin_pthread_mutexattr_t;
1218typedef struct _opaque_pthread_once_t
1219   __darwin_pthread_once_t;
1220typedef struct _opaque_pthread_rwlock_t
1221   __darwin_pthread_rwlock_t;
1222typedef struct _opaque_pthread_rwlockattr_t
1223   __darwin_pthread_rwlockattr_t;
1224typedef struct _opaque_pthread_t
1225   *__darwin_pthread_t;
1226typedef __uint32_t __darwin_sigset_t;
1227typedef __int32_t __darwin_suseconds_t;
1228typedef __uint32_t __darwin_uid_t;
1229typedef __uint32_t __darwin_useconds_t;
1230typedef unsigned char __darwin_uuid_t[16];
1231typedef char __darwin_uuid_string_t[37];
1232# 28 "/usr/include/_types.h" 2 3 4
1233# 39 "/usr/include/_types.h" 3 4
1234typedef int __darwin_nl_item;
1235typedef int __darwin_wctrans_t;
1236typedef __uint32_t __darwin_wctype_t;
1237# 64 "/usr/include/stdlib.h" 2 3 4
1238# 1 "/usr/include/sys/wait.h" 1 3 4
1239# 79 "/usr/include/sys/wait.h" 3 4
1240typedef enum {
1241 P_ALL,
1242 P_PID,
1243 P_PGID
1244} idtype_t;
1245typedef __darwin_pid_t pid_t;
1246typedef __darwin_id_t id_t;
1247# 116 "/usr/include/sys/wait.h" 3 4
1248# 1 "/usr/include/sys/signal.h" 1 3 4
1249# 73 "/usr/include/sys/signal.h" 3 4
1250# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
1251# 74 "/usr/include/sys/signal.h" 2 3 4
1252# 1 "/usr/include/machine/signal.h" 1 3 4
1253# 34 "/usr/include/machine/signal.h" 3 4
1254# 1 "/usr/include/i386/signal.h" 1 3 4
1255# 39 "/usr/include/i386/signal.h" 3 4
1256typedef int sig_atomic_t;
1257# 55 "/usr/include/i386/signal.h" 3 4
1258# 1 "/usr/include/i386/_structs.h" 1 3 4
1259# 56 "/usr/include/i386/signal.h" 2 3 4
1260# 35 "/usr/include/machine/signal.h" 2 3 4
1261# 82 "/usr/include/sys/signal.h" 2 3 4
1262# 154 "/usr/include/sys/signal.h" 3 4
1263# 1 "/usr/include/sys/_structs.h" 1 3 4
1264# 57 "/usr/include/sys/_structs.h" 3 4
1265# 1 "/usr/include/machine/_structs.h" 1 3 4
1266# 31 "/usr/include/machine/_structs.h" 3 4
1267# 1 "/usr/include/i386/_structs.h" 1 3 4
1268# 38 "/usr/include/i386/_structs.h" 3 4
1269# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
1270# 43 "/usr/include/mach/i386/_structs.h" 3 4
1271struct __darwin_i386_thread_state
1272{
1273    unsigned int __eax;
1274    unsigned int __ebx;
1275    unsigned int __ecx;
1276    unsigned int __edx;
1277    unsigned int __edi;
1278    unsigned int __esi;
1279    unsigned int __ebp;
1280    unsigned int __esp;
1281    unsigned int __ss;
1282    unsigned int __eflags;
1283    unsigned int __eip;
1284    unsigned int __cs;
1285    unsigned int __ds;
1286    unsigned int __es;
1287    unsigned int __fs;
1288    unsigned int __gs;
1289};
1290# 89 "/usr/include/mach/i386/_structs.h" 3 4
1291struct __darwin_fp_control
1292{
1293    unsigned short __invalid :1,
1294        __denorm :1,
1295    __zdiv :1,
1296    __ovrfl :1,
1297    __undfl :1,
1298    __precis :1,
1299      :2,
1300    __pc :2,
1301    __rc :2,
1302             :1,
1303      :3;
1304};
1305typedef struct __darwin_fp_control __darwin_fp_control_t;
1306# 147 "/usr/include/mach/i386/_structs.h" 3 4
1307struct __darwin_fp_status
1308{
1309    unsigned short __invalid :1,
1310        __denorm :1,
1311    __zdiv :1,
1312    __ovrfl :1,
1313    __undfl :1,
1314    __precis :1,
1315    __stkflt :1,
1316    __errsumm :1,
1317    __c0 :1,
1318    __c1 :1,
1319    __c2 :1,
1320    __tos :3,
1321    __c3 :1,
1322    __busy :1;
1323};
1324typedef struct __darwin_fp_status __darwin_fp_status_t;
1325# 191 "/usr/include/mach/i386/_structs.h" 3 4
1326struct __darwin_mmst_reg
1327{
1328 char __mmst_reg[10];
1329 char __mmst_rsrv[6];
1330};
1331# 210 "/usr/include/mach/i386/_structs.h" 3 4
1332struct __darwin_xmm_reg
1333{
1334 char __xmm_reg[16];
1335};
1336# 232 "/usr/include/mach/i386/_structs.h" 3 4
1337struct __darwin_i386_float_state
1338{
1339 int __fpu_reserved[2];
1340 struct __darwin_fp_control __fpu_fcw;
1341 struct __darwin_fp_status __fpu_fsw;
1342 __uint8_t __fpu_ftw;
1343 __uint8_t __fpu_rsrv1;
1344 __uint16_t __fpu_fop;
1345 __uint32_t __fpu_ip;
1346 __uint16_t __fpu_cs;
1347 __uint16_t __fpu_rsrv2;
1348 __uint32_t __fpu_dp;
1349 __uint16_t __fpu_ds;
1350 __uint16_t __fpu_rsrv3;
1351 __uint32_t __fpu_mxcsr;
1352 __uint32_t __fpu_mxcsrmask;
1353 struct __darwin_mmst_reg __fpu_stmm0;
1354 struct __darwin_mmst_reg __fpu_stmm1;
1355 struct __darwin_mmst_reg __fpu_stmm2;
1356 struct __darwin_mmst_reg __fpu_stmm3;
1357 struct __darwin_mmst_reg __fpu_stmm4;
1358 struct __darwin_mmst_reg __fpu_stmm5;
1359 struct __darwin_mmst_reg __fpu_stmm6;
1360 struct __darwin_mmst_reg __fpu_stmm7;
1361 struct __darwin_xmm_reg __fpu_xmm0;
1362 struct __darwin_xmm_reg __fpu_xmm1;
1363 struct __darwin_xmm_reg __fpu_xmm2;
1364 struct __darwin_xmm_reg __fpu_xmm3;
1365 struct __darwin_xmm_reg __fpu_xmm4;
1366 struct __darwin_xmm_reg __fpu_xmm5;
1367 struct __darwin_xmm_reg __fpu_xmm6;
1368 struct __darwin_xmm_reg __fpu_xmm7;
1369 char __fpu_rsrv4[14*16];
1370 int __fpu_reserved1;
1371};
1372# 308 "/usr/include/mach/i386/_structs.h" 3 4
1373struct __darwin_i386_exception_state
1374{
1375    unsigned int __trapno;
1376    unsigned int __err;
1377    unsigned int __faultvaddr;
1378};
1379# 326 "/usr/include/mach/i386/_structs.h" 3 4
1380struct __darwin_x86_debug_state32
1381{
1382 unsigned int __dr0;
1383 unsigned int __dr1;
1384 unsigned int __dr2;
1385 unsigned int __dr3;
1386 unsigned int __dr4;
1387 unsigned int __dr5;
1388 unsigned int __dr6;
1389 unsigned int __dr7;
1390};
1391# 358 "/usr/include/mach/i386/_structs.h" 3 4
1392struct __darwin_x86_thread_state64
1393{
1394 __uint64_t __rax;
1395 __uint64_t __rbx;
1396 __uint64_t __rcx;
1397 __uint64_t __rdx;
1398 __uint64_t __rdi;
1399 __uint64_t __rsi;
1400 __uint64_t __rbp;
1401 __uint64_t __rsp;
1402 __uint64_t __r8;
1403 __uint64_t __r9;
1404 __uint64_t __r10;
1405 __uint64_t __r11;
1406 __uint64_t __r12;
1407 __uint64_t __r13;
1408 __uint64_t __r14;
1409 __uint64_t __r15;
1410 __uint64_t __rip;
1411 __uint64_t __rflags;
1412 __uint64_t __cs;
1413 __uint64_t __fs;
1414 __uint64_t __gs;
1415};
1416# 413 "/usr/include/mach/i386/_structs.h" 3 4
1417struct __darwin_x86_float_state64
1418{
1419 int __fpu_reserved[2];
1420 struct __darwin_fp_control __fpu_fcw;
1421 struct __darwin_fp_status __fpu_fsw;
1422 __uint8_t __fpu_ftw;
1423 __uint8_t __fpu_rsrv1;
1424 __uint16_t __fpu_fop;
1425 __uint32_t __fpu_ip;
1426 __uint16_t __fpu_cs;
1427 __uint16_t __fpu_rsrv2;
1428 __uint32_t __fpu_dp;
1429 __uint16_t __fpu_ds;
1430 __uint16_t __fpu_rsrv3;
1431 __uint32_t __fpu_mxcsr;
1432 __uint32_t __fpu_mxcsrmask;
1433 struct __darwin_mmst_reg __fpu_stmm0;
1434 struct __darwin_mmst_reg __fpu_stmm1;
1435 struct __darwin_mmst_reg __fpu_stmm2;
1436 struct __darwin_mmst_reg __fpu_stmm3;
1437 struct __darwin_mmst_reg __fpu_stmm4;
1438 struct __darwin_mmst_reg __fpu_stmm5;
1439 struct __darwin_mmst_reg __fpu_stmm6;
1440 struct __darwin_mmst_reg __fpu_stmm7;
1441 struct __darwin_xmm_reg __fpu_xmm0;
1442 struct __darwin_xmm_reg __fpu_xmm1;
1443 struct __darwin_xmm_reg __fpu_xmm2;
1444 struct __darwin_xmm_reg __fpu_xmm3;
1445 struct __darwin_xmm_reg __fpu_xmm4;
1446 struct __darwin_xmm_reg __fpu_xmm5;
1447 struct __darwin_xmm_reg __fpu_xmm6;
1448 struct __darwin_xmm_reg __fpu_xmm7;
1449 struct __darwin_xmm_reg __fpu_xmm8;
1450 struct __darwin_xmm_reg __fpu_xmm9;
1451 struct __darwin_xmm_reg __fpu_xmm10;
1452 struct __darwin_xmm_reg __fpu_xmm11;
1453 struct __darwin_xmm_reg __fpu_xmm12;
1454 struct __darwin_xmm_reg __fpu_xmm13;
1455 struct __darwin_xmm_reg __fpu_xmm14;
1456 struct __darwin_xmm_reg __fpu_xmm15;
1457 char __fpu_rsrv4[6*16];
1458 int __fpu_reserved1;
1459};
1460# 517 "/usr/include/mach/i386/_structs.h" 3 4
1461struct __darwin_x86_exception_state64
1462{
1463    unsigned int __trapno;
1464    unsigned int __err;
1465    __uint64_t __faultvaddr;
1466};
1467# 535 "/usr/include/mach/i386/_structs.h" 3 4
1468struct __darwin_x86_debug_state64
1469{
1470 __uint64_t __dr0;
1471 __uint64_t __dr1;
1472 __uint64_t __dr2;
1473 __uint64_t __dr3;
1474 __uint64_t __dr4;
1475 __uint64_t __dr5;
1476 __uint64_t __dr6;
1477 __uint64_t __dr7;
1478};
1479# 39 "/usr/include/i386/_structs.h" 2 3 4
1480# 48 "/usr/include/i386/_structs.h" 3 4
1481struct __darwin_mcontext32
1482{
1483 struct __darwin_i386_exception_state __es;
1484 struct __darwin_i386_thread_state __ss;
1485 struct __darwin_i386_float_state __fs;
1486};
1487# 68 "/usr/include/i386/_structs.h" 3 4
1488struct __darwin_mcontext64
1489{
1490 struct __darwin_x86_exception_state64 __es;
1491 struct __darwin_x86_thread_state64 __ss;
1492 struct __darwin_x86_float_state64 __fs;
1493};
1494# 91 "/usr/include/i386/_structs.h" 3 4
1495typedef struct __darwin_mcontext64 *mcontext_t;
1496# 32 "/usr/include/machine/_structs.h" 2 3 4
1497# 58 "/usr/include/sys/_structs.h" 2 3 4
1498# 75 "/usr/include/sys/_structs.h" 3 4
1499struct __darwin_sigaltstack
1500{
1501 void *ss_sp;
1502 __darwin_size_t ss_size;
1503 int ss_flags;
1504};
1505# 128 "/usr/include/sys/_structs.h" 3 4
1506struct __darwin_ucontext
1507{
1508 int uc_onstack;
1509 __darwin_sigset_t uc_sigmask;
1510 struct __darwin_sigaltstack uc_stack;
1511 struct __darwin_ucontext *uc_link;
1512 __darwin_size_t uc_mcsize;
1513 struct __darwin_mcontext64 *uc_mcontext;
1514};
1515# 218 "/usr/include/sys/_structs.h" 3 4
1516typedef struct __darwin_sigaltstack stack_t;
1517# 227 "/usr/include/sys/_structs.h" 3 4
1518typedef struct __darwin_ucontext ucontext_t;
1519# 155 "/usr/include/sys/signal.h" 2 3 4
1520# 163 "/usr/include/sys/signal.h" 3 4
1521typedef __darwin_pthread_attr_t pthread_attr_t;
1522typedef __darwin_sigset_t sigset_t;
1523typedef __darwin_size_t size_t;
1524typedef __darwin_uid_t uid_t;
1525union sigval {
1526 int sival_int;
1527 void *sival_ptr;
1528};
1529struct sigevent {
1530 int sigev_notify;
1531 int sigev_signo;
1532 union sigval sigev_value;
1533 void (*sigev_notify_function)(union sigval);
1534 pthread_attr_t *sigev_notify_attributes;
1535};
1536typedef struct __siginfo {
1537 int si_signo;
1538 int si_errno;
1539 int si_code;
1540 pid_t si_pid;
1541 uid_t si_uid;
1542 int si_status;
1543 void *si_addr;
1544 union sigval si_value;
1545 long si_band;
1546 unsigned long __pad[7];
1547} siginfo_t;
1548# 292 "/usr/include/sys/signal.h" 3 4
1549union __sigaction_u {
1550 void (*__sa_handler)(int);
1551 void (*__sa_sigaction)(int, struct __siginfo *,
1552         void *);
1553};
1554struct __sigaction {
1555 union __sigaction_u __sigaction_u;
1556 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
1557 sigset_t sa_mask;
1558 int sa_flags;
1559};
1560struct sigaction {
1561 union __sigaction_u __sigaction_u;
1562 sigset_t sa_mask;
1563 int sa_flags;
1564};
1565# 354 "/usr/include/sys/signal.h" 3 4
1566typedef void (*sig_t)(int);
1567# 371 "/usr/include/sys/signal.h" 3 4
1568struct sigvec {
1569 void (*sv_handler)(int);
1570 int sv_mask;
1571 int sv_flags;
1572};
1573# 390 "/usr/include/sys/signal.h" 3 4
1574struct sigstack {
1575 char *ss_sp;
1576 int ss_onstack;
1577};
1578# 412 "/usr/include/sys/signal.h" 3 4
1579void (*signal(int, void (*)(int)))(int);
1580# 117 "/usr/include/sys/wait.h" 2 3 4
1581# 1 "/usr/include/sys/resource.h" 1 3 4
1582# 76 "/usr/include/sys/resource.h" 3 4
1583# 1 "/usr/include/sys/_structs.h" 1 3 4
1584# 100 "/usr/include/sys/_structs.h" 3 4
1585struct timeval
1586{
1587 __darwin_time_t tv_sec;
1588 __darwin_suseconds_t tv_usec;
1589};
1590# 77 "/usr/include/sys/resource.h" 2 3 4
1591# 88 "/usr/include/sys/resource.h" 3 4
1592typedef __uint64_t rlim_t;
1593# 142 "/usr/include/sys/resource.h" 3 4
1594struct rusage {
1595 struct timeval ru_utime;
1596 struct timeval ru_stime;
1597# 153 "/usr/include/sys/resource.h" 3 4
1598 long ru_maxrss;
1599 long ru_ixrss;
1600 long ru_idrss;
1601 long ru_isrss;
1602 long ru_minflt;
1603 long ru_majflt;
1604 long ru_nswap;
1605 long ru_inblock;
1606 long ru_oublock;
1607 long ru_msgsnd;
1608 long ru_msgrcv;
1609 long ru_nsignals;
1610 long ru_nvcsw;
1611 long ru_nivcsw;
1612};
1613# 213 "/usr/include/sys/resource.h" 3 4
1614struct rlimit {
1615 rlim_t rlim_cur;
1616 rlim_t rlim_max;
1617};
1618# 235 "/usr/include/sys/resource.h" 3 4
1619int getpriority(int, id_t);
1620int getiopolicy_np(int, int);
1621int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" );
1622int getrusage(int, struct rusage *);
1623int setpriority(int, id_t, int);
1624int setiopolicy_np(int, int, int);
1625int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" );
1626# 118 "/usr/include/sys/wait.h" 2 3 4
1627# 193 "/usr/include/sys/wait.h" 3 4
1628# 1 "/usr/include/machine/endian.h" 1 3 4
1629# 37 "/usr/include/machine/endian.h" 3 4
1630# 1 "/usr/include/i386/endian.h" 1 3 4
1631# 99 "/usr/include/i386/endian.h" 3 4
1632# 1 "/usr/include/sys/_endian.h" 1 3 4
1633# 124 "/usr/include/sys/_endian.h" 3 4
1634# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
1635# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
1636# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
1637# 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
1638static __inline__
1639__uint16_t
1640_OSSwapInt16(
1641    __uint16_t _data
1642)
1643{
1644    return ((_data << 8) | (_data >> 8));
1645}
1646static __inline__
1647__uint32_t
1648_OSSwapInt32(
1649    __uint32_t _data
1650)
1651{
1652    __asm__ ("bswap   %0" : "+r" (_data));
1653    return _data;
1654}
1655# 91 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
1656static __inline__
1657__uint64_t
1658_OSSwapInt64(
1659    __uint64_t _data
1660)
1661{
1662    __asm__ ("bswap   %0" : "+r" (_data));
1663    return _data;
1664}
1665# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
1666# 125 "/usr/include/sys/_endian.h" 2 3 4
1667# 100 "/usr/include/i386/endian.h" 2 3 4
1668# 38 "/usr/include/machine/endian.h" 2 3 4
1669# 194 "/usr/include/sys/wait.h" 2 3 4
1670union wait {
1671 int w_status;
1672 struct {
1673  unsigned int w_Termsig:7,
1674    w_Coredump:1,
1675    w_Retcode:8,
1676    w_Filler:16;
1677 } w_T;
1678 struct {
1679  unsigned int w_Stopval:8,
1680    w_Stopsig:8,
1681    w_Filler:16;
1682 } w_S;
1683};
1684# 254 "/usr/include/sys/wait.h" 3 4
1685pid_t wait(int *) __asm("_" "wait" );
1686pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" );
1687int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" );
1688pid_t wait3(int *, int, struct rusage *);
1689pid_t wait4(pid_t, int *, int, struct rusage *);
1690# 66 "/usr/include/stdlib.h" 2 3 4
1691# 1 "/usr/include/alloca.h" 1 3 4
1692# 35 "/usr/include/alloca.h" 3 4
1693void *alloca(size_t);
1694# 68 "/usr/include/stdlib.h" 2 3 4
1695# 81 "/usr/include/stdlib.h" 3 4
1696typedef __darwin_ct_rune_t ct_rune_t;
1697typedef __darwin_rune_t rune_t;
1698typedef __darwin_wchar_t wchar_t;
1699typedef struct {
1700 int quot;
1701 int rem;
1702} div_t;
1703typedef struct {
1704 long quot;
1705 long rem;
1706} ldiv_t;
1707typedef struct {
1708 long long quot;
1709 long long rem;
1710} lldiv_t;
1711# 134 "/usr/include/stdlib.h" 3 4
1712extern int __mb_cur_max;
1713# 144 "/usr/include/stdlib.h" 3 4
1714void abort(void) __attribute__((__noreturn__));
1715int abs(int) __attribute__((__const__));
1716int atexit(void (*)(void));
1717double atof(const char *);
1718int atoi(const char *);
1719long atol(const char *);
1720long long
1721  atoll(const char *);
1722void *bsearch(const void *, const void *, size_t,
1723     size_t, int (*)(const void *, const void *));
1724void *calloc(size_t, size_t);
1725div_t div(int, int) __attribute__((__const__));
1726void exit(int) __attribute__((__noreturn__));
1727void free(void *);
1728char *getenv(const char *);
1729long labs(long) __attribute__((__const__));
1730ldiv_t ldiv(long, long) __attribute__((__const__));
1731long long
1732  llabs(long long);
1733lldiv_t lldiv(long long, long long);
1734void *malloc(size_t);
1735int mblen(const char *, size_t);
1736size_t mbstowcs(wchar_t * , const char * , size_t);
1737int mbtowc(wchar_t * , const char * , size_t);
1738int posix_memalign(void **, size_t, size_t);
1739void qsort(void *, size_t, size_t,
1740     int (*)(const void *, const void *));
1741int rand(void);
1742void *realloc(void *, size_t);
1743void srand(unsigned);
1744double strtod(const char *, char **) __asm("_" "strtod" );
1745float strtof(const char *, char **) __asm("_" "strtof" );
1746long strtol(const char *, char **, int);
1747long double
1748  strtold(const char *, char **) ;
1749long long
1750  strtoll(const char *, char **, int);
1751unsigned long
1752  strtoul(const char *, char **, int);
1753unsigned long long
1754  strtoull(const char *, char **, int);
1755int system(const char *) __asm("_" "system" );
1756size_t wcstombs(char * , const wchar_t * , size_t);
1757int wctomb(char *, wchar_t);
1758void _Exit(int) __attribute__((__noreturn__));
1759long a64l(const char *);
1760double drand48(void);
1761char *ecvt(double, int, int *, int *);
1762double erand48(unsigned short[3]);
1763char *fcvt(double, int, int *, int *);
1764char *gcvt(double, int, char *);
1765int getsubopt(char **, char * const *, char **);
1766int grantpt(int);
1767char *initstate(unsigned, char *, size_t);
1768long jrand48(unsigned short[3]);
1769char *l64a(long);
1770void lcong48(unsigned short[7]);
1771long lrand48(void);
1772char *mktemp(char *);
1773int mkstemp(char *);
1774long mrand48(void);
1775long nrand48(unsigned short[3]);
1776int posix_openpt(int);
1777char *ptsname(int);
1778int putenv(char *) __asm("_" "putenv" );
1779long random(void);
1780int rand_r(unsigned *);
1781char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");
1782unsigned short
1783 *seed48(unsigned short[3]);
1784int setenv(const char *, const char *, int) __asm("_" "setenv" );
1785void setkey(const char *) __asm("_" "setkey" );
1786char *setstate(const char *);
1787void srand48(long);
1788void srandom(unsigned);
1789int unlockpt(int);
1790int unsetenv(const char *) __asm("_" "unsetenv" );
1791# 1 "/usr/include/machine/types.h" 1 3 4
1792# 37 "/usr/include/machine/types.h" 3 4
1793# 1 "/usr/include/i386/types.h" 1 3 4
1794# 70 "/usr/include/i386/types.h" 3 4
1795# 1 "/usr/include/i386/_types.h" 1 3 4
1796# 71 "/usr/include/i386/types.h" 2 3 4
1797typedef signed char int8_t;
1798typedef unsigned char u_int8_t;
1799typedef short int16_t;
1800typedef unsigned short u_int16_t;
1801typedef int int32_t;
1802typedef unsigned int u_int32_t;
1803typedef long long int64_t;
1804typedef unsigned long long u_int64_t;
1805typedef int64_t register_t;
1806typedef __darwin_intptr_t intptr_t;
1807typedef unsigned long uintptr_t;
1808typedef u_int64_t user_addr_t;
1809typedef u_int64_t user_size_t;
1810typedef int64_t user_ssize_t;
1811typedef int64_t user_long_t;
1812typedef u_int64_t user_ulong_t;
1813typedef int64_t user_time_t;
1814typedef int64_t user_off_t;
1815typedef u_int64_t syscall_arg_t;
1816# 38 "/usr/include/machine/types.h" 2 3 4
1817# 256 "/usr/include/stdlib.h" 2 3 4
1818typedef __darwin_dev_t dev_t;
1819typedef __darwin_mode_t mode_t;
1820u_int32_t
1821  arc4random(void);
1822void arc4random_addrandom(unsigned char *dat, int datlen);
1823void arc4random_stir(void);
1824int atexit_b(void (^)(void));
1825void *bsearch_b(const void *, const void *, size_t,
1826     size_t, int (^)(const void *, const void *));
1827char *cgetcap(char *, const char *, int);
1828int cgetclose(void);
1829int cgetent(char **, char **, const char *);
1830int cgetfirst(char **, char **);
1831int cgetmatch(const char *, const char *);
1832int cgetnext(char **, char **);
1833int cgetnum(char *, const char *, long *);
1834int cgetset(const char *);
1835int cgetstr(char *, const char *, char **);
1836int cgetustr(char *, const char *, char **);
1837int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default")));
1838char *devname(dev_t, mode_t);
1839char *devname_r(dev_t, mode_t, char *buf, int len);
1840char *getbsize(int *, long *);
1841int getloadavg(double [], int);
1842const char
1843 *getprogname(void);
1844int heapsort(void *, size_t, size_t,
1845     int (*)(const void *, const void *));
1846int heapsort_b(void *, size_t, size_t,
1847     int (^)(const void *, const void *));
1848int mergesort(void *, size_t, size_t,
1849     int (*)(const void *, const void *));
1850int mergesort_b(void *, size_t, size_t,
1851     int (^)(const void *, const void *));
1852void psort(void *, size_t, size_t,
1853     int (*)(const void *, const void *));
1854void psort_b(void *, size_t, size_t,
1855     int (^)(const void *, const void *));
1856void psort_r(void *, size_t, size_t, void *,
1857     int (*)(void *, const void *, const void *));
1858void qsort_b(void *, size_t, size_t,
1859     int (^)(const void *, const void *));
1860void qsort_r(void *, size_t, size_t, void *,
1861     int (*)(void *, const void *, const void *));
1862int radixsort(const unsigned char **, int, const unsigned char *,
1863     unsigned);
1864void setprogname(const char *);
1865int sradixsort(const unsigned char **, int, const unsigned char *,
1866     unsigned);
1867void sranddev(void);
1868void srandomdev(void);
1869void *reallocf(void *, size_t);
1870long long
1871  strtoq(const char *, char **, int);
1872unsigned long long
1873  strtouq(const char *, char **, int);
1874extern char *suboptarg;
1875void *valloc(size_t);
1876# 3 "conftest.c" 2
1877
1878        Popping language C
1879================================================================================
1880TEST checkCxxCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:598)
1881TESTING: checkCxxCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:598)
1882  Locate a functional Cxx compiler
1883Checking for program /opt/local/bin/openmpicxx...found
1884          Defined make macro "CXX" to "/opt/local/bin/openmpicxx"
1885          Pushing language Cxx
1886sh: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1887Executing: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1888sh:
1889sh: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1890Executing: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1891sh:
1892                                          Pushing language C
1893                                          Popping language C
1894                                          Pushing language Cxx
1895                                          Popping language Cxx
1896                                          Pushing language FC
1897                                          Popping language FC
1898                  Pushing language CXX
1899                  Popping language CXX
1900sh: /opt/local/bin/openmpicxx  -o conftest    conftest.o -lsz
1901Executing: /opt/local/bin/openmpicxx  -o conftest    conftest.o -lsz
1902sh:
1903sh: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1904Executing: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
1905sh:
1906                      Pushing language CXX
1907                      Popping language CXX
1908sh: /opt/local/bin/openmpicxx  -o conftest    conftest.o -lsz
1909Executing: /opt/local/bin/openmpicxx  -o conftest    conftest.o -lsz
1910sh:
1911Executing: ./conftest
1912sh: ./conftest
1913Executing: ./conftest
1914sh:
1915          Popping language Cxx
1916================================================================================
1917TEST checkCxxPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:657)
1918TESTING: checkCxxPreprocessor from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:657)
1919  Locate a functional Cxx preprocessor
1920Checking for program /opt/local/bin/openmpicxx...found
1921          Defined make macro "CXXCPP" to "/opt/local/bin/openmpicxx -E"
1922        Pushing language Cxx
1923sh: /opt/local/bin/openmpicxx -E   conftest.cc
1924Executing: /opt/local/bin/openmpicxx -E   conftest.cc
1925sh: # 1 "conftest.cc"
1926# 1 "<built-in>"
1927# 1 "<command-line>"
1928# 1 "conftest.cc"
1929# 1 "confdefs.h" 1
1930# 2 "conftest.cc" 2
1931# 1 "conffix.h" 1
1932extern "C" {
1933}
1934# 3 "conftest.cc" 2
1935# 1 "/usr/include/c++/4.2.1/cstdlib" 1 3
1936# 48 "/usr/include/c++/4.2.1/cstdlib" 3
1937       
1938# 49 "/usr/include/c++/4.2.1/cstdlib" 3
1939# 1 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 1 3
1940# 41 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 3
1941# 1 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h" 1 3
1942# 61 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h" 3
1943# 1 "/usr/include/unistd.h" 1 3 4
1944# 71 "/usr/include/unistd.h" 3 4
1945# 1 "/usr/include/_types.h" 1 3 4
1946# 27 "/usr/include/_types.h" 3 4
1947# 1 "/usr/include/sys/_types.h" 1 3 4
1948# 32 "/usr/include/sys/_types.h" 3 4
1949# 1 "/usr/include/sys/cdefs.h" 1 3 4
1950# 33 "/usr/include/sys/_types.h" 2 3 4
1951# 1 "/usr/include/machine/_types.h" 1 3 4
1952# 34 "/usr/include/machine/_types.h" 3 4
1953# 1 "/usr/include/i386/_types.h" 1 3 4
1954# 37 "/usr/include/i386/_types.h" 3 4
1955typedef signed char __int8_t;
1956typedef unsigned char __uint8_t;
1957typedef short __int16_t;
1958typedef unsigned short __uint16_t;
1959typedef int __int32_t;
1960typedef unsigned int __uint32_t;
1961typedef long long __int64_t;
1962typedef unsigned long long __uint64_t;
1963typedef long __darwin_intptr_t;
1964typedef unsigned int __darwin_natural_t;
1965# 70 "/usr/include/i386/_types.h" 3 4
1966typedef int __darwin_ct_rune_t;
1967typedef union {
1968 char __mbstate8[128];
1969 long long _mbstateL;
1970} __mbstate_t;
1971typedef __mbstate_t __darwin_mbstate_t;
1972typedef long int __darwin_ptrdiff_t;
1973typedef long unsigned int __darwin_size_t;
1974typedef __builtin_va_list __darwin_va_list;
1975typedef int __darwin_wchar_t;
1976typedef __darwin_wchar_t __darwin_rune_t;
1977typedef int __darwin_wint_t;
1978typedef unsigned long __darwin_clock_t;
1979typedef __uint32_t __darwin_socklen_t;
1980typedef long __darwin_ssize_t;
1981typedef long __darwin_time_t;
1982# 35 "/usr/include/machine/_types.h" 2 3 4
1983# 34 "/usr/include/sys/_types.h" 2 3 4
1984# 58 "/usr/include/sys/_types.h" 3 4
1985struct __darwin_pthread_handler_rec
1986{
1987 void (*__routine)(void *);
1988 void *__arg;
1989 struct __darwin_pthread_handler_rec *__next;
1990};
1991struct _opaque_pthread_attr_t { long __sig; char __opaque[56]; };
1992struct _opaque_pthread_cond_t { long __sig; char __opaque[40]; };
1993struct _opaque_pthread_condattr_t { long __sig; char __opaque[8]; };
1994struct _opaque_pthread_mutex_t { long __sig; char __opaque[56]; };
1995struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
1996struct _opaque_pthread_once_t { long __sig; char __opaque[8]; };
1997struct _opaque_pthread_rwlock_t { long __sig; char __opaque[192]; };
1998struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[16]; };
1999struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[1168]; };
2000# 94 "/usr/include/sys/_types.h" 3 4
2001typedef __int64_t __darwin_blkcnt_t;
2002typedef __int32_t __darwin_blksize_t;
2003typedef __int32_t __darwin_dev_t;
2004typedef unsigned int __darwin_fsblkcnt_t;
2005typedef unsigned int __darwin_fsfilcnt_t;
2006typedef __uint32_t __darwin_gid_t;
2007typedef __uint32_t __darwin_id_t;
2008typedef __uint64_t __darwin_ino64_t;
2009typedef __darwin_ino64_t __darwin_ino_t;
2010typedef __darwin_natural_t __darwin_mach_port_name_t;
2011typedef __darwin_mach_port_name_t __darwin_mach_port_t;
2012typedef __uint16_t __darwin_mode_t;
2013typedef __int64_t __darwin_off_t;
2014typedef __int32_t __darwin_pid_t;
2015typedef struct _opaque_pthread_attr_t
2016   __darwin_pthread_attr_t;
2017typedef struct _opaque_pthread_cond_t
2018   __darwin_pthread_cond_t;
2019typedef struct _opaque_pthread_condattr_t
2020   __darwin_pthread_condattr_t;
2021typedef unsigned long __darwin_pthread_key_t;
2022typedef struct _opaque_pthread_mutex_t
2023   __darwin_pthread_mutex_t;
2024typedef struct _opaque_pthread_mutexattr_t
2025   __darwin_pthread_mutexattr_t;
2026typedef struct _opaque_pthread_once_t
2027   __darwin_pthread_once_t;
2028typedef struct _opaque_pthread_rwlock_t
2029   __darwin_pthread_rwlock_t;
2030typedef struct _opaque_pthread_rwlockattr_t
2031   __darwin_pthread_rwlockattr_t;
2032typedef struct _opaque_pthread_t
2033   *__darwin_pthread_t;
2034typedef __uint32_t __darwin_sigset_t;
2035typedef __int32_t __darwin_suseconds_t;
2036typedef __uint32_t __darwin_uid_t;
2037typedef __uint32_t __darwin_useconds_t;
2038typedef unsigned char __darwin_uuid_t[16];
2039typedef char __darwin_uuid_string_t[37];
2040# 28 "/usr/include/_types.h" 2 3 4
2041# 39 "/usr/include/_types.h" 3 4
2042typedef int __darwin_nl_item;
2043typedef int __darwin_wctrans_t;
2044typedef __uint32_t __darwin_wctype_t;
2045# 72 "/usr/include/unistd.h" 2 3 4
2046# 1 "/usr/include/sys/unistd.h" 1 3 4
2047# 138 "/usr/include/sys/unistd.h" 3 4
2048struct accessx_descriptor {
2049 unsigned int ad_name_offset;
2050 int ad_flags;
2051 int ad_pad[2];
2052};
2053# 73 "/usr/include/unistd.h" 2 3 4
2054typedef __darwin_dev_t dev_t;
2055typedef __darwin_gid_t gid_t;
2056typedef __darwin_intptr_t intptr_t;
2057typedef __darwin_mode_t mode_t;
2058typedef __darwin_off_t off_t;
2059typedef __darwin_pid_t pid_t;
2060typedef __darwin_size_t size_t;
2061typedef __darwin_ssize_t ssize_t;
2062typedef __darwin_uid_t uid_t;
2063typedef __darwin_useconds_t useconds_t;
2064typedef __darwin_uuid_t uuid_t;
2065# 414 "/usr/include/unistd.h" 3 4
2066extern "C" {
2067void _exit(int) __attribute__((__noreturn__));
2068int access(const char *, int);
2069unsigned int
2070  alarm(unsigned int);
2071int chdir(const char *);
2072int chown(const char *, uid_t, gid_t);
2073int close(int) __asm("_" "close" );
2074size_t confstr(int, char *, size_t) __asm("_" "confstr" );
2075char *crypt(const char *, const char *);
2076char *ctermid(char *);
2077int dup(int);
2078int dup2(int, int);
2079void encrypt(char *, int) __asm("_" "encrypt" );
2080int execl(const char *, const char *, ...);
2081int execle(const char *, const char *, ...);
2082int execlp(const char *, const char *, ...);
2083int execv(const char *, char * const *);
2084int execve(const char *, char * const *, char * const *);
2085int execvp(const char *, char * const *);
2086int fchown(int, uid_t, gid_t);
2087int fchdir(int);
2088pid_t fork(void);
2089long fpathconf(int, int);
2090int fsync(int) __asm("_" "fsync" );
2091int ftruncate(int, off_t);
2092char *getcwd(char *, size_t);
2093gid_t getegid(void);
2094uid_t geteuid(void);
2095gid_t getgid(void);
2096int getgroups(int, gid_t []);
2097long gethostid(void);
2098int gethostname(char *, size_t);
2099char *getlogin(void);
2100int getlogin_r(char *, size_t);
2101int getopt(int, char * const [], const char *) __asm("_" "getopt" );
2102pid_t getpgid(pid_t);
2103pid_t getpgrp(void);
2104pid_t getpid(void);
2105pid_t getppid(void);
2106pid_t getsid(pid_t);
2107uid_t getuid(void);
2108char *getwd(char *);
2109int isatty(int);
2110int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" );
2111int link(const char *, const char *);
2112int lockf(int, int, off_t) __asm("_" "lockf" );
2113off_t lseek(int, off_t, int);
2114int nice(int) __asm("_" "nice" );
2115long pathconf(const char *, int);
2116int pause(void) __asm("_" "pause" );
2117int pipe(int [2]);
2118ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" );
2119ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" );
2120ssize_t read(int, void *, size_t) __asm("_" "read" );
2121ssize_t readlink(const char * , char * , size_t);
2122int rmdir(const char *);
2123int setegid(gid_t);
2124int seteuid(uid_t);
2125int setgid(gid_t);
2126int setpgid(pid_t, pid_t);
2127pid_t setpgrp(void) __asm("_" "setpgrp" );
2128int setregid(gid_t, gid_t) __asm("_" "setregid" );
2129int setreuid(uid_t, uid_t) __asm("_" "setreuid" );
2130pid_t setsid(void);
2131int setuid(uid_t);
2132unsigned int
2133  sleep(unsigned int) __asm("_" "sleep" );
2134void swab(const void * , void * , ssize_t);
2135int symlink(const char *, const char *);
2136void sync(void);
2137long sysconf(int);
2138pid_t tcgetpgrp(int);
2139int tcsetpgrp(int, pid_t);
2140int truncate(const char *, off_t);
2141char *ttyname(int);
2142int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" );
2143useconds_t
2144  ualarm(useconds_t, useconds_t);
2145int unlink(const char *);
2146int usleep(useconds_t) __asm("_" "usleep" );
2147pid_t vfork(void);
2148ssize_t write(int, const void *, size_t) __asm("_" "write" );
2149extern char *optarg;
2150extern int optind, opterr, optopt;
2151# 1 "/usr/include/sys/select.h" 1 3 4
2152# 66 "/usr/include/sys/select.h" 3 4
2153# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
2154# 67 "/usr/include/sys/select.h" 2 3 4
2155# 78 "/usr/include/sys/select.h" 3 4
2156# 1 "/usr/include/sys/_structs.h" 1 3 4
2157# 88 "/usr/include/sys/_structs.h" 3 4
2158struct timespec
2159{
2160 __darwin_time_t tv_sec;
2161 long tv_nsec;
2162};
2163struct timeval
2164{
2165 __darwin_time_t tv_sec;
2166 __darwin_suseconds_t tv_usec;
2167};
2168# 183 "/usr/include/sys/_structs.h" 3 4
2169extern "C" {
2170typedef struct fd_set {
2171 __int32_t fds_bits[((((1024) % ((sizeof(__int32_t) * 8))) == 0) ? ((1024) / ((sizeof(__int32_t) * 8))) : (((1024) / ((sizeof(__int32_t) * 8))) + 1))];
2172} fd_set;
2173}
2174static inline int
2175__darwin_fd_isset(int _n, const struct fd_set *_p)
2176{
2177 return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8))));
2178}
2179# 79 "/usr/include/sys/select.h" 2 3 4
2180# 87 "/usr/include/sys/select.h" 3 4
2181typedef __darwin_time_t time_t;
2182typedef __darwin_suseconds_t suseconds_t;
2183typedef __darwin_sigset_t sigset_t;
2184# 134 "/usr/include/sys/select.h" 3 4
2185extern "C" {
2186int pselect(int, fd_set * , fd_set * ,
2187  fd_set * , const struct timespec * ,
2188  const sigset_t * )
2189  __asm("_" "pselect" "$1050")
2190  ;
2191# 1 "/usr/include/sys/_select.h" 1 3 4
2192# 39 "/usr/include/sys/_select.h" 3 4
2193int select(int, fd_set * , fd_set * ,
2194  fd_set * , struct timeval * )
2195  __asm("_" "select" "$1050")
2196  ;
2197# 153 "/usr/include/sys/select.h" 2 3 4
2198}
2199# 520 "/usr/include/unistd.h" 2 3 4
2200void _Exit(int) __attribute__((__noreturn__));
2201int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t);
2202int acct(const char *);
2203int add_profil(char *, size_t, unsigned long, unsigned int);
2204void *brk(const void *);
2205int chroot(const char *);
2206void endusershell(void);
2207int execvP(const char *, const char *, char * const *);
2208char *fflagstostr(unsigned long);
2209int getdtablesize(void);
2210int getdomainname(char *, int);
2211int getgrouplist(const char *, int, int *, int *);
2212int gethostuuid(uuid_t, const struct timespec *);
2213mode_t getmode(const void *, mode_t);
2214int getpagesize(void) __attribute__((__const__));
2215char *getpass(const char *);
2216int getpeereid(int, uid_t *, gid_t *);
2217int getpgid(pid_t _pid);
2218int getsgroups_np(int *, uuid_t);
2219int getsid(pid_t _pid);
2220char *getusershell(void);
2221int getwgroups_np(int *, uuid_t);
2222int initgroups(const char *, int);
2223int iruserok(unsigned long, int, const char *, const char *);
2224int iruserok_sa(const void *, int, int, const char *, const char *);
2225int issetugid(void);
2226char *mkdtemp(char *);
2227int mknod(const char *, mode_t, dev_t);
2228int mkstemp(char *);
2229int mkstemps(char *, int);
2230char *mktemp(char *);
2231int nfssvc(int, void *);
2232int profil(char *, size_t, unsigned long, unsigned int);
2233int pthread_setugid_np(uid_t, gid_t);
2234int pthread_getugid_np( uid_t *, gid_t *);
2235int rcmd(char **, int, const char *, const char *, const char *, int *);
2236int rcmd_af(char **, int, const char *, const char *, const char *, int *,
2237  int);
2238int reboot(int);
2239int revoke(const char *);
2240int rresvport(int *);
2241int rresvport_af(int *, int);
2242int ruserok(const char *, int, const char *, const char *);
2243void *sbrk(int);
2244int setdomainname(const char *, int);
2245int setgroups(int, const gid_t *);
2246void sethostid(long);
2247int sethostname(const char *, int);
2248void setkey(const char *) __asm("_" "setkey" );
2249int setlogin(const char *);
2250void *setmode(const char *) __asm("_" "setmode" );
2251int setrgid(gid_t);
2252int setruid(uid_t);
2253int setsgroups_np(int, const uuid_t);
2254void setusershell(void);
2255int setwgroups_np(int, const uuid_t);
2256int strtofflags(char **, unsigned long *, unsigned long *);
2257int swapon(const char *);
2258int syscall(int, ...);
2259int ttyslot(void);
2260int undelete(const char *);
2261int unwhiteout(const char *);
2262void *valloc(size_t);
2263extern char *suboptarg;
2264int getsubopt(char **, char * const *, char **);
2265int fgetattrlist(int,void*,void*,size_t,unsigned int);
2266int fsetattrlist(int,void*,void*,size_t,unsigned int);
2267int getattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "getattrlist" );
2268int setattrlist(const char*,void*,void*,size_t,unsigned int) __asm("_" "setattrlist" );
2269int exchangedata(const char*,const char*,unsigned int);
2270int getdirentriesattr(int,void*,void*,size_t,unsigned int*,unsigned int*,unsigned int*,unsigned int);
2271# 611 "/usr/include/unistd.h" 3 4
2272struct fssearchblock;
2273struct searchstate;
2274int searchfs(const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *);
2275int fsctl(const char *,unsigned long,void*,unsigned int);
2276int ffsctl(int,unsigned long,void*,unsigned int);
2277extern int optreset;
2278}
2279# 62 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h" 2 3
2280extern "C" {
2281# 89 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/os_defines.h" 3
2282extern void __dtrace_probe$cxa_runtime$cxa_exception_rethrow$v1(void);
2283extern int __dtrace_isenabled$cxa_runtime$cxa_exception_rethrow$v1(void);
2284extern void __dtrace_probe$cxa_runtime$cxa_exception_throw$v1$766f6964202a(void *);
2285extern int __dtrace_isenabled$cxa_runtime$cxa_exception_throw$v1(void);
2286}
2287# 42 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 2 3
2288# 1 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/cpu_defines.h" 1 3
2289# 45 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 2 3
2290# 153 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 3
2291namespace std {
2292# 165 "/usr/include/c++/4.2.1/i686-apple-darwin10/x86_64/bits/c++config.h" 3
2293}
2294# 51 "/usr/include/c++/4.2.1/cstdlib" 2 3
2295# 1 "/usr/include/c++/4.2.1/cstddef" 1 3
2296# 48 "/usr/include/c++/4.2.1/cstddef" 3
2297       
2298# 49 "/usr/include/c++/4.2.1/cstddef" 3
2299# 1 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 1 3 4
2300# 152 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stddef.h" 3 4
2301typedef long int ptrdiff_t;
2302# 52 "/usr/include/c++/4.2.1/cstddef" 2 3
2303namespace std {
2304  using ::ptrdiff_t;
2305  using ::size_t;
2306}
2307# 52 "/usr/include/c++/4.2.1/cstdlib" 2 3
2308# 72 "/usr/include/c++/4.2.1/cstdlib" 3
2309# 1 "/usr/include/stdlib.h" 1 3 4
2310# 61 "/usr/include/stdlib.h" 3 4
2311# 1 "/usr/include/Availability.h" 1 3 4
2312# 126 "/usr/include/Availability.h" 3 4
2313# 1 "/usr/include/AvailabilityInternal.h" 1 3 4
2314# 127 "/usr/include/Availability.h" 2 3 4
2315# 62 "/usr/include/stdlib.h" 2 3 4
2316# 1 "/usr/include/sys/wait.h" 1 3 4
2317# 79 "/usr/include/sys/wait.h" 3 4
2318typedef enum {
2319 P_ALL,
2320 P_PID,
2321 P_PGID
2322} idtype_t;
2323# 95 "/usr/include/sys/wait.h" 3 4
2324typedef __darwin_id_t id_t;
2325# 116 "/usr/include/sys/wait.h" 3 4
2326# 1 "/usr/include/sys/signal.h" 1 3 4
2327# 81 "/usr/include/sys/signal.h" 3 4
2328# 1 "/usr/include/machine/signal.h" 1 3 4
2329# 34 "/usr/include/machine/signal.h" 3 4
2330# 1 "/usr/include/i386/signal.h" 1 3 4
2331# 39 "/usr/include/i386/signal.h" 3 4
2332typedef int sig_atomic_t;
2333# 55 "/usr/include/i386/signal.h" 3 4
2334# 1 "/usr/include/i386/_structs.h" 1 3 4
2335# 56 "/usr/include/i386/signal.h" 2 3 4
2336# 35 "/usr/include/machine/signal.h" 2 3 4
2337# 82 "/usr/include/sys/signal.h" 2 3 4
2338# 154 "/usr/include/sys/signal.h" 3 4
2339# 1 "/usr/include/sys/_structs.h" 1 3 4
2340# 57 "/usr/include/sys/_structs.h" 3 4
2341# 1 "/usr/include/machine/_structs.h" 1 3 4
2342# 31 "/usr/include/machine/_structs.h" 3 4
2343# 1 "/usr/include/i386/_structs.h" 1 3 4
2344# 38 "/usr/include/i386/_structs.h" 3 4
2345# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
2346# 43 "/usr/include/mach/i386/_structs.h" 3 4
2347struct __darwin_i386_thread_state
2348{
2349    unsigned int __eax;
2350    unsigned int __ebx;
2351    unsigned int __ecx;
2352    unsigned int __edx;
2353    unsigned int __edi;
2354    unsigned int __esi;
2355    unsigned int __ebp;
2356    unsigned int __esp;
2357    unsigned int __ss;
2358    unsigned int __eflags;
2359    unsigned int __eip;
2360    unsigned int __cs;
2361    unsigned int __ds;
2362    unsigned int __es;
2363    unsigned int __fs;
2364    unsigned int __gs;
2365};
2366# 89 "/usr/include/mach/i386/_structs.h" 3 4
2367struct __darwin_fp_control
2368{
2369    unsigned short __invalid :1,
2370        __denorm :1,
2371    __zdiv :1,
2372    __ovrfl :1,
2373    __undfl :1,
2374    __precis :1,
2375      :2,
2376    __pc :2,
2377    __rc :2,
2378             :1,
2379      :3;
2380};
2381typedef struct __darwin_fp_control __darwin_fp_control_t;
2382# 147 "/usr/include/mach/i386/_structs.h" 3 4
2383struct __darwin_fp_status
2384{
2385    unsigned short __invalid :1,
2386        __denorm :1,
2387    __zdiv :1,
2388    __ovrfl :1,
2389    __undfl :1,
2390    __precis :1,
2391    __stkflt :1,
2392    __errsumm :1,
2393    __c0 :1,
2394    __c1 :1,
2395    __c2 :1,
2396    __tos :3,
2397    __c3 :1,
2398    __busy :1;
2399};
2400typedef struct __darwin_fp_status __darwin_fp_status_t;
2401# 191 "/usr/include/mach/i386/_structs.h" 3 4
2402struct __darwin_mmst_reg
2403{
2404 char __mmst_reg[10];
2405 char __mmst_rsrv[6];
2406};
2407# 210 "/usr/include/mach/i386/_structs.h" 3 4
2408struct __darwin_xmm_reg
2409{
2410 char __xmm_reg[16];
2411};
2412# 232 "/usr/include/mach/i386/_structs.h" 3 4
2413struct __darwin_i386_float_state
2414{
2415 int __fpu_reserved[2];
2416 struct __darwin_fp_control __fpu_fcw;
2417 struct __darwin_fp_status __fpu_fsw;
2418 __uint8_t __fpu_ftw;
2419 __uint8_t __fpu_rsrv1;
2420 __uint16_t __fpu_fop;
2421 __uint32_t __fpu_ip;
2422 __uint16_t __fpu_cs;
2423 __uint16_t __fpu_rsrv2;
2424 __uint32_t __fpu_dp;
2425 __uint16_t __fpu_ds;
2426 __uint16_t __fpu_rsrv3;
2427 __uint32_t __fpu_mxcsr;
2428 __uint32_t __fpu_mxcsrmask;
2429 struct __darwin_mmst_reg __fpu_stmm0;
2430 struct __darwin_mmst_reg __fpu_stmm1;
2431 struct __darwin_mmst_reg __fpu_stmm2;
2432 struct __darwin_mmst_reg __fpu_stmm3;
2433 struct __darwin_mmst_reg __fpu_stmm4;
2434 struct __darwin_mmst_reg __fpu_stmm5;
2435 struct __darwin_mmst_reg __fpu_stmm6;
2436 struct __darwin_mmst_reg __fpu_stmm7;
2437 struct __darwin_xmm_reg __fpu_xmm0;
2438 struct __darwin_xmm_reg __fpu_xmm1;
2439 struct __darwin_xmm_reg __fpu_xmm2;
2440 struct __darwin_xmm_reg __fpu_xmm3;
2441 struct __darwin_xmm_reg __fpu_xmm4;
2442 struct __darwin_xmm_reg __fpu_xmm5;
2443 struct __darwin_xmm_reg __fpu_xmm6;
2444 struct __darwin_xmm_reg __fpu_xmm7;
2445 char __fpu_rsrv4[14*16];
2446 int __fpu_reserved1;
2447};
2448# 308 "/usr/include/mach/i386/_structs.h" 3 4
2449struct __darwin_i386_exception_state
2450{
2451    unsigned int __trapno;
2452    unsigned int __err;
2453    unsigned int __faultvaddr;
2454};
2455# 326 "/usr/include/mach/i386/_structs.h" 3 4
2456struct __darwin_x86_debug_state32
2457{
2458 unsigned int __dr0;
2459 unsigned int __dr1;
2460 unsigned int __dr2;
2461 unsigned int __dr3;
2462 unsigned int __dr4;
2463 unsigned int __dr5;
2464 unsigned int __dr6;
2465 unsigned int __dr7;
2466};
2467# 358 "/usr/include/mach/i386/_structs.h" 3 4
2468struct __darwin_x86_thread_state64
2469{
2470 __uint64_t __rax;
2471 __uint64_t __rbx;
2472 __uint64_t __rcx;
2473 __uint64_t __rdx;
2474 __uint64_t __rdi;
2475 __uint64_t __rsi;
2476 __uint64_t __rbp;
2477 __uint64_t __rsp;
2478 __uint64_t __r8;
2479 __uint64_t __r9;
2480 __uint64_t __r10;
2481 __uint64_t __r11;
2482 __uint64_t __r12;
2483 __uint64_t __r13;
2484 __uint64_t __r14;
2485 __uint64_t __r15;
2486 __uint64_t __rip;
2487 __uint64_t __rflags;
2488 __uint64_t __cs;
2489 __uint64_t __fs;
2490 __uint64_t __gs;
2491};
2492# 413 "/usr/include/mach/i386/_structs.h" 3 4
2493struct __darwin_x86_float_state64
2494{
2495 int __fpu_reserved[2];
2496 struct __darwin_fp_control __fpu_fcw;
2497 struct __darwin_fp_status __fpu_fsw;
2498 __uint8_t __fpu_ftw;
2499 __uint8_t __fpu_rsrv1;
2500 __uint16_t __fpu_fop;
2501 __uint32_t __fpu_ip;
2502 __uint16_t __fpu_cs;
2503 __uint16_t __fpu_rsrv2;
2504 __uint32_t __fpu_dp;
2505 __uint16_t __fpu_ds;
2506 __uint16_t __fpu_rsrv3;
2507 __uint32_t __fpu_mxcsr;
2508 __uint32_t __fpu_mxcsrmask;
2509 struct __darwin_mmst_reg __fpu_stmm0;
2510 struct __darwin_mmst_reg __fpu_stmm1;
2511 struct __darwin_mmst_reg __fpu_stmm2;
2512 struct __darwin_mmst_reg __fpu_stmm3;
2513 struct __darwin_mmst_reg __fpu_stmm4;
2514 struct __darwin_mmst_reg __fpu_stmm5;
2515 struct __darwin_mmst_reg __fpu_stmm6;
2516 struct __darwin_mmst_reg __fpu_stmm7;
2517 struct __darwin_xmm_reg __fpu_xmm0;
2518 struct __darwin_xmm_reg __fpu_xmm1;
2519 struct __darwin_xmm_reg __fpu_xmm2;
2520 struct __darwin_xmm_reg __fpu_xmm3;
2521 struct __darwin_xmm_reg __fpu_xmm4;
2522 struct __darwin_xmm_reg __fpu_xmm5;
2523 struct __darwin_xmm_reg __fpu_xmm6;
2524 struct __darwin_xmm_reg __fpu_xmm7;
2525 struct __darwin_xmm_reg __fpu_xmm8;
2526 struct __darwin_xmm_reg __fpu_xmm9;
2527 struct __darwin_xmm_reg __fpu_xmm10;
2528 struct __darwin_xmm_reg __fpu_xmm11;
2529 struct __darwin_xmm_reg __fpu_xmm12;
2530 struct __darwin_xmm_reg __fpu_xmm13;
2531 struct __darwin_xmm_reg __fpu_xmm14;
2532 struct __darwin_xmm_reg __fpu_xmm15;
2533 char __fpu_rsrv4[6*16];
2534 int __fpu_reserved1;
2535};
2536# 517 "/usr/include/mach/i386/_structs.h" 3 4
2537struct __darwin_x86_exception_state64
2538{
2539    unsigned int __trapno;
2540    unsigned int __err;
2541    __uint64_t __faultvaddr;
2542};
2543# 535 "/usr/include/mach/i386/_structs.h" 3 4
2544struct __darwin_x86_debug_state64
2545{
2546 __uint64_t __dr0;
2547 __uint64_t __dr1;
2548 __uint64_t __dr2;
2549 __uint64_t __dr3;
2550 __uint64_t __dr4;
2551 __uint64_t __dr5;
2552 __uint64_t __dr6;
2553 __uint64_t __dr7;
2554};
2555# 39 "/usr/include/i386/_structs.h" 2 3 4
2556# 48 "/usr/include/i386/_structs.h" 3 4
2557struct __darwin_mcontext32
2558{
2559 struct __darwin_i386_exception_state __es;
2560 struct __darwin_i386_thread_state __ss;
2561 struct __darwin_i386_float_state __fs;
2562};
2563# 68 "/usr/include/i386/_structs.h" 3 4
2564struct __darwin_mcontext64
2565{
2566 struct __darwin_x86_exception_state64 __es;
2567 struct __darwin_x86_thread_state64 __ss;
2568 struct __darwin_x86_float_state64 __fs;
2569};
2570# 91 "/usr/include/i386/_structs.h" 3 4
2571typedef struct __darwin_mcontext64 *mcontext_t;
2572# 32 "/usr/include/machine/_structs.h" 2 3 4
2573# 58 "/usr/include/sys/_structs.h" 2 3 4
2574# 75 "/usr/include/sys/_structs.h" 3 4
2575struct __darwin_sigaltstack
2576{
2577 void *ss_sp;
2578 __darwin_size_t ss_size;
2579 int ss_flags;
2580};
2581# 128 "/usr/include/sys/_structs.h" 3 4
2582struct __darwin_ucontext
2583{
2584 int uc_onstack;
2585 __darwin_sigset_t uc_sigmask;
2586 struct __darwin_sigaltstack uc_stack;
2587 struct __darwin_ucontext *uc_link;
2588 __darwin_size_t uc_mcsize;
2589 struct __darwin_mcontext64 *uc_mcontext;
2590};
2591# 218 "/usr/include/sys/_structs.h" 3 4
2592typedef struct __darwin_sigaltstack stack_t;
2593# 227 "/usr/include/sys/_structs.h" 3 4
2594typedef struct __darwin_ucontext ucontext_t;
2595# 155 "/usr/include/sys/signal.h" 2 3 4
2596# 163 "/usr/include/sys/signal.h" 3 4
2597typedef __darwin_pthread_attr_t pthread_attr_t;
2598# 181 "/usr/include/sys/signal.h" 3 4
2599union sigval {
2600 int sival_int;
2601 void *sival_ptr;
2602};
2603struct sigevent {
2604 int sigev_notify;
2605 int sigev_signo;
2606 union sigval sigev_value;
2607 void (*sigev_notify_function)(union sigval);
2608 pthread_attr_t *sigev_notify_attributes;
2609};
2610typedef struct __siginfo {
2611 int si_signo;
2612 int si_errno;
2613 int si_code;
2614 pid_t si_pid;
2615 uid_t si_uid;
2616 int si_status;
2617 void *si_addr;
2618 union sigval si_value;
2619 long si_band;
2620 unsigned long __pad[7];
2621} siginfo_t;
2622# 292 "/usr/include/sys/signal.h" 3 4
2623union __sigaction_u {
2624 void (*__sa_handler)(int);
2625 void (*__sa_sigaction)(int, struct __siginfo *,
2626         void *);
2627};
2628struct __sigaction {
2629 union __sigaction_u __sigaction_u;
2630 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
2631 sigset_t sa_mask;
2632 int sa_flags;
2633};
2634struct sigaction {
2635 union __sigaction_u __sigaction_u;
2636 sigset_t sa_mask;
2637 int sa_flags;
2638};
2639# 354 "/usr/include/sys/signal.h" 3 4
2640typedef void (*sig_t)(int);
2641# 371 "/usr/include/sys/signal.h" 3 4
2642struct sigvec {
2643 void (*sv_handler)(int);
2644 int sv_mask;
2645 int sv_flags;
2646};
2647# 390 "/usr/include/sys/signal.h" 3 4
2648struct sigstack {
2649 char *ss_sp;
2650 int ss_onstack;
2651};
2652# 412 "/usr/include/sys/signal.h" 3 4
2653extern "C" {
2654void (*signal(int, void (*)(int)))(int);
2655}
2656# 117 "/usr/include/sys/wait.h" 2 3 4
2657# 1 "/usr/include/sys/resource.h" 1 3 4
2658# 76 "/usr/include/sys/resource.h" 3 4
2659# 1 "/usr/include/sys/_structs.h" 1 3 4
2660# 77 "/usr/include/sys/resource.h" 2 3 4
2661# 88 "/usr/include/sys/resource.h" 3 4
2662typedef __uint64_t rlim_t;
2663# 142 "/usr/include/sys/resource.h" 3 4
2664struct rusage {
2665 struct timeval ru_utime;
2666 struct timeval ru_stime;
2667# 153 "/usr/include/sys/resource.h" 3 4
2668 long ru_maxrss;
2669 long ru_ixrss;
2670 long ru_idrss;
2671 long ru_isrss;
2672 long ru_minflt;
2673 long ru_majflt;
2674 long ru_nswap;
2675 long ru_inblock;
2676 long ru_oublock;
2677 long ru_msgsnd;
2678 long ru_msgrcv;
2679 long ru_nsignals;
2680 long ru_nvcsw;
2681 long ru_nivcsw;
2682};
2683# 213 "/usr/include/sys/resource.h" 3 4
2684struct rlimit {
2685 rlim_t rlim_cur;
2686 rlim_t rlim_max;
2687};
2688# 235 "/usr/include/sys/resource.h" 3 4
2689extern "C" {
2690int getpriority(int, id_t);
2691int getiopolicy_np(int, int);
2692int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" );
2693int getrusage(int, struct rusage *);
2694int setpriority(int, id_t, int);
2695int setiopolicy_np(int, int, int);
2696int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" );
2697}
2698# 118 "/usr/include/sys/wait.h" 2 3 4
2699# 193 "/usr/include/sys/wait.h" 3 4
2700# 1 "/usr/include/machine/endian.h" 1 3 4
2701# 37 "/usr/include/machine/endian.h" 3 4
2702# 1 "/usr/include/i386/endian.h" 1 3 4
2703# 99 "/usr/include/i386/endian.h" 3 4
2704# 1 "/usr/include/sys/_endian.h" 1 3 4
2705# 124 "/usr/include/sys/_endian.h" 3 4
2706# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
2707# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
2708# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
2709# 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
2710static inline
2711__uint16_t
2712_OSSwapInt16(
2713    __uint16_t _data
2714)
2715{
2716    return ((_data << 8) | (_data >> 8));
2717}
2718static inline
2719__uint32_t
2720_OSSwapInt32(
2721    __uint32_t _data
2722)
2723{
2724    __asm__ ("bswap   %0" : "+r" (_data));
2725    return _data;
2726}
2727# 91 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
2728static inline
2729__uint64_t
2730_OSSwapInt64(
2731    __uint64_t _data
2732)
2733{
2734    __asm__ ("bswap   %0" : "+r" (_data));
2735    return _data;
2736}
2737# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
2738# 125 "/usr/include/sys/_endian.h" 2 3 4
2739# 100 "/usr/include/i386/endian.h" 2 3 4
2740# 38 "/usr/include/machine/endian.h" 2 3 4
2741# 194 "/usr/include/sys/wait.h" 2 3 4
2742union wait {
2743 int w_status;
2744 struct {
2745  unsigned int w_Termsig:7,
2746    w_Coredump:1,
2747    w_Retcode:8,
2748    w_Filler:16;
2749 } w_T;
2750 struct {
2751  unsigned int w_Stopval:8,
2752    w_Stopsig:8,
2753    w_Filler:16;
2754 } w_S;
2755};
2756# 254 "/usr/include/sys/wait.h" 3 4
2757extern "C" {
2758pid_t wait(int *) __asm("_" "wait" );
2759pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" );
2760int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" );
2761pid_t wait3(int *, int, struct rusage *);
2762pid_t wait4(pid_t, int *, int, struct rusage *);
2763}
2764# 66 "/usr/include/stdlib.h" 2 3 4
2765# 1 "/usr/include/alloca.h" 1 3 4
2766# 35 "/usr/include/alloca.h" 3 4
2767extern "C" {
2768void *alloca(size_t);
2769}
2770# 68 "/usr/include/stdlib.h" 2 3 4
2771# 81 "/usr/include/stdlib.h" 3 4
2772typedef __darwin_ct_rune_t ct_rune_t;
2773typedef __darwin_rune_t rune_t;
2774# 97 "/usr/include/stdlib.h" 3 4
2775typedef struct {
2776 int quot;
2777 int rem;
2778} div_t;
2779typedef struct {
2780 long quot;
2781 long rem;
2782} ldiv_t;
2783typedef struct {
2784 long long quot;
2785 long long rem;
2786} lldiv_t;
2787# 134 "/usr/include/stdlib.h" 3 4
2788extern int __mb_cur_max;
2789# 144 "/usr/include/stdlib.h" 3 4
2790extern "C" {
2791void abort(void) __attribute__((__noreturn__));
2792int abs(int) __attribute__((__const__));
2793int atexit(void (*)(void));
2794double atof(const char *);
2795int atoi(const char *);
2796long atol(const char *);
2797long long
2798  atoll(const char *);
2799void *bsearch(const void *, const void *, size_t,
2800     size_t, int (*)(const void *, const void *));
2801void *calloc(size_t, size_t);
2802div_t div(int, int) __attribute__((__const__));
2803void exit(int) __attribute__((__noreturn__));
2804void free(void *);
2805char *getenv(const char *);
2806long labs(long) __attribute__((__const__));
2807ldiv_t ldiv(long, long) __attribute__((__const__));
2808long long
2809  llabs(long long);
2810lldiv_t lldiv(long long, long long);
2811void *malloc(size_t);
2812int mblen(const char *, size_t);
2813size_t mbstowcs(wchar_t * , const char * , size_t);
2814int mbtowc(wchar_t * , const char * , size_t);
2815int posix_memalign(void **, size_t, size_t);
2816void qsort(void *, size_t, size_t,
2817     int (*)(const void *, const void *));
2818int rand(void);
2819void *realloc(void *, size_t);
2820void srand(unsigned);
2821double strtod(const char *, char **) __asm("_" "strtod" );
2822float strtof(const char *, char **) __asm("_" "strtof" );
2823long strtol(const char *, char **, int);
2824long double
2825  strtold(const char *, char **) ;
2826long long
2827  strtoll(const char *, char **, int);
2828unsigned long
2829  strtoul(const char *, char **, int);
2830unsigned long long
2831  strtoull(const char *, char **, int);
2832int system(const char *) __asm("_" "system" );
2833size_t wcstombs(char * , const wchar_t * , size_t);
2834int wctomb(char *, wchar_t);
2835void _Exit(int) __attribute__((__noreturn__));
2836long a64l(const char *);
2837double drand48(void);
2838char *ecvt(double, int, int *, int *);
2839double erand48(unsigned short[3]);
2840char *fcvt(double, int, int *, int *);
2841char *gcvt(double, int, char *);
2842int getsubopt(char **, char * const *, char **);
2843int grantpt(int);
2844char *initstate(unsigned, char *, size_t);
2845long jrand48(unsigned short[3]);
2846char *l64a(long);
2847void lcong48(unsigned short[7]);
2848long lrand48(void);
2849char *mktemp(char *);
2850int mkstemp(char *);
2851long mrand48(void);
2852long nrand48(unsigned short[3]);
2853int posix_openpt(int);
2854char *ptsname(int);
2855int putenv(char *) __asm("_" "putenv" );
2856long random(void);
2857int rand_r(unsigned *);
2858char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");
2859unsigned short
2860 *seed48(unsigned short[3]);
2861int setenv(const char *, const char *, int) __asm("_" "setenv" );
2862void setkey(const char *) __asm("_" "setkey" );
2863char *setstate(const char *);
2864void srand48(long);
2865void srandom(unsigned);
2866int unlockpt(int);
2867int unsetenv(const char *) __asm("_" "unsetenv" );
2868# 1 "/usr/include/machine/types.h" 1 3 4
2869# 37 "/usr/include/machine/types.h" 3 4
2870# 1 "/usr/include/i386/types.h" 1 3 4
2871# 70 "/usr/include/i386/types.h" 3 4
2872# 1 "/usr/include/i386/_types.h" 1 3 4
2873# 71 "/usr/include/i386/types.h" 2 3 4
2874typedef signed char int8_t;
2875typedef unsigned char u_int8_t;
2876typedef short int16_t;
2877typedef unsigned short u_int16_t;
2878typedef int int32_t;
2879typedef unsigned int u_int32_t;
2880typedef long long int64_t;
2881typedef unsigned long long u_int64_t;
2882typedef int64_t register_t;
2883# 109 "/usr/include/i386/types.h" 3 4
2884typedef unsigned long uintptr_t;
2885typedef u_int64_t user_addr_t;
2886typedef u_int64_t user_size_t;
2887typedef int64_t user_ssize_t;
2888typedef int64_t user_long_t;
2889typedef u_int64_t user_ulong_t;
2890typedef int64_t user_time_t;
2891typedef int64_t user_off_t;
2892typedef u_int64_t syscall_arg_t;
2893# 38 "/usr/include/machine/types.h" 2 3 4
2894# 256 "/usr/include/stdlib.h" 2 3 4
2895# 267 "/usr/include/stdlib.h" 3 4
2896u_int32_t
2897  arc4random(void);
2898void arc4random_addrandom(unsigned char *dat, int datlen);
2899void arc4random_stir(void);
2900int atexit_b(void (^)(void));
2901void *bsearch_b(const void *, const void *, size_t,
2902     size_t, int (^)(const void *, const void *));
2903char *cgetcap(char *, const char *, int);
2904int cgetclose(void);
2905int cgetent(char **, char **, const char *);
2906int cgetfirst(char **, char **);
2907int cgetmatch(const char *, const char *);
2908int cgetnext(char **, char **);
2909int cgetnum(char *, const char *, long *);
2910int cgetset(const char *);
2911int cgetstr(char *, const char *, char **);
2912int cgetustr(char *, const char *, char **);
2913int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default")));
2914char *devname(dev_t, mode_t);
2915char *devname_r(dev_t, mode_t, char *buf, int len);
2916char *getbsize(int *, long *);
2917int getloadavg(double [], int);
2918const char
2919 *getprogname(void);
2920int heapsort(void *, size_t, size_t,
2921     int (*)(const void *, const void *));
2922int heapsort_b(void *, size_t, size_t,
2923     int (^)(const void *, const void *));
2924int mergesort(void *, size_t, size_t,
2925     int (*)(const void *, const void *));
2926int mergesort_b(void *, size_t, size_t,
2927     int (^)(const void *, const void *));
2928void psort(void *, size_t, size_t,
2929     int (*)(const void *, const void *));
2930void psort_b(void *, size_t, size_t,
2931     int (^)(const void *, const void *));
2932void psort_r(void *, size_t, size_t, void *,
2933     int (*)(void *, const void *, const void *));
2934void qsort_b(void *, size_t, size_t,
2935     int (^)(const void *, const void *));
2936void qsort_r(void *, size_t, size_t, void *,
2937     int (*)(void *, const void *, const void *));
2938int radixsort(const unsigned char **, int, const unsigned char *,
2939     unsigned);
2940void setprogname(const char *);
2941int sradixsort(const unsigned char **, int, const unsigned char *,
2942     unsigned);
2943void sranddev(void);
2944void srandomdev(void);
2945void *reallocf(void *, size_t);
2946long long
2947  strtoq(const char *, char **, int);
2948unsigned long long
2949  strtouq(const char *, char **, int);
2950extern char *suboptarg;
2951void *valloc(size_t);
2952}
2953# 73 "/usr/include/c++/4.2.1/cstdlib" 2 3
2954# 104 "/usr/include/c++/4.2.1/cstdlib" 3
2955namespace std {
2956  using ::div_t;
2957  using ::ldiv_t;
2958  using ::abort;
2959  using ::abs;
2960  using ::atexit;
2961  using ::atof;
2962  using ::atoi;
2963  using ::atol;
2964  using ::bsearch;
2965  using ::calloc;
2966  using ::div;
2967  using ::exit;
2968  using ::free;
2969  using ::getenv;
2970  using ::labs;
2971  using ::ldiv;
2972  using ::malloc;
2973  using ::mblen;
2974  using ::mbstowcs;
2975  using ::mbtowc;
2976  using ::qsort;
2977  using ::rand;
2978  using ::realloc;
2979  using ::srand;
2980  using ::strtod;
2981  using ::strtol;
2982  using ::strtoul;
2983  using ::system;
2984  using ::wcstombs;
2985  using ::wctomb;
2986  inline long
2987  abs(long __i) { return labs(__i); }
2988  inline ldiv_t
2989  div(long __i, long __j) { return ldiv(__i, __j); }
2990}
2991# 161 "/usr/include/c++/4.2.1/cstdlib" 3
2992namespace __gnu_cxx {
2993  using ::lldiv_t;
2994  using ::_Exit;
2995  inline long long
2996  abs(long long __x) { return __x >= 0 ? __x : -__x; }
2997  using ::llabs;
2998  inline lldiv_t
2999  div(long long __n, long long __d)
3000  { lldiv_t __q; __q.quot = __n / __d; __q.rem = __n % __d; return __q; }
3001  using ::lldiv;
3002# 194 "/usr/include/c++/4.2.1/cstdlib" 3
3003  using ::atoll;
3004  using ::strtoll;
3005  using ::strtoull;
3006  using ::strtof;
3007  using ::strtold;
3008}
3009namespace std {
3010  using ::__gnu_cxx::lldiv_t;
3011  using ::__gnu_cxx::_Exit;
3012  using ::__gnu_cxx::abs;
3013  using ::__gnu_cxx::llabs;
3014  using ::__gnu_cxx::div;
3015  using ::__gnu_cxx::lldiv;
3016  using ::__gnu_cxx::atoll;
3017  using ::__gnu_cxx::strtof;
3018  using ::__gnu_cxx::strtoll;
3019  using ::__gnu_cxx::strtoull;
3020  using ::__gnu_cxx::strtold;
3021}
3022# 3 "conftest.cc" 2
3023
3024        Popping language Cxx
3025================================================================================
3026TEST checkFortranCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:767)
3027TESTING: checkFortranCompiler from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:767)
3028  Locate a functional Fortran compiler
3029Checking for program /opt/local/bin/gfortran...not found
3030Checking for program /opt/local/sbin/gfortran...not found
3031Checking for program /bin/gfortran...not found
3032Checking for program /sbin/gfortran...not found
3033Checking for program /usr/bin/gfortran...found
3034          Defined make macro "FC" to "gfortran"
3035          Pushing language FC
3036sh: gfortran -c -o conftest.o   conftest.F
3037Executing: gfortran -c -o conftest.o   conftest.F
3038sh:
3039sh: gfortran -c -o conftest.o   conftest.F
3040Executing: gfortran -c -o conftest.o   conftest.F
3041sh:
3042                                          Pushing language C
3043                                          Popping language C
3044                                          Pushing language Cxx
3045                                          Popping language Cxx
3046                                          Pushing language FC
3047                                          Popping language FC
3048                  Pushing language FC
3049                  Popping language FC
3050sh: gfortran  -o conftest     conftest.o -lsz
3051Executing: gfortran  -o conftest     conftest.o -lsz
3052sh:
3053sh: gfortran -c -o conftest.o   conftest.F
3054Executing: gfortran -c -o conftest.o   conftest.F
3055sh:
3056                      Pushing language FC
3057                      Popping language FC
3058sh: gfortran  -o conftest     conftest.o -lsz
3059Executing: gfortran  -o conftest     conftest.o -lsz
3060sh:
3061Executing: ./conftest
3062sh: ./conftest
3063Executing: ./conftest
3064sh:
3065          Popping language FC
3066================================================================================
3067TEST checkFortranComments from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:809)
3068TESTING: checkFortranComments from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:809)
3069  Make sure fortran comment "!" works
3070        Pushing language FC
3071sh: gfortran -c -o conftest.o   conftest.F
3072Executing: gfortran -c -o conftest.o   conftest.F
3073sh:
3074      Fortran comments can use ! in column 1
3075        Popping language FC
3076================================================================================
3077TEST checkPIC from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:864)
3078TESTING: checkPIC from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:864)
3079  Determine the PIC option for each compiler
3080       - There needs to be a test that checks that the functionality is actually working
3081        Pushing language C
3082      Trying C compiler flag -PIC
3083sh: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
3084Executing: /opt/local/bin/openmpicc -c -o conftest.o   conftest.c
3085sh:
3086                Pushing language C
3087                Popping language C
3088sh: /opt/local/bin/openmpicc  -o conftest  -PIC    conftest.o -lsz
3089Executing: /opt/local/bin/openmpicc  -o conftest  -PIC    conftest.o -lsz
3090sh:
3091        Valid C linker flag -PIC
3092      Adding C compiler flag -PIC
3093sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC   conftest.c
3094Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC   conftest.c
3095sh:
3096Added C compiler flag -PIC
3097        Popping language C
3098        Pushing language Cxx
3099      Trying Cxx compiler flag -PIC
3100sh: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
3101Executing: /opt/local/bin/openmpicxx -c -o conftest.o    conftest.cc
3102sh:
3103                Pushing language CXX
3104                Popping language CXX
3105sh: /opt/local/bin/openmpicxx  -o conftest  -PIC   conftest.o -lsz
3106Executing: /opt/local/bin/openmpicxx  -o conftest  -PIC   conftest.o -lsz
3107sh:
3108        Valid Cxx linker flag -PIC
3109      Adding Cxx compiler flag -PIC
3110sh: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC   conftest.cc
3111Executing: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC   conftest.cc
3112sh:
3113Added Cxx compiler flag -PIC
3114        Popping language Cxx
3115        Pushing language FC
3116      Trying FC compiler flag -PIC
3117sh: gfortran -c -o conftest.o   conftest.F
3118Executing: gfortran -c -o conftest.o   conftest.F
3119sh:
3120                Pushing language FC
3121                Popping language FC
3122sh: gfortran  -o conftest  -PIC    conftest.o -lsz
3123Executing: gfortran  -o conftest  -PIC    conftest.o -lsz
3124sh:
3125        Valid FC linker flag -PIC
3126      Adding FC compiler flag -PIC
3127sh: gfortran -c -o conftest.o  -PIC   conftest.F
3128Executing: gfortran -c -o conftest.o  -PIC   conftest.F
3129sh:
3130Added FC compiler flag -PIC
3131        Popping language FC
3132================================================================================
3133TEST checkLargeFileIO from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:893)
3134TESTING: checkLargeFileIO from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:893)
3135================================================================================
3136TEST checkArchiver from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:992)
3137TESTING: checkArchiver from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:992)
3138  Check that the archiver exists and can make a library usable by the compiler
3139        Pushing language C
3140sh: ar -V
3141Executing: ar -V
3142sh:
3143sh: ar -V
3144Executing: ar -V
3145sh:
3146            Defined make macro "FAST_AR_FLAGS" to "Scq"
3147sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3148Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3149sh:
3150Checking for program /opt/local/bin/ar...not found
3151Checking for program /opt/local/sbin/ar...not found
3152Checking for program /bin/ar...not found
3153Checking for program /sbin/ar...not found
3154Checking for program /usr/bin/ar...found
3155          Defined make macro "AR" to "/usr/bin/ar"
3156Checking for program /opt/local/bin/ranlib...not found
3157Checking for program /opt/local/sbin/ranlib...not found
3158Checking for program /bin/ranlib...not found
3159Checking for program /sbin/ranlib...not found
3160Checking for program /usr/bin/ranlib...found
3161          Defined make macro "RANLIB" to "/usr/bin/ranlib -c"
3162sh: /usr/bin/ar cr libconf1.a conf1.o
3163Executing: /usr/bin/ar cr libconf1.a conf1.o
3164sh:
3165sh: /usr/bin/ranlib -c libconf1.a
3166Executing: /usr/bin/ranlib -c libconf1.a
3167sh:
3168sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3169Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3170sh:
3171                Pushing language C
3172                Popping language C
3173sh: /opt/local/bin/openmpicc  -o conftest    -PIC  conftest.o -L. -lconf1 -lsz
3174Executing: /opt/local/bin/openmpicc  -o conftest    -PIC  conftest.o -L. -lconf1 -lsz
3175sh:
3176        Defined make macro "AR_FLAGS" to "cr"
3177        Defined make macro "AR_LIB_SUFFIX" to "a"
3178        Popping language C
3179================================================================================
3180TEST checkSharedLinker from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1099)
3181TESTING: checkSharedLinker from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1099)
3182  Check that the linker can produce shared libraries
3183sh: uname -s
3184Executing: uname -s
3185sh: Darwin
3186
3187      Checking shared linker /opt/local/bin/openmpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress']
3188Checking for program /opt/local/bin/openmpicc...found
3189          Defined make macro "LD_SHARED" to "/opt/local/bin/openmpicc"
3190sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3191Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3192sh:
3193                Pushing language C
3194                Popping language C
3195sh: /opt/local/bin/openmpicc  -o conftest  -dynamiclib -single_module   -PIC  conftest.o -lsz
3196Executing: /opt/local/bin/openmpicc  -o conftest  -dynamiclib -single_module   -PIC  conftest.o -lsz
3197sh:
3198        Valid C linker flag -dynamiclib -single_module
3199sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3200Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3201sh:
3202                Pushing language C
3203                Popping language C
3204sh: /opt/local/bin/openmpicc  -o conftest  -undefined dynamic_lookup   -PIC  conftest.o -lsz
3205Executing: /opt/local/bin/openmpicc  -o conftest  -undefined dynamic_lookup   -PIC  conftest.o -lsz
3206sh:
3207        Valid C linker flag -undefined dynamic_lookup
3208sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3209Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3210sh:
3211                Pushing language C
3212                Popping language C
3213sh: /opt/local/bin/openmpicc  -o conftest  -multiply_defined suppress   -PIC  conftest.o -lsz
3214Executing: /opt/local/bin/openmpicc  -o conftest  -multiply_defined suppress   -PIC  conftest.o -lsz
3215sh:
3216        Valid C linker flag -multiply_defined suppress
3217sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3218Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3219sh:
3220                                        Pushing language C
3221                                        Popping language C
3222                                        Pushing language Cxx
3223                                        Popping language Cxx
3224                                        Pushing language FC
3225                                        Popping language FC
3226                Pushing language C
3227                Popping language C
3228sh: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -lsz
3229Executing: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -lsz
3230sh:
3231sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3232Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3233sh:
3234                Pushing language C
3235                Popping language C
3236sh: /opt/local/bin/openmpicc  -o conftest    -PIC  conftest.o -lsz -L. -lconftest
3237Executing: /opt/local/bin/openmpicc  -o conftest    -PIC  conftest.o -lsz -L. -lconftest
3238sh:
3239      Using shared linker /opt/local/bin/openmpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib
3240sh: uname -s
3241Executing: uname -s
3242sh: Darwin
3243
3244================================================================================
3245TEST checkLinkerMac from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1155)
3246TESTING: checkLinkerMac from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1155)
3247  Tests some Apple Mac specific linker flags
3248        Pushing language C
3249sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3250Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3251sh:
3252                Pushing language C
3253                Popping language C
3254sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress   -PIC  conftest.o -lsz
3255Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress   -PIC  conftest.o -lsz
3256sh:
3257        Valid C linker flag -Wl,-multiply_defined,suppress
3258sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3259Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3260sh:
3261                Pushing language C
3262                Popping language C
3263sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  -PIC  conftest.o -lsz
3264Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  -PIC  conftest.o -lsz
3265sh:
3266        Valid C linker flag -Wl,-multiply_defined -Wl,suppress
3267sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3268Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3269sh:
3270                Pushing language C
3271                Popping language C
3272sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  -PIC  conftest.o -lsz
3273Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  -PIC  conftest.o -lsz
3274sh:
3275        Valid C linker flag -Wl,-commons,use_dylibs
3276sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3277Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3278sh:
3279                Pushing language C
3280                Popping language C
3281sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  -PIC  conftest.o -lsz
3282Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  -PIC  conftest.o -lsz
3283sh:
3284        Valid C linker flag -Wl,-search_paths_first
3285        Popping language C
3286        Pushing language Cxx
3287sh: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3288Executing: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3289sh:
3290                Pushing language CXX
3291                Popping language CXX
3292sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress   conftest.o -lsz
3293Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress   conftest.o -lsz
3294sh:
3295        Valid Cxx linker flag -Wl,-multiply_defined,suppress
3296sh: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3297Executing: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3298sh:
3299                Pushing language CXX
3300                Popping language CXX
3301sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  conftest.o -lsz
3302Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  conftest.o -lsz
3303sh:
3304        Valid Cxx linker flag -Wl,-multiply_defined -Wl,suppress
3305sh: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3306Executing: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3307sh:
3308                Pushing language CXX
3309                Popping language CXX
3310sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  conftest.o -lsz
3311Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  conftest.o -lsz
3312sh:
3313        Valid Cxx linker flag -Wl,-commons,use_dylibs
3314sh: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3315Executing: /opt/local/bin/openmpicxx -c -o conftest.o   -PIC  conftest.cc
3316sh:
3317                Pushing language CXX
3318                Popping language CXX
3319sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  conftest.o -lsz
3320Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  conftest.o -lsz
3321sh:
3322        Valid Cxx linker flag -Wl,-search_paths_first
3323        Popping language Cxx
3324        Pushing language FC
3325sh: gfortran -c -o conftest.o  -PIC  conftest.F
3326Executing: gfortran -c -o conftest.o  -PIC  conftest.F
3327sh:
3328                Pushing language FC
3329                Popping language FC
3330sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress   -PIC  conftest.o -lsz
3331Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress   -PIC  conftest.o -lsz
3332sh:
3333        Valid FC linker flag -Wl,-multiply_defined,suppress
3334sh: gfortran -c -o conftest.o  -PIC  conftest.F
3335Executing: gfortran -c -o conftest.o  -PIC  conftest.F
3336sh:
3337                Pushing language FC
3338                Popping language FC
3339sh: gfortran  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  -PIC  conftest.o -lsz
3340Executing: gfortran  -o conftest  -Wl,-multiply_defined -Wl,suppress -Wl,-multiply_defined,suppress  -PIC  conftest.o -lsz
3341sh:
3342        Valid FC linker flag -Wl,-multiply_defined -Wl,suppress
3343sh: gfortran -c -o conftest.o  -PIC  conftest.F
3344Executing: gfortran -c -o conftest.o  -PIC  conftest.F
3345sh:
3346                Pushing language FC
3347                Popping language FC
3348sh: gfortran  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  -PIC  conftest.o -lsz
3349Executing: gfortran  -o conftest  -Wl,-commons,use_dylibs -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress  -PIC  conftest.o -lsz
3350sh:
3351        Valid FC linker flag -Wl,-commons,use_dylibs
3352sh: gfortran -c -o conftest.o  -PIC  conftest.F
3353Executing: gfortran -c -o conftest.o  -PIC  conftest.F
3354sh:
3355                Pushing language FC
3356                Popping language FC
3357sh: gfortran  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  -PIC  conftest.o -lsz
3358Executing: gfortran  -o conftest  -Wl,-search_paths_first -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs  -PIC  conftest.o -lsz
3359sh:
3360        Valid FC linker flag -Wl,-search_paths_first
3361        Popping language FC
3362================================================================================
3363TEST checkSharedLinkerPaths from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1175)
3364TESTING: checkSharedLinkerPaths from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1175)
3365  Determine the shared linker path options
3366       - IRIX: -rpath
3367       - Linux, OSF: -Wl,-rpath,
3368       - Solaris: -R
3369       - FreeBSD: -Wl,-R,
3370        Pushing language C
3371sh: uname -s
3372Executing: uname -s
3373sh: Darwin
3374
3375sh: /opt/local/bin/openmpicc -flags
3376Executing: /opt/local/bin/openmpicc -flags
3377sh:
3378        Popping language C
3379        Pushing language Cxx
3380sh: uname -s
3381Executing: uname -s
3382sh: Darwin
3383
3384sh: /opt/local/bin/openmpicc -flags
3385Executing: /opt/local/bin/openmpicc -flags
3386sh:
3387        Popping language Cxx
3388        Pushing language FC
3389sh: uname -s
3390Executing: uname -s
3391sh: Darwin
3392
3393sh: /opt/local/bin/openmpicc -flags
3394Executing: /opt/local/bin/openmpicc -flags
3395sh:
3396        Popping language FC
3397================================================================================
3398TEST checkLibC from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1208)
3399TESTING: checkLibC from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1208)
3400  Test whether we need to explicitly include libc in shared linking
3401       - Mac OSX requires an explicit reference to libc for shared linking
3402sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3403Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3404sh:
3405                Pushing language C
3406                Popping language C
3407sh: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -lsz
3408Executing: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -lsz
3409sh:
3410      Shared linking does not require an explicit libc reference
3411================================================================================
3412TEST checkDynamicLinker from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1257)
3413TESTING: checkDynamicLinker from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1257)
3414  Check that the linker can produce dynamic libraries
3415Checking for header: dlfcn.h
3416sh: /opt/local/bin/openmpicc -E   conftest.c
3417Executing: /opt/local/bin/openmpicc -E   conftest.c
3418sh: # 1 "conftest.c"
3419# 1 "<built-in>"
3420# 1 "<command-line>"
3421# 1 "conftest.c"
3422# 1 "confdefs.h" 1
3423# 2 "conftest.c" 2
3424# 1 "conffix.h" 1
3425# 3 "conftest.c" 2
3426# 1 "/usr/include/dlfcn.h" 1 3 4
3427# 37 "/usr/include/dlfcn.h" 3 4
3428# 1 "/usr/include/sys/cdefs.h" 1 3 4
3429# 38 "/usr/include/dlfcn.h" 2 3 4
3430# 1 "/usr/lib/gcc/i686-apple-darwin10/4.2.1/include/stdbool.h" 1 3 4
3431# 41 "/usr/include/dlfcn.h" 2 3 4
3432# 1 "/usr/include/AvailabilityMacros.h" 1 3 4
3433# 42 "/usr/include/dlfcn.h" 2 3 4
3434typedef struct dl_info {
3435        const char *dli_fname;
3436        void *dli_fbase;
3437        const char *dli_sname;
3438        void *dli_saddr;
3439} Dl_info;
3440extern int dladdr(const void *, Dl_info *);
3441extern int dlclose(void * __handle);
3442extern char * dlerror(void);
3443extern void * dlopen(const char * __path, int __mode);
3444extern void * dlsym(void * __handle, const char * __symbol);
3445extern _Bool dlopen_preflight(const char* __path) ;
3446# 3 "conftest.c" 2
3447
3448          Defined "HAVE_DLFCN_H" to "1"
3449          Checking for functions ['dlopen', 'dlsym', 'dlclose'] in library ['dl'] []
3450            Pushing language C
3451sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3452Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3453sh:
3454                    Pushing language C
3455                    Popping language C
3456sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3457Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3458sh:
3459            Defined "HAVE_LIBDL" to "1"
3460            Popping language C
3461            Pushing language C
3462sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3463Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3464sh:
3465                    Pushing language C
3466                    Popping language C
3467sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3468Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3469sh:
3470            Defined "HAVE_LIBDL" to "1"
3471            Popping language C
3472            Pushing language C
3473sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3474Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3475sh:
3476                    Pushing language C
3477                    Popping language C
3478sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3479Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o  -ldl -lsz
3480sh:
3481            Defined "HAVE_LIBDL" to "1"
3482            Popping language C
3483        Adding ['dl'] to LIBS
3484sh: uname -s
3485Executing: uname -s
3486sh: Darwin
3487
3488      Checking dynamic linker /opt/local/bin/openmpicc using flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress']
3489Checking for program /opt/local/bin/openmpicc...found
3490          Defined make macro "DYNAMICLINKER" to "/opt/local/bin/openmpicc"
3491sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3492Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3493sh:
3494                Pushing language C
3495                Popping language C
3496sh: /opt/local/bin/openmpicc  -o conftest  -dynamiclib -single_module -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3497Executing: /opt/local/bin/openmpicc  -o conftest  -dynamiclib -single_module -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3498sh:
3499        Valid C linker flag -dynamiclib -single_module
3500sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3501Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3502sh:
3503                Pushing language C
3504                Popping language C
3505sh: /opt/local/bin/openmpicc  -o conftest  -undefined dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3506Executing: /opt/local/bin/openmpicc  -o conftest  -undefined dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3507sh:
3508        Valid C linker flag -undefined dynamic_lookup
3509sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3510Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3511sh:
3512                Pushing language C
3513                Popping language C
3514sh: /opt/local/bin/openmpicc  -o conftest  -multiply_defined suppress -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3515Executing: /opt/local/bin/openmpicc  -o conftest  -multiply_defined suppress -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3516sh:
3517        Valid C linker flag -multiply_defined suppress
3518sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3519Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3520sh:
3521                                        Pushing language C
3522                                        Popping language C
3523                                        Pushing language Cxx
3524                                        Popping language Cxx
3525                                        Pushing language FC
3526                                        Popping language FC
3527                Pushing language C
3528                Popping language C
3529sh: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -ldl -lsz
3530Executing: /opt/local/bin/openmpicc  -o libconftest.dylib  -dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress  -PIC  conftest.o -ldl -lsz
3531sh:
3532sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3533Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC  conftest.c
3534sh:
3535Possible ERROR while running compiler: error message = {conftest.c: In function 'main':
3536conftest.c:11: warning: incompatible implicit declaration of built-in function 'printf'
3537conftest.c:15: warning: incompatible implicit declaration of built-in function 'printf'
3538conftest.c:19: warning: incompatible implicit declaration of built-in function 'printf'
3539}
3540Source:
3541#include "confdefs.h"
3542#include "conffix.h"
3543#include<dlfcn.h>
3544
3545int main() {
3546
3547void *handle = dlopen("./libconftest.so", 0);
3548int (*foo)(void) = (int (*)(void)) dlsym(handle, "foo");
3549
3550if (!foo) {
3551  printf("Could not load symbol\n");
3552  return -1;
3553}
3554if ((*foo)()) {
3555  printf("Invalid return from foo()\n");
3556  return -1;
3557}
3558if (dlclose(handle)) {
3559  printf("Could not close library\n");
3560  return -1;
3561}
3562;
3563  return 0;
3564}
3565                Pushing language C
3566                Popping language C
3567sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3568Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC  conftest.o -ldl -lsz
3569sh:
3570      Using dynamic linker /opt/local/bin/openmpicc with flags ['-dynamiclib -single_module', '-undefined dynamic_lookup', '-multiply_defined suppress'] and library extension dylib
3571================================================================================
3572TEST output from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1303)
3573TESTING: output from config.setCompilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/setCompilers.py:1303)
3574  Output module data as defines and substitutions
3575        Substituting "CC" with "/opt/local/bin/openmpicc"
3576        Substituting "CFLAGS" with " -PIC"
3577        Defined make macro "CC_LINKER_SLFLAG" to "-L"
3578        Substituting "CPP" with "/opt/local/bin/openmpicc -E"
3579        Substituting "CPPFLAGS" with ""
3580        Substituting "CXX" with "/opt/local/bin/openmpicxx"
3581        Substituting "CXX_CXXFLAGS" with " -PIC"
3582        Substituting "CXXFLAGS" with ""
3583        Substituting "CXX_LINKER_SLFLAG" with "-L"
3584        Substituting "CXXCPP" with "/opt/local/bin/openmpicxx -E"
3585        Substituting "FC" with "gfortran"
3586        Substituting "FFLAGS" with " -PIC"
3587        Defined make macro "FC_LINKER_SLFLAG" to "-L"
3588        Substituting "LDFLAGS" with ""
3589        Substituting "LIBS" with "-ldl -lsz"
3590        Substituting "SHARED_LIBRARY_FLAG" with "-dynamiclib -single_module -undefined dynamic_lookup -multiply_defined suppress"
3591================================================================================
3592TEST configureCompilerFlags from config.compilerFlags(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilerFlags.py:61)
3593TESTING: configureCompilerFlags from config.compilerFlags(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilerFlags.py:61)
3594  Get the default compiler flags
3595        Pushing language C
3596sh: /opt/local/bin/openmpicc --version
3597Executing: /opt/local/bin/openmpicc --version
3598sh: i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
3599Copyright (C) 2007 Free Software Foundation, Inc.
3600This is free software; see the source for copying conditions.  There is NO
3601warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3602
3603getCompilerVersion: /opt/local/bin/openmpicc i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
3604sh: /opt/local/bin/openmpicc -show
3605Executing: /opt/local/bin/openmpicc -show
3606sh: /usr/bin/gcc-4.2 -I/opt/local/include/openmpi -L/opt/local/lib -lmpi
3607
3608sh: /usr/bin/gcc-4.2 --help
3609Executing: /usr/bin/gcc-4.2 --help
3610sh: Usage: i686-apple-darwin10-gcc-4.2.1 [options] file...
3611Options:
3612  -pass-exit-codes         Exit with highest error code from a phase
3613  --help                   Display this information
3614  --target-help            Display target specific command line options
3615  (Use '-v --help' to display command line options of sub-processes)
3616  -dumpspecs               Display all of the built in spec strings
3617  -dumpversion             Display the version of the compiler
3618  -dumpmachine             Display the compiler's target processor
3619  -print-search-dirs       Display the directories in the compiler's search path
3620  -print-libgcc-file-name  Display the name of the compiler's companion library
3621  -print-file-name=<lib>   Display the full path to library <lib>
3622  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3623  -print-multi-directory   Display the root directory for versions of libgcc
3624  -print-multi-lib         Display the mapping between command line options and
3625                           multiple library search directories
3626  -print-multi-os-directory Display the relative path to OS libraries
3627  -Wa,<options>            Pass comma-separated <options> on to the assembler
3628  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3629  -Wl,<options>            Pass comma-separated <options> on to the linker
3630  -Xassembler <arg>        Pass <arg> on to the assembler
3631  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3632  -Xlinker <arg>           Pass <arg> on to the linker
3633  -combine                 Pass multiple source files to compiler at once
3634  -save-temps              Do not delete intermediate files
3635  -pipe                    Use pipes rather than intermediate files
3636  -time                    Time the execution of each subprocess
3637  -specs=<file>            Override built-in specs with the contents of <file>
3638  -std=<standard>          Assume that the input sources are for <standard>
3639  --sysroot=<directory>    Use <directory> as the root directory for headers
3640                           and libraries
3641  -B <directory>           Add <directory> to the compiler's search paths
3642  -b <machine>             Run gcc for target <machine>, if installed
3643  -V <version>             Run gcc version number <version>, if installed
3644  -v                       Display the programs invoked by the compiler
3645  -###                     Like -v but options quoted and commands not executed
3646  -E                       Preprocess only; do not compile, assemble or link
3647  -S                       Compile only; do not assemble or link
3648  -c                       Compile and assemble, but do not link
3649  -o <file>                Place the output into <file>
3650  -x <language>            Specify the language of the following input files
3651                           Permissible languages include: c c++ assembler none
3652                           'none' means revert to the default behavior of
3653                           guessing the language based on the file's extension
3654Options starting with -g, -f, -m, -O, -W, or --param are automatically
3655 passed on to the various sub-processes invoked by i686-apple-darwin10-gcc-4.2.1.  In order to pass
3656 other options on to these processes the -W<letter> options must be used.
3657For bug reporting instructions, please see:
3658<URL:http://developer.apple.com/bugreporter>.
3659
3660      Trying C compiler flag -Wall
3661sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall   conftest.c
3662Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall   conftest.c
3663sh:
3664Added C compiler flag -Wall
3665      Trying C compiler flag -Wwrite-strings
3666sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings   conftest.c
3667Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings   conftest.c
3668sh:
3669Added C compiler flag -Wwrite-strings
3670      Trying C compiler flag -Wno-strict-aliasing
3671sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing   conftest.c
3672Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing   conftest.c
3673sh:
3674Added C compiler flag -Wno-strict-aliasing
3675sh: /opt/local/bin/openmpicc -show
3676Executing: /opt/local/bin/openmpicc -show
3677sh: /usr/bin/gcc-4.2 -I/opt/local/include/openmpi -L/opt/local/lib -lmpi
3678
3679sh: /usr/bin/gcc-4.2 --help
3680Executing: /usr/bin/gcc-4.2 --help
3681sh: Usage: i686-apple-darwin10-gcc-4.2.1 [options] file...
3682Options:
3683  -pass-exit-codes         Exit with highest error code from a phase
3684  --help                   Display this information
3685  --target-help            Display target specific command line options
3686  (Use '-v --help' to display command line options of sub-processes)
3687  -dumpspecs               Display all of the built in spec strings
3688  -dumpversion             Display the version of the compiler
3689  -dumpmachine             Display the compiler's target processor
3690  -print-search-dirs       Display the directories in the compiler's search path
3691  -print-libgcc-file-name  Display the name of the compiler's companion library
3692  -print-file-name=<lib>   Display the full path to library <lib>
3693  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3694  -print-multi-directory   Display the root directory for versions of libgcc
3695  -print-multi-lib         Display the mapping between command line options and
3696                           multiple library search directories
3697  -print-multi-os-directory Display the relative path to OS libraries
3698  -Wa,<options>            Pass comma-separated <options> on to the assembler
3699  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3700  -Wl,<options>            Pass comma-separated <options> on to the linker
3701  -Xassembler <arg>        Pass <arg> on to the assembler
3702  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3703  -Xlinker <arg>           Pass <arg> on to the linker
3704  -combine                 Pass multiple source files to compiler at once
3705  -save-temps              Do not delete intermediate files
3706  -pipe                    Use pipes rather than intermediate files
3707  -time                    Time the execution of each subprocess
3708  -specs=<file>            Override built-in specs with the contents of <file>
3709  -std=<standard>          Assume that the input sources are for <standard>
3710  --sysroot=<directory>    Use <directory> as the root directory for headers
3711                           and libraries
3712  -B <directory>           Add <directory> to the compiler's search paths
3713  -b <machine>             Run gcc for target <machine>, if installed
3714  -V <version>             Run gcc version number <version>, if installed
3715  -v                       Display the programs invoked by the compiler
3716  -###                     Like -v but options quoted and commands not executed
3717  -E                       Preprocess only; do not compile, assemble or link
3718  -S                       Compile only; do not assemble or link
3719  -c                       Compile and assemble, but do not link
3720  -o <file>                Place the output into <file>
3721  -x <language>            Specify the language of the following input files
3722                           Permissible languages include: c c++ assembler none
3723                           'none' means revert to the default behavior of
3724                           guessing the language based on the file's extension
3725Options starting with -g, -f, -m, -O, -W, or --param are automatically
3726 passed on to the various sub-processes invoked by i686-apple-darwin10-gcc-4.2.1.  In order to pass
3727 other options on to these processes the -W<letter> options must be used.
3728For bug reporting instructions, please see:
3729<URL:http://developer.apple.com/bugreporter>.
3730
3731      Trying C compiler flag -g3
3732sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3   conftest.c
3733Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3   conftest.c
3734sh:
3735Added C compiler flag -g3
3736        Popping language C
3737        Pushing language Cxx
3738sh: /opt/local/bin/openmpicxx --version
3739Executing: /opt/local/bin/openmpicxx --version
3740sh: i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
3741Copyright (C) 2007 Free Software Foundation, Inc.
3742This is free software; see the source for copying conditions.  There is NO
3743warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
3744
3745getCompilerVersion: /opt/local/bin/openmpicxx i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
3746sh: /opt/local/bin/openmpicxx -show
3747Executing: /opt/local/bin/openmpicxx -show
3748sh: /usr/bin/g++-4.2 -I/opt/local/include/openmpi -L/opt/local/lib -lmpi_cxx -lmpi
3749
3750sh: /usr/bin/g++-4.2 --help
3751Executing: /usr/bin/g++-4.2 --help
3752sh: Usage: i686-apple-darwin10-g++-4.2.1 [options] file...
3753Options:
3754  -pass-exit-codes         Exit with highest error code from a phase
3755  --help                   Display this information
3756  --target-help            Display target specific command line options
3757  (Use '-v --help' to display command line options of sub-processes)
3758  -dumpspecs               Display all of the built in spec strings
3759  -dumpversion             Display the version of the compiler
3760  -dumpmachine             Display the compiler's target processor
3761  -print-search-dirs       Display the directories in the compiler's search path
3762  -print-libgcc-file-name  Display the name of the compiler's companion library
3763  -print-file-name=<lib>   Display the full path to library <lib>
3764  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3765  -print-multi-directory   Display the root directory for versions of libgcc
3766  -print-multi-lib         Display the mapping between command line options and
3767                           multiple library search directories
3768  -print-multi-os-directory Display the relative path to OS libraries
3769  -Wa,<options>            Pass comma-separated <options> on to the assembler
3770  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3771  -Wl,<options>            Pass comma-separated <options> on to the linker
3772  -Xassembler <arg>        Pass <arg> on to the assembler
3773  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3774  -Xlinker <arg>           Pass <arg> on to the linker
3775  -combine                 Pass multiple source files to compiler at once
3776  -save-temps              Do not delete intermediate files
3777  -pipe                    Use pipes rather than intermediate files
3778  -time                    Time the execution of each subprocess
3779  -specs=<file>            Override built-in specs with the contents of <file>
3780  -std=<standard>          Assume that the input sources are for <standard>
3781  --sysroot=<directory>    Use <directory> as the root directory for headers
3782                           and libraries
3783  -B <directory>           Add <directory> to the compiler's search paths
3784  -b <machine>             Run gcc for target <machine>, if installed
3785  -V <version>             Run gcc version number <version>, if installed
3786  -v                       Display the programs invoked by the compiler
3787  -###                     Like -v but options quoted and commands not executed
3788  -E                       Preprocess only; do not compile, assemble or link
3789  -S                       Compile only; do not assemble or link
3790  -c                       Compile and assemble, but do not link
3791  -o <file>                Place the output into <file>
3792  -x <language>            Specify the language of the following input files
3793                           Permissible languages include: c c++ assembler none
3794                           'none' means revert to the default behavior of
3795                           guessing the language based on the file's extension
3796Options starting with -g, -f, -m, -O, -W, or --param are automatically
3797 passed on to the various sub-processes invoked by i686-apple-darwin10-g++-4.2.1.  In order to pass
3798 other options on to these processes the -W<letter> options must be used.
3799For bug reporting instructions, please see:
3800<URL:http://developer.apple.com/bugreporter>.
3801
3802      Trying Cxx compiler flag -Wall
3803sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall   -PIC  conftest.cc
3804Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall   -PIC  conftest.cc
3805sh:
3806Added Cxx compiler flag -Wall
3807      Trying Cxx compiler flag -Wwrite-strings
3808sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings   -PIC  conftest.cc
3809Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings   -PIC  conftest.cc
3810sh:
3811Added Cxx compiler flag -Wwrite-strings
3812      Trying Cxx compiler flag -Wno-strict-aliasing
3813sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing   -PIC  conftest.cc
3814Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing   -PIC  conftest.cc
3815sh:
3816Added Cxx compiler flag -Wno-strict-aliasing
3817sh: /opt/local/bin/openmpicxx -show
3818Executing: /opt/local/bin/openmpicxx -show
3819sh: /usr/bin/g++-4.2 -I/opt/local/include/openmpi -L/opt/local/lib -lmpi_cxx -lmpi
3820
3821sh: /usr/bin/g++-4.2 --help
3822Executing: /usr/bin/g++-4.2 --help
3823sh: Usage: i686-apple-darwin10-g++-4.2.1 [options] file...
3824Options:
3825  -pass-exit-codes         Exit with highest error code from a phase
3826  --help                   Display this information
3827  --target-help            Display target specific command line options
3828  (Use '-v --help' to display command line options of sub-processes)
3829  -dumpspecs               Display all of the built in spec strings
3830  -dumpversion             Display the version of the compiler
3831  -dumpmachine             Display the compiler's target processor
3832  -print-search-dirs       Display the directories in the compiler's search path
3833  -print-libgcc-file-name  Display the name of the compiler's companion library
3834  -print-file-name=<lib>   Display the full path to library <lib>
3835  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3836  -print-multi-directory   Display the root directory for versions of libgcc
3837  -print-multi-lib         Display the mapping between command line options and
3838                           multiple library search directories
3839  -print-multi-os-directory Display the relative path to OS libraries
3840  -Wa,<options>            Pass comma-separated <options> on to the assembler
3841  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3842  -Wl,<options>            Pass comma-separated <options> on to the linker
3843  -Xassembler <arg>        Pass <arg> on to the assembler
3844  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3845  -Xlinker <arg>           Pass <arg> on to the linker
3846  -combine                 Pass multiple source files to compiler at once
3847  -save-temps              Do not delete intermediate files
3848  -pipe                    Use pipes rather than intermediate files
3849  -time                    Time the execution of each subprocess
3850  -specs=<file>            Override built-in specs with the contents of <file>
3851  -std=<standard>          Assume that the input sources are for <standard>
3852  --sysroot=<directory>    Use <directory> as the root directory for headers
3853                           and libraries
3854  -B <directory>           Add <directory> to the compiler's search paths
3855  -b <machine>             Run gcc for target <machine>, if installed
3856  -V <version>             Run gcc version number <version>, if installed
3857  -v                       Display the programs invoked by the compiler
3858  -###                     Like -v but options quoted and commands not executed
3859  -E                       Preprocess only; do not compile, assemble or link
3860  -S                       Compile only; do not assemble or link
3861  -c                       Compile and assemble, but do not link
3862  -o <file>                Place the output into <file>
3863  -x <language>            Specify the language of the following input files
3864                           Permissible languages include: c c++ assembler none
3865                           'none' means revert to the default behavior of
3866                           guessing the language based on the file's extension
3867Options starting with -g, -f, -m, -O, -W, or --param are automatically
3868 passed on to the various sub-processes invoked by i686-apple-darwin10-g++-4.2.1.  In order to pass
3869 other options on to these processes the -W<letter> options must be used.
3870For bug reporting instructions, please see:
3871<URL:http://developer.apple.com/bugreporter>.
3872
3873      Trying Cxx compiler flag -g
3874sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
3875Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
3876sh:
3877Added Cxx compiler flag -g
3878        Popping language Cxx
3879        Pushing language FC
3880sh: gfortran --version
3881Executing: gfortran --version
3882sh: GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
3883Copyright (C) 2007 Free Software Foundation, Inc.
3884GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
3885You may redistribute copies of GNU Fortran
3886under the terms of the GNU General Public License.
3887For more information about these matters, see the file named COPYING
3888
3889getCompilerVersion: gfortran GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
3890sh: gfortran --help
3891Executing: gfortran --help
3892sh: Usage: i686-apple-darwin10-gfortran-4.2.1 [options] file...
3893Options:
3894  -pass-exit-codes         Exit with highest error code from a phase
3895  --help                   Display this information
3896  --target-help            Display target specific command line options
3897  (Use '-v --help' to display command line options of sub-processes)
3898  -dumpspecs               Display all of the built in spec strings
3899  -dumpversion             Display the version of the compiler
3900  -dumpmachine             Display the compiler's target processor
3901  -print-search-dirs       Display the directories in the compiler's search path
3902  -print-libgcc-file-name  Display the name of the compiler's companion library
3903  -print-file-name=<lib>   Display the full path to library <lib>
3904  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3905  -print-multi-directory   Display the root directory for versions of libgcc
3906  -print-multi-lib         Display the mapping between command line options and
3907                           multiple library search directories
3908  -print-multi-os-directory Display the relative path to OS libraries
3909  -Wa,<options>            Pass comma-separated <options> on to the assembler
3910  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3911  -Wl,<options>            Pass comma-separated <options> on to the linker
3912  -Xassembler <arg>        Pass <arg> on to the assembler
3913  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3914  -Xlinker <arg>           Pass <arg> on to the linker
3915  -combine                 Pass multiple source files to compiler at once
3916  -save-temps              Do not delete intermediate files
3917  -pipe                    Use pipes rather than intermediate files
3918  -time                    Time the execution of each subprocess
3919  -specs=<file>            Override built-in specs with the contents of <file>
3920  -std=<standard>          Assume that the input sources are for <standard>
3921  --sysroot=<directory>    Use <directory> as the root directory for headers
3922                           and libraries
3923  -B <directory>           Add <directory> to the compiler's search paths
3924  -b <machine>             Run gcc for target <machine>, if installed
3925  -V <version>             Run gcc version number <version>, if installed
3926  -v                       Display the programs invoked by the compiler
3927  -###                     Like -v but options quoted and commands not executed
3928  -E                       Preprocess only; do not compile, assemble or link
3929  -S                       Compile only; do not assemble or link
3930  -c                       Compile and assemble, but do not link
3931  -o <file>                Place the output into <file>
3932  -x <language>            Specify the language of the following input files
3933                           Permissible languages include: c c++ assembler none
3934                           'none' means revert to the default behavior of
3935                           guessing the language based on the file's extension
3936Options starting with -g, -f, -m, -O, -W, or --param are automatically
3937 passed on to the various sub-processes invoked by i686-apple-darwin10-gfortran-4.2.1.  In order to pass
3938 other options on to these processes the -W<letter> options must be used.
3939For bug reporting instructions, please see:
3940<URL:http://developer.apple.com/bugreporter>.
3941
3942sh: gfortran --version
3943Executing: gfortran --version
3944sh: GNU Fortran (GCC) 4.2.1 (Apple Inc. build 5664)
3945Copyright (C) 2007 Free Software Foundation, Inc.
3946GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
3947You may redistribute copies of GNU Fortran
3948under the terms of the GNU General Public License.
3949For more information about these matters, see the file named COPYING
3950
3951      Trying FC compiler flag -Wall
3952sh: gfortran -c -o conftest.o  -PIC -Wall   conftest.F
3953Executing: gfortran -c -o conftest.o  -PIC -Wall   conftest.F
3954sh:
3955Added FC compiler flag -Wall
3956      Trying FC compiler flag -Wno-unused-variable
3957sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable   conftest.F
3958Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable   conftest.F
3959sh:
3960Added FC compiler flag -Wno-unused-variable
3961sh: gfortran --help
3962Executing: gfortran --help
3963sh: Usage: i686-apple-darwin10-gfortran-4.2.1 [options] file...
3964Options:
3965  -pass-exit-codes         Exit with highest error code from a phase
3966  --help                   Display this information
3967  --target-help            Display target specific command line options
3968  (Use '-v --help' to display command line options of sub-processes)
3969  -dumpspecs               Display all of the built in spec strings
3970  -dumpversion             Display the version of the compiler
3971  -dumpmachine             Display the compiler's target processor
3972  -print-search-dirs       Display the directories in the compiler's search path
3973  -print-libgcc-file-name  Display the name of the compiler's companion library
3974  -print-file-name=<lib>   Display the full path to library <lib>
3975  -print-prog-name=<prog>  Display the full path to compiler component <prog>
3976  -print-multi-directory   Display the root directory for versions of libgcc
3977  -print-multi-lib         Display the mapping between command line options and
3978                           multiple library search directories
3979  -print-multi-os-directory Display the relative path to OS libraries
3980  -Wa,<options>            Pass comma-separated <options> on to the assembler
3981  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
3982  -Wl,<options>            Pass comma-separated <options> on to the linker
3983  -Xassembler <arg>        Pass <arg> on to the assembler
3984  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
3985  -Xlinker <arg>           Pass <arg> on to the linker
3986  -combine                 Pass multiple source files to compiler at once
3987  -save-temps              Do not delete intermediate files
3988  -pipe                    Use pipes rather than intermediate files
3989  -time                    Time the execution of each subprocess
3990  -specs=<file>            Override built-in specs with the contents of <file>
3991  -std=<standard>          Assume that the input sources are for <standard>
3992  --sysroot=<directory>    Use <directory> as the root directory for headers
3993                           and libraries
3994  -B <directory>           Add <directory> to the compiler's search paths
3995  -b <machine>             Run gcc for target <machine>, if installed
3996  -V <version>             Run gcc version number <version>, if installed
3997  -v                       Display the programs invoked by the compiler
3998  -###                     Like -v but options quoted and commands not executed
3999  -E                       Preprocess only; do not compile, assemble or link
4000  -S                       Compile only; do not assemble or link
4001  -c                       Compile and assemble, but do not link
4002  -o <file>                Place the output into <file>
4003  -x <language>            Specify the language of the following input files
4004                           Permissible languages include: c c++ assembler none
4005                           'none' means revert to the default behavior of
4006                           guessing the language based on the file's extension
4007Options starting with -g, -f, -m, -O, -W, or --param are automatically
4008 passed on to the various sub-processes invoked by i686-apple-darwin10-gfortran-4.2.1.  In order to pass
4009 other options on to these processes the -W<letter> options must be used.
4010For bug reporting instructions, please see:
4011<URL:http://developer.apple.com/bugreporter>.
4012
4013      Trying FC compiler flag -g
4014sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4015Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4016sh:
4017Added FC compiler flag -g
4018        Popping language FC
4019================================================================================
4020TEST configureDebugging from PETSc.utilities.debugging(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/debugging.py:25)
4021TESTING: configureDebugging from PETSc.utilities.debugging(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/debugging.py:25)
4022        Defined "USE_ERRORCHECKING" to "1"
4023================================================================================
4024TEST configureArchitecture from PETSc.utilities.arch(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/arch.py:32)
4025TESTING: configureArchitecture from PETSc.utilities.arch(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/arch.py:32)
4026  Checks PETSC_ARCH and sets if not set
4027        Defined "ARCH" to ""darwin""
4028================================================================================
4029TEST configureSharedLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/sharedLibraries.py:41)
4030TESTING: configureSharedLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/sharedLibraries.py:41)
4031  Checks whether dynamic libraries should be used, for which you must
4032      - Specify --with-shared
4033      - Have found a working dynamic linker
4034    Defines PETSC_USE_SHARED_LIBRARIES if they are used
4035sh: uname -s
4036Executing: uname -s
4037sh: Darwin
4038
4039        Defined make rule "shared_arch" with dependencies "shared_darwin10" and code []
4040        Defined make macro "BUILDSHAREDLIB" to "yes"
4041        Defined "HAVE_SHARED_LIBRARIES" to "1"
4042        Defined "USE_SHARED_LIBRARIES" to "1"
4043================================================================================
4044TEST configureDynamicLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/sharedLibraries.py:64)
4045TESTING: configureDynamicLibraries from PETSc.utilities.sharedLibraries(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/sharedLibraries.py:64)
4046  Checks whether dynamic libraries should be used, for which you must
4047      - Specify --with-dynamic
4048      - Have found a working dynamic linker (with dlfcn.h and libdl)
4049    Defines PETSC_USE_DYNAMIC_LIBRARIES if they are used
4050        Defined "HAVE_DYNAMIC_LIBRARIES" to "1"
4051      Dynamic libraries - disabled
4052================================================================================
4053TEST configureBmakeDir from PETSc.utilities.bmakeDir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/bmakeDir.py:26)
4054TESTING: configureBmakeDir from PETSc.utilities.bmakeDir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/PETSc/utilities/bmakeDir.py:26)
4055  Makes $PETSC_ARCH and subdirectories if it does not exist
4056      Changed persistence directory to darwin/conf
4057sh: /opt/local/bin/openmpicc --help
4058Executing: /opt/local/bin/openmpicc --help
4059sh: Usage: i686-apple-darwin10-gcc-4.2.1 [options] file...
4060Options:
4061  -pass-exit-codes         Exit with highest error code from a phase
4062  --help                   Display this information
4063  --target-help            Display target specific command line options
4064  (Use '-v --help' to display command line options of sub-processes)
4065  -dumpspecs               Display all of the built in spec strings
4066  -dumpversion             Display the version of the compiler
4067  -dumpmachine             Display the compiler's target processor
4068  -print-search-dirs       Display the directories in the compiler's search path
4069  -print-libgcc-file-name  Display the name of the compiler's companion library
4070  -print-file-name=<lib>   Display the full path to library <lib>
4071  -print-prog-name=<prog>  Display the full path to compiler component <prog>
4072  -print-multi-directory   Display the root directory for versions of libgcc
4073  -print-multi-lib         Display the mapping between command line options and
4074                           multiple library search directories
4075  -print-multi-os-directory Display the relative path to OS libraries
4076  -Wa,<options>            Pass comma-separated <options> on to the assembler
4077  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
4078  -Wl,<options>            Pass comma-separated <options> on to the linker
4079  -Xassembler <arg>        Pass <arg> on to the assembler
4080  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
4081  -Xlinker <arg>           Pass <arg> on to the linker
4082  -combine                 Pass multiple source files to compiler at once
4083  -save-temps              Do not delete intermediate files
4084  -pipe                    Use pipes rather than intermediate files
4085  -time                    Time the execution of each subprocess
4086  -specs=<file>            Override built-in specs with the contents of <file>
4087  -std=<standard>          Assume that the input sources are for <standard>
4088  --sysroot=<directory>    Use <directory> as the root directory for headers
4089                           and libraries
4090  -B <directory>           Add <directory> to the compiler's search paths
4091  -b <machine>             Run gcc for target <machine>, if installed
4092  -V <version>             Run gcc version number <version>, if installed
4093  -v                       Display the programs invoked by the compiler
4094  -###                     Like -v but options quoted and commands not executed
4095  -E                       Preprocess only; do not compile, assemble or link
4096  -S                       Compile only; do not assemble or link
4097  -c                       Compile and assemble, but do not link
4098  -o <file>                Place the output into <file>
4099  -x <language>            Specify the language of the following input files
4100                           Permissible languages include: c c++ assembler none
4101                           'none' means revert to the default behavior of
4102                           guessing the language based on the file's extension
4103Options starting with -g, -f, -m, -O, -W, or --param are automatically
4104 passed on to the various sub-processes invoked by i686-apple-darwin10-gcc-4.2.1.  In order to pass
4105 other options on to these processes the -W<letter> options must be used.
4106For bug reporting instructions, please see:
4107<URL:http://developer.apple.com/bugreporter>.
4108
4109================================================================================
4110TEST checkRestrict from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:125)
4111TESTING: checkRestrict from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:125)
4112  Check for the C/CXX restrict keyword
4113        Pushing language C
4114sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4115Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4116sh:
4117Possible ERROR while running compiler: ret = 256
4118error message = {conftest.c: In function 'main':
4119conftest.c:5: error: nested functions are disabled, use -fnested-functions to re-enable
4120conftest.c:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'x'
4121conftest.c:5: error: 'x' undeclared (first use in this function)
4122conftest.c:5: error: (Each undeclared identifier is reported only once
4123conftest.c:5: error: for each function it appears in.)
4124}
4125Source:
4126#include "confdefs.h"
4127#include "conffix.h"
4128
4129int main() {
4130float * restrict x;;
4131  return 0;
4132}
4133sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4134Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4135sh:
4136Possible ERROR while running compiler: error message = {conftest.c: In function 'main':
4137conftest.c:5: warning: unused variable 'x'
4138}
4139Source:
4140#include "confdefs.h"
4141#include "conffix.h"
4142
4143int main() {
4144float *  __restrict__ x;;
4145  return 0;
4146}
4147      compilers: Set C restrict keyword to  __restrict__
4148        Defined "C_RESTRICT" to " __restrict__"
4149        Popping language C
4150================================================================================
4151TEST checkCFormatting from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:278)
4152TESTING: checkCFormatting from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:278)
4153  Activate format string checking if using the GNU compilers
4154      compilers: Added gcc printf format checking
4155        Defined "PRINTF_FORMAT_CHECK(A,B)" to "__attribute__((format (printf, A, B)))"
4156================================================================================
4157TEST checkCStaticInline from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:96)
4158TESTING: checkCStaticInline from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:96)
4159  Check for C keyword: static inline
4160        Pushing language C
4161sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4162Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4163sh:
4164Possible ERROR while running compiler: error message = {conftest.c: In function 'main':
4165conftest.c:6: warning: unused variable 'i'
4166}
4167Source:
4168#include "confdefs.h"
4169#include "conffix.h"
4170static inline int foo(int a) {return a;}
4171
4172int main() {
4173int i = foo(1);;
4174  return 0;
4175}
4176      compilers: Set C StaticInline keyword to static inline
4177        Popping language C
4178        Defined "C_STATIC_INLINE" to "static inline"
4179================================================================================
4180TEST checkDynamicLoadFlag from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:288)
4181TESTING: checkDynamicLoadFlag from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:288)
4182  Checks that dlopen() takes RTLD_XXX, and defines PETSC_HAVE_RTLD_XXX if it does
4183sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4184Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4185sh:
4186                Pushing language C
4187                Popping language C
4188sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4189Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4190sh:
4191        Defined "HAVE_RTLD_LAZY" to "1"
4192sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4193Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4194sh:
4195                Pushing language C
4196                Popping language C
4197sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4198Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4199sh:
4200        Defined "HAVE_RTLD_NOW" to "1"
4201sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4202Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4203sh:
4204                Pushing language C
4205                Popping language C
4206sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4207Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4208sh:
4209        Defined "HAVE_RTLD_LOCAL" to "1"
4210sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4211Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4212sh:
4213                Pushing language C
4214                Popping language C
4215sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4216Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4217sh:
4218        Defined "HAVE_RTLD_GLOBAL" to "1"
4219================================================================================
4220TEST checkCLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:152)
4221TESTING: checkCLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:152)
4222  Determines the libraries needed to link with C
4223        Pushing language C
4224sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4225Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4226sh:
4227              Pushing language C
4228              Popping language C
4229sh: /opt/local/bin/openmpicc  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4230Executing: /opt/local/bin/openmpicc  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4231sh:
4232Possible ERROR while running linker: Using built-in specs.
4233Target: i686-apple-darwin10
4234Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4235Thread model: posix
4236gcc version 4.2.1 (Apple Inc. build 5664)
4237 output: error message = {Using built-in specs.
4238Target: i686-apple-darwin10
4239Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4240Thread model: posix
4241gcc version 4.2.1 (Apple Inc. build 5664)
4242}
4243                  Pushing language C
4244                  Popping language C
4245 in /opt/local/bin/openmpicc  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz
4246Source:
4247#include "confdefs.h"
4248#include "conffix.h"
4249
4250int main() {
4251;
4252  return 0;
4253}
4254        Popping language C
4255      compilers: Checking arg Using
4256      compilers: Unknown arg Using
4257      compilers: Checking arg built-in
4258      compilers: Unknown arg built-in
4259      compilers: Checking arg specs.
4260      compilers: Unknown arg specs.
4261      compilers: Checking arg Target:
4262      compilers: Unknown arg Target:
4263      compilers: Checking arg i686-apple-darwin10
4264      compilers: Unknown arg i686-apple-darwin10
4265      compilers: Checking arg Configured
4266      compilers: Unknown arg Configured
4267      compilers: Checking arg with:
4268      compilers: Unknown arg with:
4269      compilers: Checking arg /var/tmp/gcc/gcc-5664~105/src/configure
4270      compilers: Unknown arg /var/tmp/gcc/gcc-5664~105/src/configure
4271      compilers: Checking arg --disable-checking
4272      compilers: Unknown arg --disable-checking
4273      compilers: Checking arg --enable-werror
4274      compilers: Unknown arg --enable-werror
4275      compilers: Checking arg --prefix=/usr
4276      compilers: Unknown arg --prefix=/usr
4277      compilers: Checking arg --mandir=/share/man
4278      compilers: Unknown arg --mandir=/share/man
4279      compilers: Checking arg --enable-languages=c,objc,c++,obj-c++
4280      compilers: Unknown arg --enable-languages=c,objc,c++,obj-c++
4281      compilers: Checking arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4282      compilers: Unknown arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4283      compilers: Checking arg --with-slibdir=/usr/lib
4284      compilers: Unknown arg --with-slibdir=/usr/lib
4285      compilers: Checking arg --build=i686-apple-darwin10
4286      compilers: Unknown arg --build=i686-apple-darwin10
4287      compilers: Checking arg --program-prefix=i686-apple-darwin10-
4288      compilers: Unknown arg --program-prefix=i686-apple-darwin10-
4289      compilers: Checking arg --host=x86_64-apple-darwin10
4290      compilers: Unknown arg --host=x86_64-apple-darwin10
4291      compilers: Checking arg --target=i686-apple-darwin10
4292      compilers: Unknown arg --target=i686-apple-darwin10
4293      compilers: Checking arg --with-gxx-include-dir=/include/c++/4.2.1
4294      compilers: Unknown arg --with-gxx-include-dir=/include/c++/4.2.1
4295      compilers: Checking arg Thread
4296      compilers: Unknown arg Thread
4297      compilers: Checking arg model:
4298      compilers: Unknown arg model:
4299      compilers: Checking arg posix
4300      compilers: Unknown arg posix
4301      compilers: Checking arg gcc
4302      compilers: Unknown arg gcc
4303      compilers: Checking arg version
4304      compilers: Unknown arg version
4305      compilers: Checking arg 4.2.1
4306      compilers: Unknown arg 4.2.1
4307      compilers: Checking arg (Apple
4308      compilers: Unknown arg (Apple
4309      compilers: Checking arg Inc.
4310      compilers: Unknown arg Inc.
4311      compilers: Checking arg build
4312      compilers: Unknown arg build
4313      compilers: Checking arg 5664)
4314      compilers: Unknown arg 5664)
4315      compilers: Libraries needed to link C code with another linker: []
4316      compilers: Check that C libraries can be used from Fortran
4317          Pushing language FC
4318sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4319Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4320sh:
4321sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4322Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4323sh:
4324                  Pushing language FC
4325                  Popping language FC
4326sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o  -ldl -lsz
4327Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o  -ldl -lsz
4328sh:
4329sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4330Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4331sh:
4332                      Pushing language FC
4333                      Popping language FC
4334sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o  -ldl -lsz
4335Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o  -ldl -lsz
4336sh:
4337Executing: ./conftest
4338sh: ./conftest
4339Executing: ./conftest
4340sh:
4341          Popping language FC
4342sh: /opt/local/bin/openmpicxx --help
4343Executing: /opt/local/bin/openmpicxx --help
4344sh: Usage: i686-apple-darwin10-g++-4.2.1 [options] file...
4345Options:
4346  -pass-exit-codes         Exit with highest error code from a phase
4347  --help                   Display this information
4348  --target-help            Display target specific command line options
4349  (Use '-v --help' to display command line options of sub-processes)
4350  -dumpspecs               Display all of the built in spec strings
4351  -dumpversion             Display the version of the compiler
4352  -dumpmachine             Display the compiler's target processor
4353  -print-search-dirs       Display the directories in the compiler's search path
4354  -print-libgcc-file-name  Display the name of the compiler's companion library
4355  -print-file-name=<lib>   Display the full path to library <lib>
4356  -print-prog-name=<prog>  Display the full path to compiler component <prog>
4357  -print-multi-directory   Display the root directory for versions of libgcc
4358  -print-multi-lib         Display the mapping between command line options and
4359                           multiple library search directories
4360  -print-multi-os-directory Display the relative path to OS libraries
4361  -Wa,<options>            Pass comma-separated <options> on to the assembler
4362  -Wp,<options>            Pass comma-separated <options> on to the preprocessor
4363  -Wl,<options>            Pass comma-separated <options> on to the linker
4364  -Xassembler <arg>        Pass <arg> on to the assembler
4365  -Xpreprocessor <arg>     Pass <arg> on to the preprocessor
4366  -Xlinker <arg>           Pass <arg> on to the linker
4367  -combine                 Pass multiple source files to compiler at once
4368  -save-temps              Do not delete intermediate files
4369  -pipe                    Use pipes rather than intermediate files
4370  -time                    Time the execution of each subprocess
4371  -specs=<file>            Override built-in specs with the contents of <file>
4372  -std=<standard>          Assume that the input sources are for <standard>
4373  --sysroot=<directory>    Use <directory> as the root directory for headers
4374                           and libraries
4375  -B <directory>           Add <directory> to the compiler's search paths
4376  -b <machine>             Run gcc for target <machine>, if installed
4377  -V <version>             Run gcc version number <version>, if installed
4378  -v                       Display the programs invoked by the compiler
4379  -###                     Like -v but options quoted and commands not executed
4380  -E                       Preprocess only; do not compile, assemble or link
4381  -S                       Compile only; do not assemble or link
4382  -c                       Compile and assemble, but do not link
4383  -o <file>                Place the output into <file>
4384  -x <language>            Specify the language of the following input files
4385                           Permissible languages include: c c++ assembler none
4386                           'none' means revert to the default behavior of
4387                           guessing the language based on the file's extension
4388Options starting with -g, -f, -m, -O, -W, or --param are automatically
4389 passed on to the various sub-processes invoked by i686-apple-darwin10-g++-4.2.1.  In order to pass
4390 other options on to these processes the -W<letter> options must be used.
4391For bug reporting instructions, please see:
4392<URL:http://developer.apple.com/bugreporter>.
4393
4394================================================================================
4395TEST checkRestrict from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:125)
4396TESTING: checkRestrict from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:125)
4397  Check for the C/CXX restrict keyword
4398        Pushing language Cxx
4399sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4400Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4401sh:
4402Possible ERROR while running compiler: ret = 256
4403error message = {conftest.cc: In function 'int main()':
4404conftest.cc:5: error: expected initializer before 'x'
4405}
4406Source:
4407#include "confdefs.h"
4408#include "conffix.h"
4409
4410int main() {
4411float * restrict x;;
4412  return 0;
4413}
4414sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4415Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4416sh:
4417Possible ERROR while running compiler: error message = {conftest.cc: In function 'int main()':
4418conftest.cc:5: warning: unused variable 'x'
4419}
4420Source:
4421#include "confdefs.h"
4422#include "conffix.h"
4423
4424int main() {
4425float *  __restrict__ x;;
4426  return 0;
4427}
4428      compilers: Set Cxx restrict keyword to  __restrict__
4429        Defined "CXX_RESTRICT" to " __restrict__"
4430        Popping language Cxx
4431================================================================================
4432TEST checkCxxNamespace from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:326)
4433TESTING: checkCxxNamespace from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:326)
4434  Checks that C++ compiler supports namespaces, and if it does defines HAVE_CXX_NAMESPACE
4435        Pushing language Cxx
4436sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4437Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4438sh:
4439sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4440Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g  -PIC  conftest.cc
4441sh:
4442        Popping language Cxx
4443      compilers: C++ has namespaces
4444        Defined "HAVE_CXX_NAMESPACE" to "1"
4445================================================================================
4446TEST checkCxxOptionalExtensions from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:301)
4447TESTING: checkCxxOptionalExtensions from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:301)
4448  Check whether the C++ compiler (IBM xlC, OSF5) need special flag for .c files which contain C++
4449        Pushing language Cxx
4450sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g    -PIC  conftest.c
4451Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g    -PIC  conftest.c
4452sh:
4453Added Cxx compiler flag
4454        Popping language Cxx
4455================================================================================
4456TEST checkCxxStaticInline from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:110)
4457TESTING: checkCxxStaticInline from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:110)
4458  Check for C++ keyword: static inline
4459        Pushing language Cxx
4460sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4461Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4462sh:
4463Possible ERROR while running compiler: error message = {conftest.cc: In function 'int main()':
4464conftest.cc:6: warning: unused variable 'i'
4465}
4466Source:
4467#include "confdefs.h"
4468#include "conffix.h"
4469static inline int foo(int a) {return a;}
4470
4471int main() {
4472int i = foo(1);;
4473  return 0;
4474}
4475      compilers: Set Cxx StaticInline keyword to static inline
4476        Popping language Cxx
4477        Defined "CXX_STATIC_INLINE" to "static inline"
4478================================================================================
4479TEST checkCxxLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:341)
4480TESTING: checkCxxLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:341)
4481  Determines the libraries needed to link with C++
4482        Pushing language Cxx
4483sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4484Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4485sh:
4486              Pushing language CXX
4487              Popping language CXX
4488sh: /opt/local/bin/openmpicxx  -o 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 -g  conftest.o  -ldl -lsz
4489Executing: /opt/local/bin/openmpicxx  -o 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 -g  conftest.o  -ldl -lsz
4490sh:
4491Possible ERROR while running linker: Using built-in specs.
4492Target: i686-apple-darwin10
4493Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4494Thread model: posix
4495gcc version 4.2.1 (Apple Inc. build 5664)
4496 output: error message = {Using built-in specs.
4497Target: i686-apple-darwin10
4498Configured with: /var/tmp/gcc/gcc-5664~105/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4499Thread model: posix
4500gcc version 4.2.1 (Apple Inc. build 5664)
4501}
4502                  Pushing language CXX
4503                  Popping language CXX
4504 in /opt/local/bin/openmpicxx  -o 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 -g  conftest.o  -ldl -lsz
4505Source:
4506#include "confdefs.h"
4507#include "conffix.h"
4508
4509int main() {
4510;
4511  return 0;
4512}
4513        Popping language Cxx
4514      compilers: Checking arg Using
4515      compilers: Unknown arg Using
4516      compilers: Checking arg built-in
4517      compilers: Unknown arg built-in
4518      compilers: Checking arg specs.
4519      compilers: Unknown arg specs.
4520      compilers: Checking arg Target:
4521      compilers: Unknown arg Target:
4522      compilers: Checking arg i686-apple-darwin10
4523      compilers: Unknown arg i686-apple-darwin10
4524      compilers: Checking arg Configured
4525      compilers: Unknown arg Configured
4526      compilers: Checking arg with:
4527      compilers: Unknown arg with:
4528      compilers: Checking arg /var/tmp/gcc/gcc-5664~105/src/configure
4529      compilers: Unknown arg /var/tmp/gcc/gcc-5664~105/src/configure
4530      compilers: Checking arg --disable-checking
4531      compilers: Unknown arg --disable-checking
4532      compilers: Checking arg --enable-werror
4533      compilers: Unknown arg --enable-werror
4534      compilers: Checking arg --prefix=/usr
4535      compilers: Unknown arg --prefix=/usr
4536      compilers: Checking arg --mandir=/share/man
4537      compilers: Unknown arg --mandir=/share/man
4538      compilers: Checking arg --enable-languages=c,objc,c++,obj-c++
4539      compilers: Unknown arg --enable-languages=c,objc,c++,obj-c++
4540      compilers: Checking arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4541      compilers: Unknown arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4542      compilers: Checking arg --with-slibdir=/usr/lib
4543      compilers: Unknown arg --with-slibdir=/usr/lib
4544      compilers: Checking arg --build=i686-apple-darwin10
4545      compilers: Unknown arg --build=i686-apple-darwin10
4546      compilers: Checking arg --program-prefix=i686-apple-darwin10-
4547      compilers: Unknown arg --program-prefix=i686-apple-darwin10-
4548      compilers: Checking arg --host=x86_64-apple-darwin10
4549      compilers: Unknown arg --host=x86_64-apple-darwin10
4550      compilers: Checking arg --target=i686-apple-darwin10
4551      compilers: Unknown arg --target=i686-apple-darwin10
4552      compilers: Checking arg --with-gxx-include-dir=/include/c++/4.2.1
4553      compilers: Unknown arg --with-gxx-include-dir=/include/c++/4.2.1
4554      compilers: Checking arg Thread
4555      compilers: Unknown arg Thread
4556      compilers: Checking arg model:
4557      compilers: Unknown arg model:
4558      compilers: Checking arg posix
4559      compilers: Unknown arg posix
4560      compilers: Checking arg gcc
4561      compilers: Unknown arg gcc
4562      compilers: Checking arg version
4563      compilers: Unknown arg version
4564      compilers: Checking arg 4.2.1
4565      compilers: Unknown arg 4.2.1
4566      compilers: Checking arg (Apple
4567      compilers: Unknown arg (Apple
4568      compilers: Checking arg Inc.
4569      compilers: Unknown arg Inc.
4570      compilers: Checking arg build
4571      compilers: Unknown arg build
4572      compilers: Checking arg 5664)
4573      compilers: Unknown arg 5664)
4574      compilers: Libraries needed to link Cxx code with another linker: []
4575      compilers: Check that Cxx libraries can be used from C
4576          Pushing language C
4577sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4578Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4579sh:
4580sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4581Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4582sh:
4583                  Pushing language C
4584                  Popping language C
4585sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o   -ldl -lsz
4586Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o   -ldl -lsz
4587sh:
4588sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4589Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4590sh:
4591                      Pushing language C
4592                      Popping language C
4593sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o   -ldl -lsz
4594Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o   -ldl -lsz
4595sh:
4596Executing: ./conftest
4597sh: ./conftest
4598Executing: ./conftest
4599sh:
4600          Popping language C
4601      compilers: Check that Cxx libraries can be used from Fortran
4602          Pushing language FC
4603sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4604Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4605sh:
4606sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4607Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4608sh:
4609                  Pushing language FC
4610                  Popping language FC
4611sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o   -ldl -lsz
4612Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o   -ldl -lsz
4613sh:
4614sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4615Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4616sh:
4617                      Pushing language FC
4618                      Popping language FC
4619sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o   -ldl -lsz
4620Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o   -ldl -lsz
4621sh:
4622Executing: ./conftest
4623sh: ./conftest
4624Executing: ./conftest
4625sh:
4626          Popping language FC
4627================================================================================
4628TEST checkFortranTypeSizes from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:484)
4629TESTING: checkFortranTypeSizes from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:484)
4630  Check whether real*8 is supported and suggest flags which will allow support
4631        Pushing language FC
4632sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4633Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4634sh:
4635        Popping language FC
4636================================================================================
4637TEST checkFortranNameMangling from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:543)
4638TESTING: checkFortranNameMangling from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:543)
4639  Checks Fortran name mangling, and defines HAVE_FORTRAN_UNDERSCORE, HAVE_FORTRAN_NOUNDERSCORE, HAVE_FORTRAN_CAPS, or HAVE_FORTRAN_STDCALL
4640Testing Fortran mangling type underscore with code void d1chk_(void){return;}
4641          Pushing language C
4642sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4643Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4644sh:
4645          Popping language C
4646          Pushing language FC
4647sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4648Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4649sh:
4650                  Pushing language FC
4651                  Popping language FC
4652sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o confc.o   -ldl -lsz
4653Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o confc.o   -ldl -lsz
4654sh:
4655          Popping language FC
4656      compilers: Fortran name mangling is underscore
4657        Defined "HAVE_FORTRAN_UNDERSCORE" to "1"
4658================================================================================
4659TEST checkFortranNameManglingDouble from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:576)
4660TESTING: checkFortranNameManglingDouble from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:576)
4661  Checks if symbols containing an underscore append an extra underscore, and defines HAVE_FORTRAN_UNDERSCORE_UNDERSCORE if necessary
4662          Pushing language C
4663sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4664Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4665sh:
4666          Popping language C
4667          Pushing language FC
4668sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4669Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  conftest.F
4670sh:
4671                  Pushing language FC
4672                  Popping language FC
4673sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o confc.o   -ldl -lsz
4674Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o confc.o   -ldl -lsz
4675sh:
4676Possible ERROR while running linker: Undefined symbols:
4677  "_d1_chk_", referenced from:
4678      _MAIN__ in conftest.o
4679     (maybe you meant: _d1_chk__)
4680ld: symbol(s) not found
4681collect2: ld returned 1 exit status
4682 output: ret = 256
4683error message = {Undefined symbols:
4684  "_d1_chk_", referenced from:
4685      _MAIN__ in conftest.o
4686     (maybe you meant: _d1_chk__)
4687ld: symbol(s) not found
4688collect2: ld returned 1 exit status
4689}
4690                      Pushing language FC
4691                      Popping language FC
4692 in gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g  conftest.o confc.o   -ldl -lsz
4693Source:
4694      program main
4695       call d1_chk()
4696
4697      end
4698          Popping language FC
4699================================================================================
4700TEST checkFortranPreprocessor from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:586)
4701TESTING: checkFortranPreprocessor from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:586)
4702  Determine if Fortran handles preprocessing properly
4703        Pushing language FC
4704sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g    conftest.F
4705Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g    conftest.F
4706sh:
4707Added FC compiler flag
4708        Popping language FC
4709      compilers: Fortran uses CPP preprocessor
4710================================================================================
4711TEST checkFortranDefineCompilerOption from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:607)
4712TESTING: checkFortranDefineCompilerOption from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:607)
4713  Check if -WF,-Dfoobar or -Dfoobar is the compiler option to define a macro
4714        Pushing language FC
4715sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  -DTesting  conftest.F
4716Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g  -DTesting  conftest.F
4717sh:
4718        Popping language FC
4719      compilers: Fortran uses -D for defining macro
4720================================================================================
4721TEST checkFortranLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:624)
4722TESTING: checkFortranLibraries from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:624)
4723  Substitutes for FLIBS the libraries needed to link with Fortran
4724
4725    This macro is intended to be used in those situations when it is
4726    necessary to mix, e.g. C++ and Fortran 77, source code into a single
4727    program or shared library.
4728
4729    For example, if object files from a C++ and Fortran 77 compiler must
4730    be linked together, then the C++ compiler/linker must be used for
4731    linking (since special C++-ish things need to happen at link time
4732    like calling global constructors, instantiating templates, enabling
4733    exception support, etc.).
4734
4735    However, the Fortran 77 intrinsic and run-time libraries must be
4736    linked in as well, but the C++ compiler/linker does not know how to
4737    add these Fortran 77 libraries.
4738
4739    This code was translated from the autoconf macro which was packaged in
4740    its current form by Matthew D. Langston <langston@SLAC.Stanford.EDU>.
4741    However, nearly all of this macro came from the OCTAVE_FLIBS macro in
4742    octave-2.0.13/aclocal.m4, and full credit should go to John W. Eaton
4743    for writing this extremely useful macro.
4744        Pushing language FC
4745sh: gfortran -V
4746Executing: gfortran -V
4747sh:
4748sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4749Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4750sh:
4751              Pushing language FC
4752              Popping language FC
4753sh: gfortran  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o  -ldl -lsz
4754Executing: gfortran  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o  -ldl -lsz
4755sh:
4756Possible ERROR while running linker: Driving: /usr/bin/i686-apple-darwin10-gfortran-4.2.1 -mmacosx-version-min=10.6 -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wno-unused-variable -g conftest.o -ldl -lsz -m64 -o conftest -lgfortranbegin -lgfortran -shared-libgcc
4757Using built-in specs.
4758Target: i686-apple-darwin10
4759Configured with: /Builds/apple/gcc-5664/build/obj/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++,fortran --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4760Thread model: posix
4761gcc version 4.2.1 (Apple Inc. build 5664)
4762 output: error message = {Driving: /usr/bin/i686-apple-darwin10-gfortran-4.2.1 -mmacosx-version-min=10.6 -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first -PIC -Wall -Wno-unused-variable -g conftest.o -ldl -lsz -m64 -o conftest -lgfortranbegin -lgfortran -shared-libgcc
4763Using built-in specs.
4764Target: i686-apple-darwin10
4765Configured with: /Builds/apple/gcc-5664/build/obj/src/configure --disable-checking --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++,fortran --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
4766Thread model: posix
4767gcc version 4.2.1 (Apple Inc. build 5664)
4768}
4769                  Pushing language FC
4770                  Popping language FC
4771 in gfortran  -o conftest  -v -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o  -ldl -lsz
4772Source:
4773      program main
4774
4775      end
4776        Popping language FC
4777      compilers: Checking arg Driving:
4778      compilers: Unknown arg Driving:
4779      compilers: Checking arg /usr/bin/i686-apple-darwin10-gfortran-4.2.1
4780      compilers: Unknown arg /usr/bin/i686-apple-darwin10-gfortran-4.2.1
4781      compilers: Checking arg -mmacosx-version-min=10.6
4782      compilers: Unknown arg -mmacosx-version-min=10.6
4783      compilers: Checking arg -v
4784      compilers: Unknown arg -v
4785      compilers: Checking arg -Wl,-multiply_defined,suppress
4786      compilers: Unknown arg -Wl,-multiply_defined,suppress
4787      compilers: Checking arg -Wl,-multiply_defined
4788      compilers: Unknown arg -Wl,-multiply_defined
4789      compilers: Checking arg -Wl,suppress
4790      compilers: Unknown arg -Wl,suppress
4791      compilers: Checking arg -Wl,-commons,use_dylibs
4792      compilers: Unknown arg -Wl,-commons,use_dylibs
4793      compilers: Checking arg -Wl,-search_paths_first
4794      compilers: Unknown arg -Wl,-search_paths_first
4795      compilers: Checking arg -PIC
4796      compilers: Unknown arg -PIC
4797      compilers: Checking arg -Wall
4798      compilers: Unknown arg -Wall
4799      compilers: Checking arg -Wno-unused-variable
4800      compilers: Unknown arg -Wno-unused-variable
4801      compilers: Checking arg -g
4802      compilers: Unknown arg -g
4803      compilers: Checking arg conftest.o
4804      compilers: Unknown arg conftest.o
4805      compilers: Checking arg -ldl
4806      compilers: Found library: -ldl
4807      compilers: Checking arg -lsz
4808      compilers: Found library: -lsz
4809      compilers: Checking arg -m64
4810      compilers: Unknown arg -m64
4811      compilers: Checking arg -o
4812      compilers: Unknown arg -o
4813      compilers: Checking arg conftest
4814      compilers: Unknown arg conftest
4815      compilers: Checking arg -lgfortranbegin
4816      compilers: Checking arg -lgfortran
4817      compilers: Found library: -lgfortran
4818      compilers: Checking arg -shared-libgcc
4819      compilers: Unknown arg -shared-libgcc
4820      compilers: Checking arg Using
4821      compilers: Unknown arg Using
4822      compilers: Checking arg built-in
4823      compilers: Unknown arg built-in
4824      compilers: Checking arg specs.
4825      compilers: Unknown arg specs.
4826      compilers: Checking arg Target:
4827      compilers: Unknown arg Target:
4828      compilers: Checking arg i686-apple-darwin10
4829      compilers: Unknown arg i686-apple-darwin10
4830      compilers: Checking arg Configured
4831      compilers: Unknown arg Configured
4832      compilers: Checking arg with:
4833      compilers: Unknown arg with:
4834      compilers: Checking arg /Builds/apple/gcc-5664/build/obj/src/configure
4835      compilers: Unknown arg /Builds/apple/gcc-5664/build/obj/src/configure
4836      compilers: Checking arg --disable-checking
4837      compilers: Unknown arg --disable-checking
4838      compilers: Checking arg --prefix=/usr
4839      compilers: Unknown arg --prefix=/usr
4840      compilers: Checking arg --mandir=/share/man
4841      compilers: Unknown arg --mandir=/share/man
4842      compilers: Checking arg --enable-languages=c,objc,c++,obj-c++,fortran
4843      compilers: Unknown arg --enable-languages=c,objc,c++,obj-c++,fortran
4844      compilers: Checking arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4845      compilers: Unknown arg --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
4846      compilers: Checking arg --with-slibdir=/usr/lib
4847      compilers: Unknown arg --with-slibdir=/usr/lib
4848      compilers: Checking arg --build=i686-apple-darwin10
4849      compilers: Unknown arg --build=i686-apple-darwin10
4850      compilers: Checking arg --program-prefix=i686-apple-darwin10-
4851      compilers: Unknown arg --program-prefix=i686-apple-darwin10-
4852      compilers: Checking arg --host=x86_64-apple-darwin10
4853      compilers: Unknown arg --host=x86_64-apple-darwin10
4854      compilers: Checking arg --target=i686-apple-darwin10
4855      compilers: Unknown arg --target=i686-apple-darwin10
4856      compilers: Checking arg --with-gxx-include-dir=/include/c++/4.2.1
4857      compilers: Unknown arg --with-gxx-include-dir=/include/c++/4.2.1
4858      compilers: Checking arg Thread
4859      compilers: Unknown arg Thread
4860      compilers: Checking arg model:
4861      compilers: Unknown arg model:
4862      compilers: Checking arg posix
4863      compilers: Unknown arg posix
4864      compilers: Checking arg gcc
4865      compilers: Unknown arg gcc
4866      compilers: Checking arg version
4867      compilers: Unknown arg version
4868      compilers: Checking arg 4.2.1
4869      compilers: Unknown arg 4.2.1
4870      compilers: Checking arg (Apple
4871      compilers: Unknown arg (Apple
4872      compilers: Checking arg Inc.
4873      compilers: Unknown arg Inc.
4874      compilers: Checking arg build
4875      compilers: Unknown arg build
4876      compilers: Checking arg 5664)
4877      compilers: Unknown arg 5664)
4878      compilers: Libraries needed to link Fortran code with the C linker: ['-ldl', '-lsz', '-lgfortran']
4879      compilers: Libraries needed to link Fortran main with the C linker: ['-lgfortranbegin']
4880      compilers: Check that Fortran libraries can be used from C
4881          Pushing language C
4882sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4883Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4884sh:
4885sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4886Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4887sh:
4888                  Pushing language C
4889                  Popping language C
4890sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4891Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4892sh:
4893sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4894Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4895sh:
4896                      Pushing language C
4897                      Popping language C
4898sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4899Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4900sh:
4901Executing: ./conftest
4902sh: ./conftest
4903Executing: ./conftest
4904sh:
4905          Popping language C
4906      compilers: Check for Intel PEPCF90 library
4907          Pushing language C
4908sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4909Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4910sh:
4911sh: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4912Executing: /opt/local/bin/openmpicc -c -o conftest.o  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.c
4913sh:
4914                  Pushing language C
4915                  Popping language C
4916sh: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o  -ldl -lsz -lPEPCF90 -ldl -lsz -lgfortran
4917Executing: /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o  -ldl -lsz -lPEPCF90 -ldl -lsz -lgfortran
4918sh:
4919Possible ERROR while running linker: ld: library not found for -lPEPCF90
4920collect2: ld returned 1 exit status
4921 output: ret = 256
4922error message = {ld: library not found for -lPEPCF90
4923collect2: ld returned 1 exit status
4924}
4925                      Pushing language C
4926                      Popping language C
4927 in /opt/local/bin/openmpicc  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wwrite-strings -Wno-strict-aliasing -g3  conftest.o  -ldl -lsz -lPEPCF90 -ldl -lsz -lgfortran
4928Source:
4929#include "confdefs.h"
4930#include "conffix.h"
4931
4932int main() {
4933;
4934  return 0;
4935}
4936          Popping language C
4937      compilers: Intel PEPCF90 library does not exist
4938      compilers: Check that Fortran libraries can be used from C++
4939          Pushing language Cxx
4940sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4941Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4942sh:
4943sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4944Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4945sh:
4946                  Pushing language CXX
4947                  Popping language CXX
4948sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -Wall -Wwrite-strings -Wno-strict-aliasing -g  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4949Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -Wall -Wwrite-strings -Wno-strict-aliasing -g  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4950sh:
4951sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4952Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4953sh:
4954                      Pushing language CXX
4955                      Popping language CXX
4956sh: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -Wall -Wwrite-strings -Wno-strict-aliasing -g  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4957Executing: /opt/local/bin/openmpicxx  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -Wall -Wwrite-strings -Wno-strict-aliasing -g  conftest.o -ldl -lsz -lgfortran  -ldl -lsz
4958sh:
4959Executing: ./conftest
4960sh: ./conftest
4961Executing: ./conftest
4962sh:
4963          Popping language Cxx
4964      compilers: Fortran libraries can be used from C++
4965================================================================================
4966TEST checkFortranLinkingCxx from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:951)
4967TESTING: checkFortranLinkingCxx from config.compilers(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py:951)
4968  Check that Fortran can be linked against C++
4969        Pushing language Cxx
4970sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4971Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4972sh:
4973        Popping language Cxx
4974          Pushing language Cxx
4975sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4976Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
4977sh:
4978          Popping language Cxx
4979          Pushing language FC
4980sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4981Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
4982sh:
4983                  Pushing language FC
4984                  Popping language FC
4985sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o   -ldl -lsz
4986Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o   -ldl -lsz
4987sh:
4988Possible ERROR while running linker: Undefined symbols:
4989  "___gxx_personality_v0", referenced from:
4990      foo()    in cxxobj.o
4991      CIE in cxxobj.o
4992      _d1chk_ in confc.o
4993      CIE in confc.o
4994ld: symbol(s) not found
4995collect2: ld returned 1 exit status
4996 output: ret = 256
4997error message = {Undefined symbols:
4998  "___gxx_personality_v0", referenced from:
4999      foo()    in cxxobj.o
5000      CIE in cxxobj.o
5001      _d1chk_ in confc.o
5002      CIE in confc.o
5003ld: symbol(s) not found
5004collect2: ld returned 1 exit status
5005}
5006                      Pushing language FC
5007                      Popping language FC
5008 in gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o   -ldl -lsz
5009Source:
5010      program main
5011       call d1chk()
5012
5013      end
5014          Popping language FC
5015          Pushing language Cxx
5016sh: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
5017Executing: /opt/local/bin/openmpicxx -c -o conftest.o  -Wall -Wwrite-strings -Wno-strict-aliasing -g   -PIC  conftest.cc
5018sh:
5019          Popping language Cxx
5020          Pushing language FC
5021sh: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
5022Executing: gfortran -c -o conftest.o  -PIC -Wall -Wno-unused-variable -g   conftest.F
5023sh:
5024                  Pushing language FC
5025                  Popping language FC
5026sh: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o    -ldl -lsz
5027Executing: gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o    -ldl -lsz
5028sh:
5029Possible ERROR while running linker: Undefined symbols:
5030  "___gxx_personality_v0", referenced from:
5031      foo()    in cxxobj.o
5032      CIE in cxxobj.o
5033      _d1chk_ in confc.o
5034      CIE in confc.o
5035ld: symbol(s) not found
5036collect2: ld returned 1 exit status
5037 output: ret = 256
5038error message = {Undefined symbols:
5039  "___gxx_personality_v0", referenced from:
5040      foo()    in cxxobj.o
5041      CIE in cxxobj.o
5042      _d1chk_ in confc.o
5043      CIE in confc.o
5044ld: symbol(s) not found
5045collect2: ld returned 1 exit status
5046}
5047                      Pushing language FC
5048                      Popping language FC
5049 in gfortran  -o conftest  -Wl,-multiply_defined,suppress -Wl,-multiply_defined -Wl,suppress -Wl,-commons,use_dylibs -Wl,-search_paths_first  -PIC -Wall -Wno-unused-variable -g   conftest.o cxxobj.o  confc.o    -ldl -lsz
5050Source:
5051      program main
5052       call d1chk()
5053
5054      end
5055          Popping language FC
5056*******************************************************************************
5057         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
5058-------------------------------------------------------------------------------
5059Fortran could not successfully link C++ objects
5060*******************************************************************************
5061  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/configure.py", line 257, in petsc_configure
5062    framework.configure(out = sys.stdout)
5063  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/framework.py", line 944, in configure
5064    child.configure()
5065  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py", line 1222, in configure
5066    self.executeTest(self.checkFortranLinkingCxx)
5067  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/base.py", line 97, in executeTest
5068    ret = apply(test, args,kargs)
5069  File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_petsc/work/petsc-3.1-p4/config/BuildSystem/config/compilers.py", line 983, in checkFortranLinkingCxx
5070    raise RuntimeError('Fortran could not successfully link C++ objects')