The issue you reported has been documented at : http://search.cpan.org/~rjbs/perl-5.16.0/pod/perldelta.pod#Removed_Modules_and_Pragmata
I havent yet tested the work around given there, will get back on this. Thanks for bringing this to my notice.
Thank you very much. This worked. But I had two more little problems that I could solve (I use gcc-4.7.1 on Slackware64-current)
/d1/x86_open64-4.5.2/osprey/../osprey/be/opt/opt_emit.cxx:1760:46: error: '_SC_CLK_TCK' was not declared in this scope
/d1/x86_open64-4.5.2/osprey/../osprey/be/opt/opt_emit.cxx:1760:57: error: 'sysconf' was not declared in this scope
This was solved by adding
g++: error: unrecognized command line option '-CG:all_sched=0'
This was solved by commenting 'OPTIMIZER += -CG:all_sched=0" in osprey/ipa/local/Makefile.gbase
Both these issues have been documented in gcc release notes. I have fixed the first one already and the second one is known issue. Let me know if you have any other issue/concern.