diff options
author | Andy Dougherty <doughera@fractal.phys.lafayette.edu> | 1997-03-06 11:15:47 -0500 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-03-07 04:01:12 +1200 |
commit | 59ae47780c168857b216412f8354d10ae6dd0b61 (patch) | |
tree | aa5dbfb3aa66bf7586ea8a69bbf7e50ffc4b7cc7 | |
parent | 2f525a329506abe067c4ec9d4c7ae13d8b223081 (diff) | |
download | perl-59ae47780c168857b216412f8354d10ae6dd0b61.tar.gz |
Allow './Configure -Uoptimize'
Subject: Re: miniperl core dumps during build of 5.003_91 on Unisys SVR4
On Thu, 6 Mar 1997, Alan Burlison wrote:
> In-Reply-To: <memo.119650@cix.compulink.co.uk>
> > miniperl dumps core during the build on Unisys SVR4 version 1.4.
> Apparently there is a bug in the C compiler optimiser in this version
> of the OS. I'll attribute this problem to that, & just turn off
Our record in this regard is mixed, at best, I think. (Some
problems that appeared to be optimizer problems have been made to go
away by fixing possibly-related bugs in the perl source.) Still, if it
works . . . .
> debugging. I am using Configure -des -Doptimize=' ' to do that. Is
> this the best way? -Uoptimize causes Configure to die.
Oops. That's not nice. The way I do this is
sh Configure -Doptimize=none
though your way is quite fine too.
In general, there's no particular reason to expect optimize='undef' to
do what you want, but it's not hard to handle it gracefully either, so
we could apply this low-urgency but low-risk patch:
p5p-msgid: Pine.SOL.3.95q.970306110532.11070A-100000@fractal.lafayette.edu
private-msgid: Pine.SOL.3.95q.970306110532.11070A-100000@fractal.lafayette.
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3557,7 +3557,7 @@ $rm -f testcpp.c testcpp.out : determine optimize, if desired, or use for debug flag also case "$optimize" in -' ') dflt='none';; +' '|$undef) dflt='none';; '') dflt='-O';; *) dflt="$optimize";; esac |