From: Bill Glicker Date: Fri, 5 Sep 1997 00:00:00 +0000 (+0000) Subject: SCO Openserver 5.0.4 - add comment to hint file re compiler bug X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dc53cb16caf275be0324ed5c064205ac962ecbf3;p=p5sagit%2Fp5-mst-13.2.git SCO Openserver 5.0.4 - add comment to hint file re compiler bug Perl 5.004_02 successfully compiles and passes all tests under SCO Openserver 5.0.4p. However, there is a bug in the Optimizing C Compiler (ver 2.1.4d). When using icc as the compiler, optimization must either be turned off or set to "-O0" -- otherwise the "pack" tests fail. The bug has been reported to SCO. p5p-msgid: Pine.SCO.3.96.970811153021.18457A-100000@laura.burrelles.com --- diff --git a/hints/sco.sh b/hints/sco.sh index 6062fbe..cef1c0c 100644 --- a/hints/sco.sh +++ b/hints/sco.sh @@ -67,6 +67,7 @@ icc)# Apparently, SCO's cc gives rather verbose warnings 3) ccflags="$ccflags -W0 -quiet -U M_XENIX" ;; 5) ccflags="$ccflags -belf -w0 -U M_XENIX" optimize="-O1" # -g -O1 will not work + # optimize="-O0" may be needed for pack test to pass. lddlflags='-G -L/usr/local/lib' ldflags=' -W l,-Bexport -L/usr/local/lib' dlext='so'