#2031: Configure.pl bug in Gentoo
-----------------------+----------------------------------------------------
 Reporter:  dukeleto   |       Owner:       
     Type:  bug        |      Status:  new  
 Priority:  normal     |   Milestone:       
Component:  configure  |     Version:  3.1.0
 Severity:  medium     |    Keywords:       
     Lang:             |       Patch:       
 Platform:             |  
-----------------------+----------------------------------------------------

Comment(by donpdonp):

 auto::va_ptr -        Test the type of va_ptr...
 i686-pc-linux-gnu-gcc  -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_GNU_SOURCE -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED
 -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN
 -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
 -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DVA_TYPE_STACK -I./include -c
 test_8367.c
 i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -Wl,-E
 test_8367.o  -o test_8367  -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt
 ./test_8367
 i686-pc-linux-gnu-gcc  -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
 -D_GNU_SOURCE -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED
 -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN
 -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED
 -DHASATTRIBUTE_WARN_UNUSED_RESULT  -DVA_TYPE_REGISTER -I./include -c
 test_8367.c
 i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -Wl,-E
 test_8367.o  -o test_8367  -lnsl -ldl -lm -lcrypt -lutil -lpthread -lrt
 ./test_8367

 step auto::va_ptr died during execution: Unknown va_ptr type at
 config/auto/va_ptr.pm line 41.

  at Configure.pl line 77

 auto::format -        What formats should be used for sprintf...
 Setting Configuration Data:
 (
         verbose => undef,
 );
 .........done.
 --- snip end ---

 I think you're probably right about Configure.pl hiding the error message
 of 'illegal instruction', which is the indicator that gcc is missing the
 arch flag.

 I tried running Configure.pl again with CFLAGS set but the output is the
 same as above (calling gcc with no -march=c3)

 donp@tower ~/src/parrot/parrot-3.1.0 $ CFLAGS=-march=c3 perl Configure.pl
 --verbose-step=auto::va_ptr

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/2031#comment:3>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to