I just sent off a patch for the duplicate flags problem; it will appear
in a separate RT and I'll commit it to trunk in a day if there is no
objection.

However, it did *not* fix the spewing problem with auto::readline. 
Here's my latest configuration log.   This was run with both Allison's
patch to config/init/hints/darwin.pm and my anti-duplication patch to
lib/Parrot/Configure/Step/Methods.pm.

'make' completed successfully but slowed my iBook *drastically* at 

src/ops/core_ops_cg.c
src/ops/debug.ops: In function `cg_core':
src/ops/debug.ops:103: warning: null argument where non-null required
(arg 2)
src/ops/debug.ops:113: warning: null argument where non-null required
(arg 2)
src/ops/core_ops_cgp.c
src/ops/debug.ops: In function `cgp_core':
src/ops/debug.ops:103: warning: null argument where non-null required
(arg 2)
src/ops/debug.ops:113: warning: null argument where non-null required
(arg 2)

kid51
As you requested, we'll start with some tests of the configuration tools.

t/configure/001-options........................ok
t/configure/002-messages.......................ok
t/configure/003-steplist.......................ok
t/configure/004-configure......................ok
t/configure/005-run_one_step...................ok
t/configure/006-bad_step.......................ok
t/configure/007-verbose_two....................ok
t/configure/008-verbose_step_number............ok
t/configure/009-verbose_step_regex.............ok
t/configure/010-verbose_step_num_uncalled......ok
t/configure/011-no_description.................ok
t/configure/012-verbose........................ok
t/configure/013-die............................ok
t/configure/015-no_return......................ok
t/configure/016-no_return_but_result...........ok
t/configure/017-revision_from_cache............ok
t/configure/018-revision_to_cache..............ok
t/configure/019-version........................ok
t/configure/020-version........................ok
t/configure/021-version........................ok
t/configure/022-version........................ok
t/configure/023-version........................ok
t/configure/024-version........................ok
t/configure/025-options_test...................ok
t/configure/026-options_test...................ok
t/configure/027-option_or_data.................ok
t/configure/028-option_or_data.................ok
t/configure/029-option_or_data.................ok
t/configure/030-option_or_data.................ok
t/configure/031-base...........................ok
t/configure/032-data...........................ok
t/configure/033-step...........................ok
t/configure/034-step...........................ok
t/configure/035-step...........................ok
t/configure/036-config_steps...................ok
t/configure/037-run_single_step................ok
t/configure/038-run_single_step................ok
t/configure/039-run_single_step................ok
t/configure/040-return_undef...................ok
t/configure/041-return_undef...................ok
t/configure/042-list_of_steps..................ok
t/configure/043-verbose_step_name..............ok
t/configure/044-slurp_file.....................ok
t/configure/045-generated_file_header..........ok
t/configure/046-inter..........................ok
t/configure/047-inter..........................ok
t/configure/048-return_result_undef............ok
t/configure/050-fatal..........................ok
t/configure/051-fatal_step.....................ok
t/configure/052-fatal_step.....................ok
t/configure/053-fatal_step.....................ok
t/configure/054-fatal_step.....................ok
t/configure/055-fatal_step.....................ok
t/configure/056-fatal_step.....................ok
t/configure/057-fatal_step.....................ok
t/configure/058-fatal_step.....................ok
t/configure/059-silent.........................ok
t/configure/060-silent.........................ok
t/steps/init_manifest-01.......................ok
t/steps/init_manifest-02.......................ok
t/steps/init_defaults-01.......................ok
t/steps/init_defaults-02.......................ok
t/steps/init_defaults-03.......................ok
t/steps/init_defaults-04.......................ok
t/steps/init_install-01........................ok
t/steps/init_install-02........................ok
t/steps/init_miniparrot-01.....................ok
t/steps/init_hints-01..........................ok
t/steps/init_hints-02..........................ok
t/steps/init_hints-03..........................ok
t/steps/init_hints-04..........................ok
t/steps/init_headers-01........................ok
t/steps/inter_progs-01.........................ok
t/steps/inter_progs-02.........................ok
t/steps/inter_progs-03.........................ok
t/steps/inter_progs-04.........................ok
t/steps/inter_make-01..........................ok
t/steps/inter_make-02..........................ok
t/steps/inter_lex-01...........................ok
t/steps/inter_lex-02...........................ok
t/steps/inter_lex-03...........................ok
t/steps/inter_lex-04...........................ok
t/steps/inter_lex-05...........................ok
t/steps/inter_yacc-01..........................ok
t/steps/inter_yacc-02..........................ok
t/steps/inter_yacc-03..........................ok
t/steps/inter_yacc-04..........................ok
t/steps/inter_yacc-05..........................ok
t/steps/auto_gcc-01............................ok
t/steps/auto_gcc-02............................ok
t/steps/auto_gcc-03............................ok
t/steps/auto_gcc-04............................ok
t/steps/auto_gcc-05............................ok
t/steps/auto_gcc-06............................ok
t/steps/auto_gcc-07............................ok
t/steps/auto_gcc-08............................ok
t/steps/auto_gcc-09............................ok
t/steps/auto_gcc-10............................ok
t/steps/auto_gcc-11............................ok
t/steps/auto_gcc-12............................ok
t/steps/auto_gcc-13............................ok
t/steps/auto_backtrace-01......................ok
t/steps/auto_backtrace-02......................ok
t/steps/auto_fink-01...........................ok
t/steps/auto_fink-02...........................ok
t/steps/auto_fink-03...........................ok
t/steps/auto_fink-04...........................ok
t/steps/auto_fink-05...........................ok
t/steps/auto_fink-06...........................ok
t/steps/auto_fink-07...........................ok
t/steps/auto_fink-08...........................ok
t/steps/auto_fink-09...........................ok
t/steps/auto_msvc-01...........................ok
t/steps/auto_msvc-02...........................ok
t/steps/auto_msvc-03...........................ok
t/steps/auto_msvc-04...........................ok
t/steps/auto_attributes-01.....................ok
t/steps/auto_warnings-01.......................ok
t/steps/auto_warnings-02.......................ok
t/steps/auto_warnings-03.......................ok
t/steps/auto_warnings-04.......................ok
t/steps/auto_warnings-05.......................ok
t/steps/auto_warnings-06.......................ok
t/steps/auto_warnings-07.......................ok
t/steps/auto_warnings-08.......................ok
t/steps/init_optimize-01.......................ok
t/steps/init_optimize-02.......................ok
t/steps/init_optimize-03.......................ok
t/steps/init_optimize-04.......................ok
t/steps/init_optimize-05.......................ok
t/steps/init_optimize-06.......................ok
t/steps/inter_shlibs-01........................ok
t/steps/inter_shlibs-02........................ok
t/steps/inter_libparrot-01.....................ok
t/steps/inter_libparrot-02.....................ok
t/steps/inter_libparrot-03.....................ok
t/steps/inter_libparrot-04.....................ok
t/steps/inter_libparrot-05.....................ok
t/steps/inter_libparrot-06.....................ok
t/steps/inter_libparrot-07.....................ok
t/steps/inter_libparrot-08.....................ok
t/steps/inter_libparrot-09.....................ok
t/steps/inter_charset-01.......................ok
t/steps/inter_charset-02.......................ok
t/steps/inter_encoding-01......................ok
t/steps/inter_encoding-02......................ok
t/steps/inter_types-01.........................ok
t/steps/inter_types-02.........................ok
t/steps/auto_ops-01............................ok
t/steps/auto_pmc-01............................ok
t/steps/auto_pmc-02............................ok
t/steps/auto_pmc-03............................ok
t/steps/auto_pmc-04............................ok
t/steps/auto_alignptrs-01......................ok
t/steps/auto_alignptrs-02......................ok
t/steps/auto_alignptrs-03......................ok
t/steps/auto_alignptrs-04......................ok
t/steps/auto_alignptrs-05......................ok
t/steps/auto_alignptrs-06......................ok
t/steps/auto_alignptrs-07......................ok
t/steps/auto_headers-01........................ok
t/steps/auto_headers-02........................ok
t/steps/auto_headers-03........................ok
t/steps/auto_headers-04........................ok
t/steps/auto_sizes-01..........................ok
t/steps/auto_sizes-02..........................ok
t/steps/auto_byteorder-01......................ok
t/steps/auto_byteorder-02......................ok
t/steps/auto_byteorder-03......................ok
t/steps/auto_va_ptr-01.........................ok
t/steps/auto_pack-01...........................ok
t/steps/auto_format-01.........................ok
t/steps/auto_format-02.........................ok
t/steps/auto_isreg-01..........................ok
t/steps/auto_isreg-02..........................ok
t/steps/auto_isreg-03..........................ok
t/steps/auto_arch-01...........................ok
t/steps/auto_arch-02...........................ok
t/steps/auto_arch-03...........................ok
t/steps/auto_arch-04...........................ok
t/steps/auto_arch-05...........................ok
t/steps/auto_arch-06...........................ok
t/steps/auto_arch-07...........................ok
t/steps/auto_arch-08...........................ok
t/steps/auto_arch-09...........................ok
t/steps/auto_arch-10...........................ok
t/steps/auto_arch-11...........................ok
t/steps/auto_jit-01............................ok
t/steps/auto_jit-02............................ok
t/steps/auto_cpu-01............................ok
t/steps/auto_cpu-02............................ok
t/steps/auto_cpu-03............................ok
t/steps/auto_funcptr-01........................ok
t/steps/auto_funcptr-02........................ok
t/steps/auto_funcptr-03........................ok
t/steps/auto_cgoto-01..........................ok
t/steps/auto_cgoto-02..........................ok
t/steps/auto_cgoto-03..........................ok
t/steps/auto_cgoto-04..........................ok
t/steps/auto_inline-01.........................ok
t/steps/auto_inline-02.........................ok
t/steps/auto_inline-03.........................ok
t/steps/auto_inline-04.........................ok
t/steps/auto_inline-05.........................ok
t/steps/auto_inline-06.........................ok
t/steps/auto_gc-01.............................ok
t/steps/auto_gc-02.............................ok
t/steps/auto_gc-03.............................ok
t/steps/auto_gc-04.............................ok
t/steps/auto_gc-05.............................ok
t/steps/auto_gc-06.............................ok
t/steps/auto_memalign-01.......................ok
t/steps/auto_memalign-02.......................ok
t/steps/auto_memalign-03.......................ok
t/steps/auto_memalign-04.......................ok
t/steps/auto_signal-01.........................ok
t/steps/auto_signal-02.........................ok
t/steps/auto_signal-03.........................ok
t/steps/auto_socklen_t-01......................ok
t/steps/auto_socklen_t-02......................ok
t/steps/auto_env-01............................ok
t/steps/auto_env-02............................ok
t/steps/auto_env-03............................ok
t/steps/auto_aio-01............................ok
t/steps/auto_aio-02............................ok
t/steps/auto_aio-03............................ok
t/steps/auto_aio-04............................ok
t/steps/auto_gmp-01............................ok
t/steps/auto_gmp-02............................ok
t/steps/auto_gmp-03............................ok
t/steps/auto_gmp-04............................ok
t/steps/auto_readline-01.......................ok
t/steps/auto_readline-02.......................ok
t/steps/auto_gdbm-01...........................ok
t/steps/auto_gdbm-02...........................ok
t/steps/auto_gdbm-03...........................ok
t/steps/auto_gdbm-04...........................ok
t/steps/auto_snprintf-01.......................ok
t/steps/auto_snprintf-02.......................ok
t/steps/auto_snprintf-03.......................ok
t/steps/auto_perldoc-01........................ok
t/steps/auto_perldoc-02........................ok
t/steps/auto_python-01.........................ok
t/steps/auto_m4-01.............................ok
t/steps/auto_ctags-01..........................ok
t/steps/auto_ctags-02..........................ok
t/steps/auto_ctags-03..........................ok
t/steps/auto_ctags-04..........................ok
t/steps/auto_revision-01.......................ok
t/steps/gen_icu-01.............................ok
t/steps/gen_config_h-01........................ok
t/steps/gen_core_pmcs-01.......................ok
t/steps/gen_parrot_include-01..................ok
t/steps/gen_languages-01.......................ok
t/steps/gen_makefiles-01.......................ok
t/steps/gen_platform-01........................ok
t/steps/gen_config_pm-01.......................ok
All tests successful.
Files=257, Tests=3712, 180 wallclock secs ( 4.50 usr  4.31 sys + 73.84 cusr 
24.96 csys = 107.61 CPU)
Result: PASS

