From 917ed4d379013add8129f29f8584f12c4a7e4454 Mon Sep 17 00:00:00 2001 From: espie Date: Thu, 9 Sep 1999 14:25:11 +0000 Subject: [PATCH] Update to 990907, including i386 test results, - use contrib/egcs-update instead of rolling our own, - autoreconf does not perform as I expected, autoconf does. --- lang/egcs/snapshot/Makefile | 23 +++--- lang/egcs/snapshot/files/PLIST.template | 2 +- .../files/config/gcc/config/mips/openbsd.h | 4 + lang/egcs/snapshot/files/fixdepend | 21 ----- lang/egcs/snapshot/files/md5 | 45 +++++++++++ lang/egcs/snapshot/files/tests/i386.readme | 79 +++++++++++-------- lang/egcs/snapshot/patches/patch-core-iberty | 27 +++++++ .../snapshot/patches/patch-g++-libversion | 2 +- lang/egcs/snapshot/patches/patch-g77-notmpnam | 67 ++++++++++++++++ 9 files changed, 204 insertions(+), 66 deletions(-) delete mode 100644 lang/egcs/snapshot/files/fixdepend create mode 100644 lang/egcs/snapshot/patches/patch-core-iberty create mode 100644 lang/egcs/snapshot/patches/patch-g77-notmpnam diff --git a/lang/egcs/snapshot/Makefile b/lang/egcs/snapshot/Makefile index 13a31a1f5bd..dc464ed801a 100644 --- a/lang/egcs/snapshot/Makefile +++ b/lang/egcs/snapshot/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.55 1999/09/07 15:04:02 espie Exp $ +# $OpenBSD: Makefile,v 1.56 1999/09/09 14:25:11 espie Exp $ # This is a configuration file for egcs, snapshot flavor # PLEASE use the regular egcs-stable for serious work, resort to this one @@ -7,8 +7,6 @@ # it only works right with a recent bsd.port.mk. NEED_VERSION=1.73 -BROKEN="latest (990830) snapshot is broken, but cvs-current works" - # we could remove this dependency by patching configure, but this is not # reasonable... BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf @@ -33,12 +31,13 @@ MIRROR_DISTFILE=no # cygnus packaging scheme is now working, though it is weird. # namely, testsuite holds all the tests. g++-tests no longer exists, # and g77-tests only holds duplicates from the main testsuite archive. -#MAKE_TESTS=yes -#MAKE_GXX=yes -#MAKE_FORTRAN=yes +MAKE_TESTS=yes +MAKE_GXX=yes +MAKE_FORTRAN=yes +# chill is temporarily broken #MAKE_CHILL=yes -#MAKE_OBJC=yes -#MAKE_JAVA=yes +MAKE_OBJC=yes +MAKE_JAVA=yes .if defined(MAKE_TESTS) BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu @@ -48,7 +47,7 @@ BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu ONE_ARCHIVE=yes -LATEST_DATE=1999-08-30 +LATEST_DATE=1999-09-07 #### fetch section # configuration is built so that you can test the next snapshot easily, @@ -56,7 +55,7 @@ LATEST_DATE=1999-08-30 # You also may have to remove/add some patches, as these things ARE # usually passed along to the egcs ml. -#NEXT_DATE=1999-06-29 +#NEXT_DATE=1999-09-07 #PATCH_DEBUG=yes LATEST != echo ${LATEST_DATE} | sed -e s/-//g; @@ -254,8 +253,8 @@ post-patch: cd ${WRKSRC} && contrib/gcc_update --touch # rebuild configure files after patching, then move source around !!! # XXX: don't try to autoconf the main configure file, it's not autoconf. - cd ${WRKSRC}/gcc && PATH=${PORTPATH} autoreconf - cd ${WRKSRC}/libiberty && PATH=${PORTPATH} autoreconf + cd ${WRKSRC}/gcc && PATH=${PORTPATH} autoconf + cd ${WRKSRC}/libiberty && PATH=${PORTPATH} autoconf diff --git a/lang/egcs/snapshot/files/PLIST.template b/lang/egcs/snapshot/files/PLIST.template index e2f0bbf5f96..96c50c15835 100644 --- a/lang/egcs/snapshot/files/PLIST.template +++ b/lang/egcs/snapshot/files/PLIST.template @@ -73,7 +73,7 @@ lib/gcc-lib/ARCH/VERSION/include/new lib/gcc-lib/ARCH/VERSION/include/new.h lib/libstdc++.a.2.10.0 ifdef(`DYNAMIC', -lib/libstdc++.so.30.0 +lib/libstdc++.so.31.0 lib/libstdc++.so.2.10.0 lib/gcc-lib/ARCH/VERSION/libstdc++.so lib/gcc-lib/ARCH/VERSION/libstdc++.a diff --git a/lang/egcs/snapshot/files/config/gcc/config/mips/openbsd.h b/lang/egcs/snapshot/files/config/gcc/config/mips/openbsd.h index 0d559a72dad..a372a887323 100644 --- a/lang/egcs/snapshot/files/config/gcc/config/mips/openbsd.h +++ b/lang/egcs/snapshot/files/config/gcc/config/mips/openbsd.h @@ -45,6 +45,10 @@ Boston, MA 02111-1307, USA. */ #define OBSD_HAS_CORRECT_SPECS #include +/* mips assembler uses .set for arcane purposes. __attribute__((alias)) + and friends won't work until we get recent binutils with .weakext + support. */ +#undef SET_ASM_OP /* Run-time target specifications. */ #if TARGET_ENDIAN_DEFAULT != 0 diff --git a/lang/egcs/snapshot/files/fixdepend b/lang/egcs/snapshot/files/fixdepend deleted file mode 100644 index 480b0570348..00000000000 --- a/lang/egcs/snapshot/files/fixdepend +++ /dev/null @@ -1,21 +0,0 @@ -gcc/c-parse.y -gcc/cstamp-h.in -gcc/c-gperf.h -gcc/c-parse.c -gcc/c-parse.h -gcc/cexp.c -gcc/cp/parse.c -gcc/cp/parse.h -gcc/objc/objc-parse.c -gcc/objc/objc-parse.y -gcc/java/parse.h -gcc/java/parse.c -gcc/java/parse-scan.c -libf2c/libU77/stamp-h.in -contrib/fixinc/fixincl.x -contrib/fixinc/inclhack.sh -contrib/fixinc/fixincl.sh -gcc/fixinc/fixincl.x -gcc/fixinc/inclhack.sh -gcc/fixinc/fixincl.sh - diff --git a/lang/egcs/snapshot/files/md5 b/lang/egcs/snapshot/files/md5 index 9dfdd69032f..bcb44bb9146 100644 --- a/lang/egcs/snapshot/files/md5 +++ b/lang/egcs/snapshot/files/md5 @@ -1,63 +1,108 @@ MD5 (egcs/egcs-19990808.tar.gz) = b2b46638e4f6e82e08d5fcfe7abd3d86 MD5 (egcs/egcs-19990824.tar.gz) = 1777c870cecd2f08c94474e1ceb40d4a +MD5 (egcs/egcs-19990830-19990907.diff.gz) = e2fa07e9ef2050f8d8288932efe0e3ba MD5 (egcs/egcs-19990830.tar.gz) = eb9a3cc28c153b90520e5b8cc6aee0db +MD5 (egcs/egcs-19990907.tar.gz) = b69c20c4709c6a1923b190797b395718 MD5 (egcs/egcs-chill-19990808.tar.gz) = 03142461d1c17812bb1a7c6f3f3bfb6d MD5 (egcs/egcs-chill-19990824.tar.gz) = 40917a49e8d1ddb21fe54f94d1e1b369 +MD5 (egcs/egcs-chill-19990830-19990907.diff.gz) = a3760edef8f73b848611a6688b3b314a MD5 (egcs/egcs-chill-19990830.tar.gz) = 0c77517253889d833f271b28b3a57b6f +MD5 (egcs/egcs-chill-19990907.tar.gz) = 2c6a7e720d008fce581d03b321471887 MD5 (egcs/egcs-core-19990808.tar.gz) = ce793e534db138f1228e0256a81dfd6a MD5 (egcs/egcs-core-19990824.tar.gz) = 86cebb35b0ee1ba08e5d49bd72577ca4 +MD5 (egcs/egcs-core-19990830-19990907.diff.gz) = ac591d3c8faf0ded25c6fc47f3eccf24 MD5 (egcs/egcs-core-19990830.tar.gz) = 6a85d522f368f301ba64d9ebe4ea196f +MD5 (egcs/egcs-core-19990907.tar.gz) = 3ea185f2160d37d4642e43c5790728e2 MD5 (egcs/egcs-g++-19990808.tar.gz) = a3881301cfa388b42a4d70ec4574ff45 MD5 (egcs/egcs-g++-19990824.tar.gz) = 814367c2590221c6089ea001ab3f18a1 +MD5 (egcs/egcs-g++-19990830-19990907.diff.gz) = 3b90c07c52b8141c61809eaf35ed77e8 MD5 (egcs/egcs-g++-19990830.tar.gz) = f9a674b5c8c5298d3a11b152a48ad430 +MD5 (egcs/egcs-g++-19990907.tar.gz) = df1a707bf4828796a8e37e720f3e537e MD5 (egcs/egcs-g77-19990808.tar.gz) = e71e3ae219ac104a9b082702fcf3124a MD5 (egcs/egcs-g77-19990824.tar.gz) = 131b269382aeeba14285c73bbefebbd2 +MD5 (egcs/egcs-g77-19990830-19990907.diff.gz) = decf1274cee7dd9a48b22fc13675dc24 MD5 (egcs/egcs-g77-19990830.tar.gz) = 6cd7b2bd494f7d7018af07d5f3f78847 +MD5 (egcs/egcs-g77-19990907.tar.gz) = 427368f23412fe44c312d21d66180104 MD5 (egcs/egcs-java-19990808.tar.gz) = d3c5e59bbb4ccc466c403617826ea64c MD5 (egcs/egcs-java-19990824.tar.gz) = dbe6d831d393660615fadb3a17b3b405 +MD5 (egcs/egcs-java-19990830-19990907.diff.gz) = 09f846554e7cdcd600bf0860b83b69ba MD5 (egcs/egcs-java-19990830.tar.gz) = 74601a42084c679f363c7cfcc4bccc5c +MD5 (egcs/egcs-java-19990907.tar.gz) = 4747d2e1cfea13aa7e19ffd7b957f827 MD5 (egcs/egcs-objc-19990808.tar.gz) = 2566a3372b124f4b581004765924fee0 MD5 (egcs/egcs-objc-19990824.tar.gz) = bfc49835762aa807e16f16201281bc60 +MD5 (egcs/egcs-objc-19990830-19990907.diff.gz) = 824574530c7870feddf7421b12baa589 MD5 (egcs/egcs-objc-19990830.tar.gz) = a94e42f6a7dff26dd3d8c13942582bd2 +MD5 (egcs/egcs-objc-19990907.tar.gz) = 4626ead587e39fd2e489db6c8871024e +MD5 (egcs/egcs-tests-19990830-19990907.diff.gz) = 39d407e9a8d62e1e2e8345a0207880a7 RMD160 (egcs/egcs-19990808.tar.gz) = cfce8091623077660bc18d32c099686af588d0dc RMD160 (egcs/egcs-19990824.tar.gz) = f7cc3d41bed23503c3bbd3efc4d774450c54a6f0 +RMD160 (egcs/egcs-19990830-19990907.diff.gz) = 1fc60d30372a20d0291782facd4028d12d362b56 RMD160 (egcs/egcs-19990830.tar.gz) = 2a3e91c865b41fa29e4dc3f1c206e011812ee65f +RMD160 (egcs/egcs-19990907.tar.gz) = d54de604f4f22d334db6539b58239e8c986d62b8 RMD160 (egcs/egcs-chill-19990808.tar.gz) = a717848fd3d8ec78c6170302c5e53bfd8bf0813f RMD160 (egcs/egcs-chill-19990824.tar.gz) = 837df8a00c0731c736fe8e6bf1aff1e79de3639d +RMD160 (egcs/egcs-chill-19990830-19990907.diff.gz) = 433c92c3faeb4e9664bfda0c9c810b3c713b198e RMD160 (egcs/egcs-chill-19990830.tar.gz) = 22f183f420b708b3a650a5645af90379fa1d7d18 +RMD160 (egcs/egcs-chill-19990907.tar.gz) = d5eadf9294772c82dbb95fe5dfed4ee844c72e1c RMD160 (egcs/egcs-core-19990808.tar.gz) = f05547f85ee6c693850ec6c619c7ca63ea4ff0f8 RMD160 (egcs/egcs-core-19990824.tar.gz) = 3ac15251012223f40a2fc03994f145d22c406e40 +RMD160 (egcs/egcs-core-19990830-19990907.diff.gz) = 58c3d005a4d81baf901e4cc5105a2ac717567ae2 RMD160 (egcs/egcs-core-19990830.tar.gz) = b7f9e94421a42a3ef960cab010bb3a161698f811 +RMD160 (egcs/egcs-core-19990907.tar.gz) = 0e3e3db9a606f6369eabc27b22131ba6fcdc95b6 RMD160 (egcs/egcs-g++-19990808.tar.gz) = 653420f771be7d145bf2ba02cea71b5bec1af2d2 RMD160 (egcs/egcs-g++-19990824.tar.gz) = a2956d1774e1d5dd855138f9bcd772e8b90bd648 +RMD160 (egcs/egcs-g++-19990830-19990907.diff.gz) = 7063c52170cc2b7ea23656e8af383f8d271db440 RMD160 (egcs/egcs-g++-19990830.tar.gz) = 2cc8b2c1df9bacefb2d84893d437cc5bbade769f +RMD160 (egcs/egcs-g++-19990907.tar.gz) = 0e4ac27806f8388e833d7e06090e2e52f8181eea RMD160 (egcs/egcs-g77-19990808.tar.gz) = d22b1f5348736ea0cbade98c17d9d115df78262f RMD160 (egcs/egcs-g77-19990824.tar.gz) = f4b818459fc938f95aaac537ea375c6e36e480d1 +RMD160 (egcs/egcs-g77-19990830-19990907.diff.gz) = 05f4d67a6a486bd104b807e0c930ffb0e81fff1c RMD160 (egcs/egcs-g77-19990830.tar.gz) = 22e116b9dfbe64058556f4c27489e30e0822ed6f +RMD160 (egcs/egcs-g77-19990907.tar.gz) = c6a09fafa03bf6595444ade4a5971dd5d6cf8a80 RMD160 (egcs/egcs-java-19990808.tar.gz) = f69f0376d79bfbe4ee6c223fa3006f445ad33db0 RMD160 (egcs/egcs-java-19990824.tar.gz) = 6dd71b6b9def33f1b0e540c78ee44d0fe421afcb +RMD160 (egcs/egcs-java-19990830-19990907.diff.gz) = c6511726d88e146787d6834fb821a988151ba691 RMD160 (egcs/egcs-java-19990830.tar.gz) = 4f22f54b728e110eaae6e1395e88e8c6590bb965 +RMD160 (egcs/egcs-java-19990907.tar.gz) = cf3973521728a0d957ede3d027b90c3395071c87 RMD160 (egcs/egcs-objc-19990808.tar.gz) = 589f05b6b539303630b75fd2a851c4cecd7f1a64 RMD160 (egcs/egcs-objc-19990824.tar.gz) = 029a53c7e1fd3eddeb2ac9c9656e62d8eb468f72 +RMD160 (egcs/egcs-objc-19990830-19990907.diff.gz) = caa47855c331abfdee09be54aa313133c2be12ea RMD160 (egcs/egcs-objc-19990830.tar.gz) = 69dca45f0b1121eb9ac6548a539c591ccf38e1a6 +RMD160 (egcs/egcs-objc-19990907.tar.gz) = 0260a70efc2aed28f8a0b609eb8307a1733bc3ca +RMD160 (egcs/egcs-tests-19990830-19990907.diff.gz) = 04558597e73e9f899d5152b2cd171e617c248342 SHA1 (egcs/egcs-19990808.tar.gz) = 262103092b44d312aac64d9dddba08e51cb29814 SHA1 (egcs/egcs-19990824.tar.gz) = adb3b12a152cfba9846b30da173854cfba3fd55c +SHA1 (egcs/egcs-19990830-19990907.diff.gz) = c05efc52db53f8ea583b169d45c760a8f767f954 SHA1 (egcs/egcs-19990830.tar.gz) = 89004992dcf396914c496ee86120215ab1e631b3 +SHA1 (egcs/egcs-19990907.tar.gz) = 0367e1f30e5f1ffab95291a33412657ab64f7cb8 SHA1 (egcs/egcs-chill-19990808.tar.gz) = 2d0207e5836cd36864723c2d1bc993c2ce82a4b1 SHA1 (egcs/egcs-chill-19990824.tar.gz) = 6e7e5a1c09710c72697adcf839ffc9141acddad2 +SHA1 (egcs/egcs-chill-19990830-19990907.diff.gz) = 1fc12ea0688944e5df6495645146b8b3d81a0b0a SHA1 (egcs/egcs-chill-19990830.tar.gz) = 89f7a5ddb23048187b4c4d93c3af758c117cbde1 +SHA1 (egcs/egcs-chill-19990907.tar.gz) = c611aac3bf22ff1f31140e601ba45f4cb38df20f SHA1 (egcs/egcs-core-19990808.tar.gz) = 8d91d8475210d07a918f0ffbef2dd6bd76592966 SHA1 (egcs/egcs-core-19990824.tar.gz) = af5f42558adf4eb433d7522e7e6266ab0804fd2a +SHA1 (egcs/egcs-core-19990830-19990907.diff.gz) = 7d60ef14aec6ea6cf2b54f1bd389a50d0ad67f62 SHA1 (egcs/egcs-core-19990830.tar.gz) = 4cf08c0cfdc00f9d5bb6fddd5cc53fdb4a1bef01 +SHA1 (egcs/egcs-core-19990907.tar.gz) = ba22bc678a3ff0972f001eaffb5c9c955a7ccf4b SHA1 (egcs/egcs-g++-19990808.tar.gz) = d11f76a0646d21ef21eaca0ab2f7f07dded613e1 SHA1 (egcs/egcs-g++-19990824.tar.gz) = 26d754074af1da5252fc92c304eb9fa93f807ca9 +SHA1 (egcs/egcs-g++-19990830-19990907.diff.gz) = 1c184834e941eb6a4868551244e84a6e4cd2b478 SHA1 (egcs/egcs-g++-19990830.tar.gz) = f8586cfee8894318a46e969e6035d827c77b11d1 +SHA1 (egcs/egcs-g++-19990907.tar.gz) = a7d2902982506ab66469c68ed8b6bb458fb8eb7a SHA1 (egcs/egcs-g77-19990808.tar.gz) = 142f19b83e51e9342b35a20e9bb98459ff307f14 SHA1 (egcs/egcs-g77-19990824.tar.gz) = 03f985da250f98c063f7803b2dd2a3c9c3308671 +SHA1 (egcs/egcs-g77-19990830-19990907.diff.gz) = 9d7ad8723551d0c4e4563c361a0a7324a194d8be SHA1 (egcs/egcs-g77-19990830.tar.gz) = 1f9e149cdf0709133b63b5ce925638acc7459e90 +SHA1 (egcs/egcs-g77-19990907.tar.gz) = 7a41dc1da68b4edd60efbac931b6c839b6a253b9 SHA1 (egcs/egcs-java-19990808.tar.gz) = d9083a6579c0c58627942537c4380138079ea40f SHA1 (egcs/egcs-java-19990824.tar.gz) = 133b92ee761a52a5916d9e3d0b9cb6557ae0ef08 +SHA1 (egcs/egcs-java-19990830-19990907.diff.gz) = b462a6bb28b93e663fa92a1123246c9807ef1e65 SHA1 (egcs/egcs-java-19990830.tar.gz) = 746e82f33c4f8c3b67063c77504178f7b15d6b7c +SHA1 (egcs/egcs-java-19990907.tar.gz) = 8fcbd5ea57af69f3fe6a4f62546f27ab4dc44e7e SHA1 (egcs/egcs-objc-19990808.tar.gz) = 4f2054f40e6f3f7fcb9c7b0b9f45a1a579dbc191 SHA1 (egcs/egcs-objc-19990824.tar.gz) = fa29ddfa21753f9e00698fd947a7b349db035ab2 +SHA1 (egcs/egcs-objc-19990830-19990907.diff.gz) = 0c83112d60608f6d0e5245aafced02df707cb4a8 SHA1 (egcs/egcs-objc-19990830.tar.gz) = 8bc2bc20e3eb3ed98e354afb9ed0c6f7dff28230 +SHA1 (egcs/egcs-objc-19990907.tar.gz) = 01a96d77e054d6e01b80a53eefbbd3d50d7aa943 +SHA1 (egcs/egcs-tests-19990830-19990907.diff.gz) = c9352492cdcd8679376b10dd57a31c2ac04ecf30 diff --git a/lang/egcs/snapshot/files/tests/i386.readme b/lang/egcs/snapshot/files/tests/i386.readme index edcc49830fb..936058a19c8 100644 --- a/lang/egcs/snapshot/files/tests/i386.readme +++ b/lang/egcs/snapshot/files/tests/i386.readme @@ -20,61 +20,78 @@ Running target unix Running target unix -FAIL: gcc.c-torture/execute/loop-2b.c execution, -O2 -FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer -FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer -funroll-loops -FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions -FAIL: gcc.c-torture/execute/loop-2b.c execution, -O3 -g +FAIL: gcc.c-torture/compile/990801-2.c, -O1 +FAIL: gcc.c-torture/compile/990801-2.c, -O2 +FAIL: gcc.c-torture/compile/990801-2.c, -O3 -fomit-frame-pointer +FAIL: gcc.c-torture/compile/990801-2.c, -O3 -fomit-frame-pointer -funroll-loops +FAIL: gcc.c-torture/compile/990801-2.c, -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions +FAIL: gcc.c-torture/compile/990801-2.c, -Os +FAIL: gcc.c-torture/execute/990829-1.c execution, -O2 +FAIL: gcc.c-torture/execute/990829-1.c execution, -Os FAIL: gcc.c-torture/execute/ieee/rbug.c execution, -O0 FAIL: gcc.c-torture/execute/ieee/rbug.c execution, -O1 FAIL: gcc.c-torture/execute/ieee/rbug.c execution, -O2 FAIL: gcc.c-torture/execute/ieee/rbug.c execution, -Os -FAIL: gcc.dg/980414-1.c (test for excess errors) -FAIL: gcc.dg/990119-1.c execution test +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c +FAIL: gcc.c-torture/noncompile/920923-1.c FAIL: gcc.dg/cast-qual-1.c discarding \`const' warning (test for bogus messages, line 11) FAIL: gcc.dg/cast-qual-1.c discarding \`const' warning (test for warnings, line 17) -FAIL: gcc.dg/compare1.c (test for excess errors) -FAIL: gcc.dg/special/weak-1.c execution test -FAIL: gcc.dg/special/alias-1.c (test for excess errors) -FAIL: gcc.dg/special/wkali-1.c (test for excess errors) -FAIL: wkali-2a.o +FAIL: gcc.dg/compare1.c comparison between signed and unsigned (test for bogus messages, line 25) === gcc Summary === -# of expected passes 8124 -# of unexpected failures 18 -# of expected failures 38 +# of expected passes 8498 +# of unexpected failures 23 +# of expected failures 39 # of unsupported tests 12 -/vbig/ports/lang/egcs-snapshot/work/build-i386/gcc/xgcc version gcc-2.95 19990615 (prerelease) +/usr/ports/lang/egcs/snapshot/work/build-i386/gcc/xgcc version 2.96 19990907 (experimental) === g++ tests === Running target unix -FAIL: g++.ext/attrib5.C (test for excess errors) +FAIL: g++.ext/comint1.C (test for excess errors) FAIL: g++.law/profile1.C (test for excess errors) -FAIL: g++.pt/instantiate4.C (test for excess errors) +FAIL: g++.oliva/template7.C (test for excess errors) +FAIL: g++.other/ambig2.C A is an ambiguous base (test for errors, line 17) +FAIL: g++.other/anon3.C (test for excess errors) +FAIL: g++.other/lookup16.C (test for excess errors) +XPASS: g++.pt/instantiate6.C (test for excess errors) === g++ Summary === -# of expected passes 5175 -# of unexpected failures 3 -# of expected failures 82 -# of untested testcases 8 -/vbig/ports/lang/egcs-snapshot/work/build-i386/gcc/testsuite/../xgcc version gcc-2.95 19990615 (prerelease) +# of expected passes 5417 +# of unexpected failures 6 +# of unexpected successes 1 +# of expected failures 96 +# of untested testcases 10 +/usr/ports/lang/egcs/snapshot/work/build-i386/gcc/testsuite/../xgcc version 2.96 19990907 (experimental) === g77 tests === Running target unix -FAIL: g77.f-torture/compile/19990502-0.f, -O2 -FAIL: g77.f-torture/compile/19990502-0.f, -O2 -fomit-frame-pointer -finline-functions -FAIL: g77.f-torture/compile/19990502-0.f, -Os +FAIL: g77.f-torture/compile/19990826-1.f, -O0 +FAIL: g77.f-torture/compile/19990826-1.f, -O1 +FAIL: g77.f-torture/compile/19990826-1.f, -O2 +FAIL: g77.f-torture/compile/19990826-1.f, -O2 -fomit-frame-pointer -finline-functions +FAIL: g77.f-torture/compile/19990826-1.f, -Os +FAIL: g77.f-torture/compile/19990905-1.f, -O0 +FAIL: g77.f-torture/compile/19990905-1.f, -O1 +FAIL: g77.f-torture/compile/19990905-1.f, -O2 +FAIL: g77.f-torture/compile/19990905-1.f, -O2 -fomit-frame-pointer -finline-functions +FAIL: g77.f-torture/compile/19990905-1.f, -Os === g77 Summary === -# of expected passes 599 -# of unexpected failures 3 +# of expected passes 649 +# of unexpected failures 10 === objc tests === @@ -83,9 +100,9 @@ Running target unix === objc Summary === # of expected passes 38 -/vbig/ports/lang/egcs-snapshot/work/build-i386/gcc/xgcc version gcc-2.95 19990615 (prerelease) +/usr/ports/lang/egcs/snapshot/work/build-i386/gcc/xgcc version 2.96 19990907 (experimental) -Compiler version: gcc-2.95 19990615 (prerelease) +Compiler version: 2.96 19990907 (experimental) Platform: i386-unknown-openbsd2.5 -configure flags: --with-gcc-version-trigger=/usr/ports/lang/egcs-snapshot/work/egcs-19990616/gcc/version.c --host=i386-unknown-openbsd2.5 --prefix=/usr/local --verbose --program-transform-name=s,^,e, --disable-subdir-texinfo --disable-nls --enable-cpp --with-gnu-as --with-gnu-ld --enable-shared --prefix=/usr/local --sysconfdir=/etc --norecursion +configure flags: --with-gcc-version-trigger=/usr/ports/lang/egcs/snapshot/work/egcs-19990907/gcc/version.c --host=i386-unknown-openbsd2.5 --prefix=/usr/local --verbose --program-transform-name=s,^,e, --disable-subdir-texinfo --disable-nls --enable-cpp --with-gnu-as --with-gnu-ld --enable-shared --prefix=/usr/local --sysconfdir=/etc --norecursion diff --git a/lang/egcs/snapshot/patches/patch-core-iberty b/lang/egcs/snapshot/patches/patch-core-iberty new file mode 100644 index 00000000000..7be229888d6 --- /dev/null +++ b/lang/egcs/snapshot/patches/patch-core-iberty @@ -0,0 +1,27 @@ +Wed Sep 1 13:42:40 CEST 1999 Marc Espie + * libiberty.h (basename): OpenBSD has a correct prototype. + (xrealloc): Remove outdated comment. + +--- include/libiberty.h.orig Wed Sep 1 13:40:21 1999 ++++ include/libiberty.h Wed Sep 1 13:41:51 1999 +@@ -36,7 +36,7 @@ extern char **dupargv PARAMS ((char **)) + across different systems, sometimes as "char *" and sometimes as + "const char *" */ + +-#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) ++#if defined (__GNU_LIBRARY__ ) || defined (__linux__) || defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__CYGWIN__) || defined (__CYGWIN32__) + extern char *basename PARAMS ((const char *)); + #else + extern char *basename (); +@@ -128,10 +128,7 @@ extern void xmalloc_set_program_name PAR + #endif + extern PTR xmalloc PARAMS ((size_t)); + +-/* Reallocate memory without fail. This works like xmalloc. +- +- FIXME: We do not declare the parameter types for the same reason as +- xmalloc. */ ++/* Reallocate memory without fail. This works like xmalloc. */ + + extern PTR xrealloc PARAMS ((PTR, size_t)); + diff --git a/lang/egcs/snapshot/patches/patch-g++-libversion b/lang/egcs/snapshot/patches/patch-g++-libversion index 62363c3ef51..31abd20f54f 100644 --- a/lang/egcs/snapshot/patches/patch-g++-libversion +++ b/lang/egcs/snapshot/patches/patch-g++-libversion @@ -4,7 +4,7 @@ -# Base shared lib for OpenBSD i386 - +# Base shared lib for OpenBSD -+MAJOR_OFFSET=27 ++MAJOR_OFFSET=28 +MSHLINK = libstdc++.so.`expr $(INTERFACE) + $(MAJOR_OFFSET)`.0 LIBS = $(ARLIB) $(ARLINK) $(SHLIB) $(SHLINK) mshlink SHFLAGS = -nostdlib -Wl,-Bshareable,-Bforcearchive diff --git a/lang/egcs/snapshot/patches/patch-g77-notmpnam b/lang/egcs/snapshot/patches/patch-g77-notmpnam new file mode 100644 index 00000000000..e7440f85d10 --- /dev/null +++ b/lang/egcs/snapshot/patches/patch-g77-notmpnam @@ -0,0 +1,67 @@ +Wed Sep 1 15:14:28 CEST 1999 + * libI77/configure.in: Check for mkstemp and getenv. + * libI77/configure: Rebuilt. + * libI77/open.c (f_open): Use safer mkstemp function if available, + still providing TMPDIR functionality if getenv is available. + +--- libf2c/libI77/configure.in.orig Wed Sep 1 14:49:56 1999 ++++ libf2c/libI77/configure.in Wed Sep 1 15:11:59 1999 +@@ -129,7 +129,7 @@ else + AC_MSG_RESULT(no) + fi + +-AC_CHECK_FUNCS(tempnam) ++AC_CHECK_FUNCS(tempnam mkstemp getenv) + + # posix will guarantee the right behaviour for sprintf, else we can't be + # sure; HEADER_STDC wouldn't be the right check in sunos4, for instance. +--- libf2c/libI77/open.c.orig Wed Sep 1 14:51:55 1999 ++++ libf2c/libI77/open.c Wed Sep 1 15:11:29 1999 +@@ -136,6 +136,7 @@ integer f_open(olist *a) + char buf[256], *s; + cllist x; + int ufmt; ++ int fd; + FILE *tf; + #ifndef NON_UNIX_STDIO + int n; +@@ -209,6 +210,23 @@ integer f_open(olist *a) + case 's': + case 'S': + b->uscrtch=1; ++#ifdef HAVE_MKSTEMP ++#define TEMPLATE "/fort.XXXXXXXXXX" ++#ifdef HAVE_GETENV ++ s = getenv ("TMPDIR"); ++ if (s && strlen (s) + sizeof (TEMPLATE) + 2 < sizeof (buf)) ++ strcpy (buf, s); ++ else ++#else ++ strcpy (buf, "/tmp"); ++#endif ++ strcat (buf, TEMPLATE); ++ fd = mkstemp(buf); ++ if (fd == -1) ++ err (a->oerr, 132, "open"); ++ close(fd); ++ goto replace2; ++#else + #ifdef HAVE_TEMPNAM /* Allow use of TMPDIR preferentially. */ + s = tempnam (0, buf); + if (strlen (s) >= sizeof (buf)) +@@ -223,6 +241,7 @@ integer f_open(olist *a) + (void) mktemp(buf); + #endif + #endif /* ! defined (HAVE_TEMPNAM) */ ++#endif /* ! defined (HAVE_MKSTEMP) */ + goto replace; + case 'n': + case 'N': +@@ -242,6 +261,7 @@ integer f_open(olist *a) + if (tf = fopen(buf,f__w_mode[0])) + fclose(tf); + } ++ replace2: + + b->ufnm=(char *) malloc((unsigned int)(strlen(buf)+1)); + if(b->ufnm==NULL) opnerr(a->oerr,113,"no space");