こんな感じの意味不明なコンパイルエラーで Net::SSLeay がインストールできなくなって困ってたんだけど、
/usr/bin/perl "-Iinc" local/perl-5.10.1/pm/lib/perl5/ExtUtils/xsubpp -typemap /usr/share/perl/5.10/ExtUtils/typemap -typemap typemap SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
cc -c -I/usr/include -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DVERSION=\"1.48\" -DXS_VERSION=\"1.48\" -fPIC "-I/usr/lib/perl/5.10/CORE" SSLeay.c
{standard input}: Assembler messages:
{standard input}:94001: Warning: end of file not at end of a line; newline inserted
{standard input}:94025: Error: open CFI at the end of file; missing .cfi_endproc directive
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[1]: *** [SSLeay.o] Error 1
システム (Debian) の Perl じゃなくて自前でコンパイルした Perl (どっちも 5.10.1) にしたらちゃんとコンパイルできた。わけわからん。