diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Storable/hints/linux.pl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/ext/Storable/hints/linux.pl b/ext/Storable/hints/linux.pl index 8ea0dc1346..ed80f8466c 100644 --- a/ext/Storable/hints/linux.pl +++ b/ext/Storable/hints/linux.pl @@ -1,13 +1,10 @@ -# gcc -O3 (and higher) can cause Storable.xs to produce code that +# gcc -O3 (and higher) can cause code produced from Storable.xs that # dumps core immediately in recurse.t and retrieve.t, in is_storing() # and last_op_in_netorder(), respectively. In both cases the cxt is # full of junk (and according to valgrind the cxt was never stack'd, -# malloc'd or free'd). Observed in Debian 3.0 x86, both with gccs -# 2.95.4 20011002 and 3.3. The failures are seen only for unthreaded -# builds, threaded builds work okay. +# malloc'd or free'd). Observed in Debian 3.0 x86, with gccs 2.95.4 +# 20011002 and 3.3, and in Redhat 7.1 with gcc 3.3.1. The failures +# happen only for unthreaded builds, threaded builds work okay. use Config; -$self->{OPTIMIZE} = '-O2' - if -f '/etc/debian_version' && - ($Config{gccversion} =~ /^2\.95\.4 20011002 / || - $Config{gccversion} eq '3.3'); +$self->{OPTIMIZE} = '-O2'; |