I just ran some tests to demonstrate that
Parrot's configuration tools will work as intended.

Parrot Version 0.5.2 Configure 2.0
Copyright (C) 2001-2008, The Perl Foundation.

Hello, I'm Configure. My job is to poke and prod your system to figure out
how to build Parrot. The process is completely automated, unless you passed in
the `--ask' flag on the command line, in which case I'll prompt you for a few
pieces of info.

Since you're running this program, you obviously have Perl 5--I'll be pulling
some defaults from its configuration.

Checking MANIFEST.....................................................done.
Setting up Configure's default values.................................done.
Setting up installation paths.........................................done.
Tweaking settings for miniparrot...................................skipped.
Loading platform and local hints files................................done.
Finding header files distributed with Parrot..........................done.
Determining what C compiler and linker to use.........................done.
Determining whether make is installed..................................yes.
Determining whether lex is installed...............................skipped.
Determining whether yacc is installed..............................skipped.
Determining if your C compiler is actually gcc.........................yes.
Determining whether libc has the backtrace* functions (glibc only)......no.
Determining Fink location on Darwin...........................Fink located.
Determining if your C compiler is actually Visual C++...................no.
Detecting compiler attributes (-DHASATTRIBUTE_xxx)....................done.
Detecting supported compiler warnings (-Wxxx)..................set for gcc.
Enabling optimization...................................................no.
Determining flags for building shared libraries.......................done.
Determine if parrot should be linked against a shared library..........yes.
Determining what charset files should be compiled in..................done.
Determining what encoding files should be compiled in.................done.
Determining what types Parrot should use..............................done.
Determining what opcode files should be compiled in...................done.
Determining what pmc files should be compiled in......................done.
Determining your minimum pointer alignment......................... 1 byte.
Probing for C headers.................................................done.
Determining some sizes................................................done.
Computing native byteorder for Parrot's wordsize................big-endian.
Test the type of va_ptr (this test is likely to segfault)............stack.
Figuring out how to pack() Parrot's types.............................done.
Figuring out what formats should be used for sprintf..................done.
Determining if your C library has a working S_ISREG....................yes.
Determining CPU architecture and OS...................................done.
Determining architecture, OS and JIT capability.......................done.
Generating CPU specific stuff.........................................done.
Verifying that the compiler supports function pointer casts............yes.
Determining whether your compiler supports computed goto...............yes.
Determining if your compiler supports inline...........................yes.
Determining what allocator to use.....................................done.
Determining if your C library supports memalign................already set.
Determining some signal stuff.........................................done.
Determining whether there is socklen_t.................................yes.
Determining if your C library has setenv / unsetenv...................both.
Determining if your platform supports AIO...............................no.
Determining if your platform supports GMP..............................yes.
Determining if your platform supports readline...dyld: lazy symbol binding 
failed: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

dyld: Symbol not found: _rl_get_keymap
  Referenced from: /Users/jimk/work/parrot/./test
  Expected in: dynamic lookup

.......................no.
Determining if your platform supports gdbm.............................yes.
Testing snprintf......................................................done.
Determining whether perldoc is installed...............................yes.
Determining whether python is installed.........................yes, 2.3.5.
Determining whether GNU m4 is installed................................yes.
Determining whether (exuberant) ctags is installed......................no.
Determining Parrot's revision.......................................r25337.
Determining whether ICU is installed....................................no.
Generating C headers..................................................done.
Generating core pmc list..............................................done.
Generating runtime/parrot/include.....................................done.
Configuring languages.................................................done.
Generating makefiles and other build files............................done.
Moving platform files into place......................................done.
Recording configuration data for later retrieval......................done.

As you requested, I will now run some tests of the build tools.

t/postconfigure/01-options.......................ok
t/postconfigure/02-data_slurp....................ok
t/postconfigure/03-revision......................ok
t/postconfigure/04-revision......................ok
t/postconfigure/05-trace.........................ok
t/postconfigure/06-data_slurp_temp...............ok
t/tools/pmc2cutils/00-qualify....................ok
t/tools/pmc2cutils/01-pmc2cutils.................ok
t/tools/pmc2cutils/02-find_file..................ok
t/tools/pmc2cutils/03-dump_vtable................ok
t/tools/pmc2cutils/04-dump_pmc...................ok
t/tools/pmc2cutils/05-gen_c......................ok
t/tools/pmc2cutils/06-print_tree.................ok
t/tools/pmc2cutils/07-open_file..................ok
t/tools/pmc2cutils/08-pmc-pm.....................ok
t/tools/ops2cutils/01-new........................ok
t/tools/ops2cutils/02-usage......................ok
t/tools/ops2cutils/03-print_c_header_file........ok
t/tools/ops2cutils/04-print_c_source_top.........ok
t/tools/ops2cutils/05-print_c_source_bottom......ok
t/tools/ops2cutils/06-dynamic....................ok
t/tools/ops2cutils/07-make_incdir................ok
t/tools/ops2cutils/08-nolines....................ok
t/tools/ops2cutils/09-dynamic_nolines............ok
t/tools/ops2pmutils/00-qualify...................ok
t/tools/ops2pmutils/01-ops2pmutils...............ok
t/tools/ops2pmutils/02-usage.....................ok
t/tools/ops2pmutils/03-new.......................ok
t/tools/ops2pmutils/04-prepare_ops...............ok
t/tools/ops2pmutils/05-renum_op_map_file.........ok
t/tools/ops2pmutils/06-load_op_map_files.........ok
t/tools/ops2pmutils/07-no_ops_skip...............ok
t/tools/ops2pmutils/08-sort_ops..................ok
t/tools/ops2pmutils/09-prepare_real_ops..........ok
t/tools/ops2pmutils/10-print_module..............ok
t/tools/ops2pmutils/11-print_h...................ok
t/tools/revision/01-get_revision_numbers.........ok
t/tools/revision/02-print_src....................ok
All tests successful.
Files=38, Tests=1137, 87 wallclock secs ( 1.16 usr  0.94 sys + 51.58 cusr  8.00 
csys = 61.68 CPU)
Result: PASS

Okay, we're done!

You can now use `make' to build your Parrot.
After that, you can use `make test' to run the test suite.

Happy Hacking,
        The Parrot Team

Reply via email to