[Also sent to the gentoo-dev mailing list] Are there any perl guru's on this list?
I having problems recompiling perl on my Gentoo box and I'm trying to determine what the problem is and how to fix it. Basically, I decided to recompile the software on my box to use the -O2 optimization flag instead of -O3. However, whenever I do an 'emerge =dev-lang/perl-5.8.0-r12', the compiling process ends up crashing my system. I have narrowed it down to the 'make test' portion of the process and the test that is crashing the box is lib/Config. When perl runs that test it appears to go into an infinite loop allocating memory, eventually the box runs out of swap space and the kernel starts killing off processes and I end up having to reboot the box. As as test I temporarily created a 2 gig swap file and the emerge still ran out of memory. I tried changing my cflags back to the original setiing and I still get the same results. By running the test manually from the /var/tmp/portage/perl*/work directory, I have determined that the test doesn't like the Config.pm file that was configured. If I copy over my existing Config.pm and run the test manually it works, but if I use the one created during the configure and compile process, I get the problem listed above. A diff of the two Config.pm files doesn't show anything that jumps out at me. I have google'd high and low and I can't find anything with somebody having a similar issue I'm hesitant to create a bug in bugzilla at this time as I don't have any other information to determine problem. So if there is anyone that has any pointers on where to start debugging further, I would highly appreciate it. I can supply copies of the Config.pm files on request. This one is really bugging me as there should be no reason for perl to compile successfully at install and then fail to compile properly on the same box. Regards, Paul -- [EMAIL PROTECTED] mailing list