I began by running configuration with tests.  Specifically:

#!/bin/sh
CC="/usr/bin/gcc-3.3"
CX="/usr/bin/g++-3.3"
/usr/local/bin/perl Configure.pl --cc="$CC" --cxx="$CX" --link="$CX" \
    --ld="$CX" --without-icu --without-gmp \
    --test \
    --configure_trace \
    $@

... which is the way I always proceed on my iBook.

All of the t/steps/auto_warnings*.t tests failed at the same point.

Failed Test                Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/steps/auto_warnings-01.t    7  1792    22   14  16-22
t/steps/auto_warnings-02.t    7  1792    22   14  16-22
t/steps/auto_warnings-03.t    7  1792    22   14  16-22
t/steps/auto_warnings-04.t    8  2048    23   16  16-23
t/steps/auto_warnings-05.t    8  2048    23   16  16-23
t/steps/auto_warnings-06.t    9  2304    24   18  16-24
t/steps/auto_warnings-07.t    7  1792    22   14  16-22
t/steps/auto_warnings-08.t    8  2048    23   16  16-23

Here's the output of 'prove -v' on the first:

[parrot] 509 $ prove -v t/steps/auto_warnings-01.t 
t/steps/auto_warnings-01....1..22
ok 1 - use config::init::defaults;
ok 2 - use config::init::hints;
ok 3 - use config::inter::progs;
ok 4 - use config::auto::warnings;
ok 5 - init::defaults constructor returned defined value
ok 6 - The object isa init::defaults
ok 7 - init::defaults has description
ok 8 - init::defaults runstep() returned defined value
ok 9 - init::hints constructor returned defined value
ok 10 - The object isa init::hints
ok 11 - init::hints has description
ok 12 - init::hints runstep() returned defined value
ok 13 - inter::progs constructor returned defined value
ok 14 - The object isa inter::progs
ok 15 - inter::progs has description
Compilation failed with 'cc'
# Looks like you planned 22 tests but only ran 15.
dubious
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 16-22
        Failed 7/22 tests, 68.18% okay
Failed Test                Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/steps/auto_warnings-01.t  255 65280    22   14  16-22
Failed 1/1 test scripts. 7/22 subtests failed.
Files=1, Tests=22,  5 wallclock secs ( 0.34 cusr +  0.21 csys =  0.55 CPU)
Failed 1/1 test programs. 7/22 subtests failed.


So the patch is causing the call to inter::progs in this test to fail. 
Now, this could be due to defect in the construction of the test -- as
Andy Dougherty has pointed out >1 times and as I hope eventually to fix.
 But I then tried configuration without the --test option.  This was my
result:

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...Compilation failed with
'/usr/bin/gcc-3.3'

Here's the output with -verbose-step=7 (inter::progs).

Determining what C compiler and linker to use...
 ccflags: -fno-common -no-cpp-precomp  -pipe -I/usr/local/include -pipe
-fno-common -Wno-long-double 
/usr/bin/gcc-3.3 -fno-common -no-cpp-precomp  -pipe -I/usr/local/include
-pipe -fno-common -Wno-long-double   -I./include -c test.c
/usr/bin/g++-3.3 -undefined dynamic_lookup test.o  -o test  -lm
ld: flag: -undefined dynamic_lookup can't be used with
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
Compilation failed with '/usr/bin/gcc-3.3'

So the patch prevents me from building with the C-compiler I know I have
to use.  Back to the drawing boards.


Reply via email to