summaryrefslogtreecommitdiff
path: root/lang/gcc49/patches/patch-libgcc_crtstuff.c
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-02 11:56:15 +0000
committernia <nia@pkgsrc.org>2021-04-02 11:56:15 +0000
commite012e3e2dafe038a55cd7597397e2ccc77f859c5 (patch)
tree31bb8bb64d1d210a857e82ed92495560e6e7105f /lang/gcc49/patches/patch-libgcc_crtstuff.c
parent6602e432d98f65aed412a3ffe5da7a87f838dc14 (diff)
downloadpkgsrc-e012e3e2dafe038a55cd7597397e2ccc77f859c5.tar.gz
remove gcc48/gcc49.
use of these packages was disabled in the pkgsrc infrastructure in january because they were causing problems on platforms with older compilers that can build gcc6 just fine: glibc + FORTIFY + gcc48,gcc49,gcc5 = build failures. gcc48 and newer require a c++98 compiler, same as all gcc versions up to 11, so are not useful for bootstrapping. gcc5 has additional Ada bits, someone needs to determine if they're useful before it can go.
Diffstat (limited to 'lang/gcc49/patches/patch-libgcc_crtstuff.c')
-rw-r--r--lang/gcc49/patches/patch-libgcc_crtstuff.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/lang/gcc49/patches/patch-libgcc_crtstuff.c b/lang/gcc49/patches/patch-libgcc_crtstuff.c
deleted file mode 100644
index c6699fecb70..00000000000
--- a/lang/gcc49/patches/patch-libgcc_crtstuff.c
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-libgcc_crtstuff.c,v 1.1 2014/09/04 18:43:11 jperkin Exp $
-
-Currently dl_iterate_phdr error handling is hardcoded for FreeBSD 7+
-Expand code to handle all BSDs even though detection is only active for
-FreeBSD and DragonFly currently.
-
---- libgcc/crtstuff.c.orig 2014-03-10 18:31:20.000000000 +0000
-+++ libgcc/crtstuff.c
-@@ -79,11 +79,19 @@ call_ ## FUNC (void) \
- }
- #endif
-
-+#if defined(TARGET_DL_ITERATE_PHDR) && \
-+ ( defined(__FreeBSD__) \
-+ || defined(__OpenBSD__) \
-+ || defined(__NetBSD__) \
-+ || defined(__DragonFly__))
-+#define BSD_DL_ITERATE_PHDR_AVAILABLE
-+#endif
-+
- #if defined(OBJECT_FORMAT_ELF) \
- && !defined(OBJECT_FORMAT_FLAT) \
- && defined(HAVE_LD_EH_FRAME_HDR) \
- && !defined(inhibit_libc) && !defined(CRTSTUFFT_O) \
-- && defined(__FreeBSD__) && __FreeBSD__ >= 7
-+ && defined(BSD_DL_ITERATE_PHDR_AVAILABLE)
- #include <link.h>
- # define USE_PT_GNU_EH_FRAME
- #endif