Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compiling perl-5.12.1 with gcc-7.5.0 and -O2 fails for some tests: +op/range.t ........................................................ # Failed at op/range.t line 289 +op/numconvert.t ................................................... Failed 12/1440 subtests Theses test don't fail, however, with -O0. So it is assumed that the perl code contains undefined behaviour which a more recent compiler uses for optimizations. The tests also succeed when perl is compiled with gcc 4.5.1 which was used to create the perl installation in /usr/local. We want best performance and maximal compatibility with the perl version from /usr/local. Use the old gcc compiler. We use the old gcc compiler only for perl itself, not for cpan modules. Some of these required c++. Also the cpan modules are kept up to date and bugs which surfaced by changes in the compiler are fixed.