partial archives are no longer bogus.

i386/openbsd.h does include unix.h which yields a perfectly good definition
of the *THUNK macro.

trivial fix to a bug in gcc.c.
This commit is contained in:
espie 1999-01-12 00:19:49 +00:00
parent 1237398b0a
commit 7d42d0d4e1
10 changed files with 84 additions and 44 deletions

View File

@ -3,7 +3,7 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.14 1999/01/10 02:50:02 espie Exp $
# $OpenBSD: Makefile,v 1.15 1999/01/12 00:19:49 espie Exp $
#
# This is a configuration file for egcs, snapshot flavor
# PLEASE use the regular egcs-stable for serious work, resort to this one
@ -20,28 +20,29 @@ MAINTAINER= Marc.Espie@openbsd.org
MIRROR_DISTFILE=no
# with some help from Jason L. Wright for sparc...
ONLY_FOR_ARCHS = i386 sparc m68k sparc pa
ONLY_FOR_ARCHS = i386 sparc m68k alpha pa
# user configuration section
# see files/tests for precise testing procedure
# as of 19981213, cygnus snapshot packaging scheme is still BROKEN.
# YOU MUST USE THE MAMMOTH ARCHIVE !!!
# 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_CHILL=yes
#MAKE_OBJC=yes
#MAKE_JAVA=yes
MAKE_FORTRAN=yes
MAKE_CHILL=yes
MAKE_OBJC=yes
MAKE_JAVA=yes
.if defined(MAKE_TESTS)
BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu
.endif
# if you want/need to use the mammoth archive
ONE_ARCHIVE=yes
#ONE_ARCHIVE=yes
LATEST_DATE=1999-01-03
@ -84,16 +85,10 @@ DISTFILES+=egcs-tests-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_GXX)
DISTFILES+= egcs-g++-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_TESTS)
DISTFILES+=egcs-g++-tests-${LATEST}${EXTRACT_SUFX}
.endif
.endif
.if defined(MAKE_FORTRAN)
DISTFILES+= egcs-g77-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_TESTS)
DISTFILES+=egcs-g77-testsuite-${LATEST}${EXTRACT_SUFX}
.endif
.endif
.if defined(MAKE_JAVA)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: openbsd.h,v 1.4 1999/01/11 21:23:26 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.5 1999/01/12 00:19:49 espie Exp $ */
/* vi:ts=8:
*/
@ -150,3 +150,6 @@ do { \
fprintf (FILE, "\n"); \
} \
} while (0)
/* We pick up ASM_OUTPUT_MI_THUNK from unix.h */

View File

@ -1,8 +1,13 @@
MD5 (egcs/egcs-19981130-19981206.diff.gz) = ea51d3b845dca737550a01e61ccbb39e
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981206-19981213.diff.gz) = e83a44452b6057765eb8f22bb8582a8d
MD5 (egcs/egcs-19981206.tar.gz) = 5f55ba0a5a719dbff577f89e01233eda
MD5 (egcs/egcs-19981213-19981220.diff.gz) = 0277da152b5791433d26165de67f6ec0
MD5 (egcs/egcs-19981213.tar.gz) = d858d60706697e087413320a24343439
MD5 (egcs/egcs-19981220.tar.gz) = a32b6af1d68cdadb457dc77a42584225
MD5 (egcs/egcs-19990103.tar.gz) = 07f781c833e7c2bc9be558e9a1ca8485
MD5 (egcs/egcs-chill-19990103.tar.gz) = d9798f88229586a6a8cee4033d4a5664
MD5 (egcs/egcs-core-19990103.tar.gz) = fe569bd07b50e1061d4c27293360289e
MD5 (egcs/egcs-g++-19990103.tar.gz) = 74feaaf0726702ab0f965c5bb9a21947
MD5 (egcs/egcs-g77-19990103.tar.gz) = ad23ff59004b0479f4a48ba6ec235e4c
MD5 (egcs/egcs-java-19990103.tar.gz) = 31e1b0ac91f99a5fa7aa435bd4b97dd4
MD5 (egcs/egcs-objc-19990103.tar.gz) = e5d31b909d9a91f7495880a1e3e4a268
MD5 (egcs/egcs-tests-19990103.tar.gz) = fe700d8004ebfef201a97fd5ad15c237

View File

