Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two bugs to report #774

Closed
p5pRT opened this issue Oct 22, 1999 · 1 comment
Closed

Two bugs to report #774

p5pRT opened this issue Oct 22, 1999 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Oct 22, 1999

Migrated from rt.perl.org#1698 (status was 'resolved')

Searchable as RT1698$

@p5pRT
Copy link
Author

p5pRT commented Oct 22, 1999

From dfalk@dionaea.net


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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant