My Tinderbox client for 32-bit Solaris + 64-bit ints is entering an
infinite loop with this message:

> Determining C data type sizes by compiling and running a small C program
> (this could take a while):
>
>   Building ./test.c from test_c.in...
>
> Hmm, I see your chosen INTVAL isn't the same size as your pointers.
> Parrot should still compile and run, but you may see a ton of warnings.
> I'll give you a chance to change your INTVAL size.
>
> Use of uninitialized value in string eq at Configure.pl line 522.
>   Building ./test.c from test_c.in...
>
> Hmm, I see your chosen INTVAL isn't the same size as your pointers.
> Parrot should still compile and run, but you may see a ton of warnings.
> I'll give you a chance to change your INTVAL size.
>
> Use of uninitialized value in string eq at Configure.pl line 522.
>   Building ./test.c from test_c.in...
>
> Hmm, I see your chosen INTVAL isn't the same size as your pointers.
> Parrot should still compile and run, but you may see a ton of warnings.
> I'll give you a chance to change your INTVAL size.

And so on.

The problem is that automated build clients don't _want_ a chance to
change the INTVAL size.  I don't think this prompt should be here at all.
Just print the warning and get on with it.  If the user is concerned, they
can re-Configure.  Anyway, you should be able to compile in 32-bit mode
with 64 bits without being assulted by zillions of warnings.

This patch gets rid of the prompt:

Index: Configure.pl
===================================================================
RCS file: /home/perlcvs/parrot/Configure.pl,v
retrieving revision 1.99
diff -u -r1.99 Configure.pl
--- Configure.pl        18 Mar 2002 17:33:40 -0000      1.99
+++ Configure.pl        19 Mar 2002 15:23:24 -0000
@@ -495,8 +495,6 @@

 END

-RETRY:
-
 {
     my %newc;

@@ -514,12 +512,9 @@
     print <<"END";

 Hmm, I see your chosen INTVAL isn't the same size as your pointers.  Parrot should
-still compile and run, but you may see a ton of warnings.  I'll give you a chance
-to change your INTVAL size.
+still compile and run, but you may see a ton of warnings.

 END
-
-    goto RETRY unless $c{iv} eq prompt("What should your integer type be?", 'iv');

 print <<"END";


- D

<[EMAIL PROTECTED]>

Reply via email to