@ -8,12 +8,13 @@ You will also find a `warnings' file in the work/egcs-* directory...
the test results.
OpenBSD notes:
* we are trying to use BSD make instead of gnu-make. A large proportion
of the patches are used for that. They have been reported to cygnus, and
will probably be unnecessary soon.
* you need an up-to-date bsd.port.mk.
* an assembler bug that affects the sparc has been fixed post-2.4. It may
affect other architectures.
affect other architectures. Basically, the archs that use an old gas
(m68k, sparc, i386,...) are liable to run into bugs that can be traced to
the assembler, not the compiler.
* the configuration files used are substantially cleaned up from gcc 2.8.1.
This will be used for gcc 2.8.1 eventually.
To run the same testsuites under native gcc 2.8.1:
- move the site.exp file elsewhere, edit it to get the right paths.

View File

@ -0,0 +1,16 @@
--- gcc/gcc.c.orig Tue Jan 12 00:49:22 1999
+++ gcc/gcc.c Tue Jan 12 00:50:25 1999
@@ -3630,12 +3630,12 @@
if (p[0] == '%' && p[1] == 'O')
{
+ p += 2;
/* We don't support extra suffix characters after %O. */
if (*p == '.' || ISALPHA ((unsigned char)*p))
abort ();
suffix = OBJECT_SUFFIX;
suffix_length = strlen (OBJECT_SUFFIX);
- p += 2;
}
else
{

View File

@ -3,7 +3,7 @@
# Date created: 25 sep 98
# Whom: Marc Espie
#
# $OpenBSD: Makefile,v 1.14 1999/01/10 02:50:02 espie Exp $
# $OpenBSD: Makefile,v 1.15 1999/01/12 00:19:49 espie Exp $
#
# This is a configuration file for egcs, snapshot flavor
# PLEASE use the regular egcs-stable for serious work, resort to this one
@ -20,28 +20,29 @@ MAINTAINER= Marc.Espie@openbsd.org
MIRROR_DISTFILE=no
# with some help from Jason L. Wright for sparc...
ONLY_FOR_ARCHS = i386 sparc m68k sparc pa
ONLY_FOR_ARCHS = i386 sparc m68k alpha pa
# user configuration section
# see files/tests for precise testing procedure
# as of 19981213, cygnus snapshot packaging scheme is still BROKEN.
# YOU MUST USE THE MAMMOTH ARCHIVE !!!
# 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_CHILL=yes
#MAKE_OBJC=yes
#MAKE_JAVA=yes
MAKE_FORTRAN=yes
MAKE_CHILL=yes
MAKE_OBJC=yes
MAKE_JAVA=yes
.if defined(MAKE_TESTS)
BUILD_DEPENDS+= runtest:${PORTSDIR}/devel/dejagnu
.endif
# if you want/need to use the mammoth archive
ONE_ARCHIVE=yes
#ONE_ARCHIVE=yes
LATEST_DATE=1999-01-03
@ -84,16 +85,10 @@ DISTFILES+=egcs-tests-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_GXX)
DISTFILES+= egcs-g++-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_TESTS)
DISTFILES+=egcs-g++-tests-${LATEST}${EXTRACT_SUFX}
.endif
.endif
.if defined(MAKE_FORTRAN)
DISTFILES+= egcs-g77-${LATEST}${EXTRACT_SUFX}
.if defined(MAKE_TESTS)
DISTFILES+=egcs-g77-testsuite-${LATEST}${EXTRACT_SUFX}
.endif
.endif
.if defined(MAKE_JAVA)

View File

@ -1,4 +1,4 @@
/* $OpenBSD: openbsd.h,v 1.4 1999/01/11 21:23:26 espie Exp $ */
/* $OpenBSD: openbsd.h,v 1.5 1999/01/12 00:19:49 espie Exp $ */
/* vi:ts=8:
*/
@ -150,3 +150,6 @@ do { \
fprintf (FILE, "\n"); \
} \
} while (0)
/* We pick up ASM_OUTPUT_MI_THUNK from unix.h */

View File

@ -1,8 +1,13 @@
MD5 (egcs/egcs-19981130-19981206.diff.gz) = ea51d3b845dca737550a01e61ccbb39e
MD5 (egcs/egcs-19981130.tar.gz) = 580e4e1edb501b4c87d9e94079895fad
MD5 (egcs/egcs-19981206-19981213.diff.gz) = e83a44452b6057765eb8f22bb8582a8d
MD5 (egcs/egcs-19981206.tar.gz) = 5f55ba0a5a719dbff577f89e01233eda
MD5 (egcs/egcs-19981213-19981220.diff.gz) = 0277da152b5791433d26165de67f6ec0
MD5 (egcs/egcs-19981213.tar.gz) = d858d60706697e087413320a24343439
MD5 (egcs/egcs-19981220.tar.gz) = a32b6af1d68cdadb457dc77a42584225
MD5 (egcs/egcs-19990103.tar.gz) = 07f781c833e7c2bc9be558e9a1ca8485
MD5 (egcs/egcs-chill-19990103.tar.gz) = d9798f88229586a6a8cee4033d4a5664
MD5 (egcs/egcs-core-19990103.tar.gz) = fe569bd07b50e1061d4c27293360289e
MD5 (egcs/egcs-g++-19990103.tar.gz) = 74feaaf0726702ab0f965c5bb9a21947
MD5 (egcs/egcs-g77-19990103.tar.gz) = ad23ff59004b0479f4a48ba6ec235e4c
MD5 (egcs/egcs-java-19990103.tar.gz) = 31e1b0ac91f99a5fa7aa435bd4b97dd4
MD5 (egcs/egcs-objc-19990103.tar.gz) = e5d31b909d9a91f7495880a1e3e4a268
MD5 (egcs/egcs-tests-19990103.tar.gz) = fe700d8004ebfef201a97fd5ad15c237

View File

@ -8,12 +8,13 @@ You will also find a `warnings' file in the work/egcs-* directory...
the test results.
OpenBSD notes:
* we are trying to use BSD make instead of gnu-make. A large proportion
of the patches are used for that. They have been reported to cygnus, and
will probably be unnecessary soon.
* you need an up-to-date bsd.port.mk.
* an assembler bug that affects the sparc has been fixed post-2.4. It may
affect other architectures.
affect other architectures. Basically, the archs that use an old gas
(m68k, sparc, i386,...) are liable to run into bugs that can be traced to
the assembler, not the compiler.
* the configuration files used are substantially cleaned up from gcc 2.8.1.
This will be used for gcc 2.8.1 eventually.
To run the same testsuites under native gcc 2.8.1:
- move the site.exp file elsewhere, edit it to get the right paths.

View File

@ -0,0 +1,16 @@
--- gcc/gcc.c.orig Tue Jan 12 00:49:22 1999
+++ gcc/gcc.c Tue Jan 12 00:50:25 1999
@@ -3630,12 +3630,12 @@
if (p[0] == '%' && p[1] == 'O')
{
+ p += 2;
/* We don't support extra suffix characters after %O. */
if (*p == '.' || ISALPHA ((unsigned char)*p))
abort ();
suffix = OBJECT_SUFFIX;
suffix_length = strlen (OBJECT_SUFFIX);
- p += 2;
}
else
{