I am CEO of Dionaea Corporation, a software company that designs performance monitoring tools for UNIX, and we have made the strategic decision to use the perlcc compiler as the hub of our code development. Overall this has been a good decision for us, but we have run into several snags with the compiler. Anyway, since we are so dependant upon the compiler, we felt that we are a prime user that could provide some insight as a user of the perl compiler. Anyway, we ran across a couple bugs that our developers wanted to have reported back to the perl developers. ---------------------------------------------------------------------- Perl Version : 5.005_62 OS Version : Solaris 7 C Compiler : GCC 2.95 Architecture : sun4m Description : "perlcc -gen -sav helloworld.pl" does not save C-code to helloworld.pl.c file. "perlcc helloworld.pl" does not compile, and helloworld.pl.c is a zero length file. ---------------------------------------------------------------------- Perl Version : 5.005_61 OS Version : Solaris 7 C Compiler : GCC 2.95 Architecture : sun4m Description : "perlcc test.pl" where the test.pl contains the following three lines of code fails to compile. #!/usr/local/bin/perl use IO; print "Hello World\n"; When the "use IO;" line is removed, code compiles. When the "use IO;" line is replaced with a different "use" directive, the code also compiles. The problem seems to involve the use of the IO module. Below is the output from the compilation: Compiling C(cp) for cp.pl! /usr/local/bin/perl -I/usr/local/lib/perl5/5.00561/sun4-solaris -I/usr/local/lib/perl5/5.00561 -I/usr/local/lib/site_perl/5.00561/sun4-solaris -I/usr/local/lib/site_perl -I. /tmp/cp.pl.tst gcc -O -I/usr/local/lib/perl5/5.00561/sun4-solaris/CORE -o cp cp.pl.c -L/usr/local/lib -L/usr/local/lib/perl5/5.00561/sun4-solaris/CORE -lperl -lsocket -lnsl -ldl -lm -lc -lcrypt -lsec /usr/local/lib/perl5/5.00561/sun4-solaris/auto/DynaLoader/DynaLoader.a /usr/local/lib/perl5/5.00561/sun4-solaris/auto/B/B.so /usr/local/lib/perl5/5.00561/sun4-solaris/auto/IO/IO.so /usr/local/lib/perl5/5.00561/sun4-solaris/auto/Socket/Socket.so /usr/local/lib/perl5/5.00561/sun4-solaris/auto/Fcntl/Fcntl.so gcc: Internal compiler error: program cc1 got fatal signal 11 ERROR: In compiling code for cp.pl.c ! ---------------------------------------------------------------------- David Falk Dionaea Corporation President and CEO Performance Monitoring Software (408) 588-1921 http://www.dionaea.net <dfalk@dionaea.net> PO Box 5254, Santa Clara, CA 95056 Message from the perl bug squashing team at 'perlbug@perl.org'