From: Gurusamy Sarathy Date: Fri, 28 Apr 2000 09:06:36 +0000 (+0000) Subject: posix-bc patches (from Dorner Thomas ) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c8e8bf6a4feca6a069b306dce3bede9ce9da14ca;p=p5sagit%2Fp5-mst-13.2.git posix-bc patches (from Dorner Thomas ) p4raw-id: //depot/perl@5991 --- diff --git a/README.posix-bc b/README.posix-bc index 34bcad7..1105f67 100644 --- a/README.posix-bc +++ b/README.posix-bc @@ -92,25 +92,21 @@ We build perl using both GNU make and the native make. TESTING: ======== -We still got a few errors during 'make test'. Most of them are the +We still got a few errors during 'make test'. Some of them are the result of using bison. Bison prints 'parser error' instead of 'syntax -error', so we may ignore them. One error in the test op/regexp (and -op/regexp_noamp) seems a bit critical, the result was an 'Out of -memory' (core dump with op/regexp_noamp). The following list shows +error', so we may ignore them. The following list shows our errors, your results may differ: -op/misc.............FAILED tests 45-46 -op/pack.............FAILED tests 58-60 -op/regexp...........FAILED tests 405-492 (core dump) -op/regexp_noamp.....FAILED tests 405-492 (core dump) +op/numconvert.......FAILED tests 1409-1440 +op/regexp...........FAILED tests 483, 496 +op/regexp_noamp.....FAILED tests 483, 496 pragma/overload.....FAILED tests 152-153, 170-171 -pragma/subs.........FAILED tests 1-2 -pragma/warning......FAILED tests 121, 127, 130, 142 -lib/cgi-html........dubious, FAILED tests 1-17 (ALL) -lib/complex.........FAILED tests 264, 484 -lib/dumper..........FAILED tests MANY -Failed 7/190 test scripts, 96.32% okay. 234/6549 subtests failed, 96.43% okay. - +pragma/warnings.....FAILED tests 14, 82, 129, 155, 192, 205, 207 +lib/bigfloat........FAILED tests 351-352, 355 +lib/bigfltpm........FAILED tests 354-355, 358 +lib/complex.........FAILED tests 267, 487 +lib/dumper..........FAILED tests 43, 45 +Failed 11/231 test scripts, 95.24% okay. 57/10595 subtests failed, 99.46% okay. INSTALLING: =========== diff --git a/hints/posix-bc.sh b/hints/posix-bc.sh index ec21bc3..2e46b8c 100644 --- a/hints/posix-bc.sh +++ b/hints/posix-bc.sh @@ -6,19 +6,19 @@ # thanks to the authors of the os390.sh # -# To get ANSI C, we need to use c89, and ld doesn't exist +# To get ANSI C, we need to use c89, and ld does not exist cc='c89' ld='c89' # C-Flags: -ccflags='-DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED' +ccflags='-K enum_long,llm_case_lower,llm_keep,no_integer_overflow -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED' # Flags on a RISC-Host (SUNRISE): if [ -n "`bs2cmd SHOW-SYSTEM-INFO | egrep 'HSI-ATT.*TYPE.*SR'`" ]; then echo echo "Congratulations, you are running a machine with Sunrise CPUs." echo "Let's hope you have the matching RISC compiler as well." - ccflags='-K risc_4000 -DPOSIX_BC -DUSE_PURE_BISON -D_XOPEN_SOURCE_EXTENDED' + ccflags="-K risc_4000 $ccflags" ldflags='-K risc_4000' fi @@ -30,7 +30,7 @@ so='none' usedl='no' dlext='none' -# On BS2000/Posix, libc.a doesn't really hold anything at all, +# On BS2000/Posix, libc.a does not really hold anything at all, # so running nm on it is pretty useless. usenm='no'