From bb57cd547235525cc59dc844b0cbc6d948d604be Mon Sep 17 00:00:00 2001 From: rin Date: Mon, 9 Oct 2023 12:26:59 +0000 Subject: [PATCH] gcc.old: vax: mknative for PR port-vax/57646 Summary of changes: (1) HAVE_AS_CFI_SECTIONS becomes defined. (2) mempcpy.o is dropped as mempcpy(3) was added to -current (but not to netbsd-10). (3) working directories in usr.bin/gcc/arch/vax/configargs.h. (1) will be pulled up into netbsd-10. I've confirmed that pkgsrc/lang/perl5 builds and works as before with this change. For now, (3) is reverted by hand. It would be better to improve mknative not to leak working directories. But it should be NFC anyway. For vax, mknative for binutils and gdb does not brings about significant changes. For other platforms, mknative for gcc.old makes no significant changes (actually confirmed only for evbarm64, but it should be enough). Thanks mrg@ for suggestion. --- external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h | 4 ++-- external/gpl3/gcc.old/lib/libiberty/defs.mk | 4 ++-- external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h | 4 ++-- external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h b/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h index 6b93f6b82c17..9e8cabd544fe 100644 --- a/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h +++ b/external/gpl3/gcc.old/lib/libgcc/arch/vax/auto-target.h @@ -1,5 +1,5 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.113 2021/04/11 01:44:14 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* auto-target.h. Generated from config.in by configure. */ @@ -13,7 +13,7 @@ /* Define to 1 if the assembler supports .cfi_sections .debug_frame directive. */ -/* #undef HAVE_AS_CFI_SECTIONS */ +#define HAVE_AS_CFI_SECTIONS 1 /* Define to 1 if the assembler supports LSE. */ /* #undef HAVE_AS_LSE */ diff --git a/external/gpl3/gcc.old/lib/libiberty/defs.mk b/external/gpl3/gcc.old/lib/libiberty/defs.mk index ddd29386452d..10487a263030 100644 --- a/external/gpl3/gcc.old/lib/libiberty/defs.mk +++ b/external/gpl3/gcc.old/lib/libiberty/defs.mk @@ -1,8 +1,8 @@ # This file is automatically generated. DO NOT EDIT! -# Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp +# Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp # G_ALLOCA= G_EXTRA_OFILES= -G_LIBOBJS=mempcpy.o strverscmp.o +G_LIBOBJS=strverscmp.o G_REQUIRED_OFILES=regex.o cplus-dem.o cp-demangle.o md5.o sha1.o alloca.o argv.o choose-temp.o concat.o cp-demint.o crc32.o d-demangle.o dwarfnames.o dyn-string.o fdmatch.o fibheap.o filedescriptor.o filename_cmp.o floatformat.o fnmatch.o fopen_unlocked.o getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o partition.o pexecute.o physmem.o pex-common.o pex-one.o pex-unix.o vprintf-support.o rust-demangle.o safe-ctype.o simple-object.o simple-object-coff.o simple-object-elf.o simple-object-mach-o.o simple-object-xcoff.o sort.o spaces.o splay-tree.o stack-limit.o strerror.o strsignal.o timeval-utils.o unlink-if-ordinary.o xasprintf.o xatexit.o xexit.o xmalloc.o xmemdup.o xstrdup.o xstrerror.o xstrndup.o xvasprintf.o diff --git a/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h b/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h index d04e09fc7c11..6cb6b11593d9 100644 --- a/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h +++ b/external/gpl3/gcc.old/lib/libstdc++-v3/arch/vax/gstdint.h @@ -1,8 +1,8 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ -/* generated for vax--netbsdelf-gcc (NetBSD nb2 20230710) 10.5.0 */ +/* generated for vax--netbsdelf-gcc (NetBSD nb3 20231008) 10.5.0 */ #ifndef GCC_GENERATED_STDINT_H #define GCC_GENERATED_STDINT_H 1 diff --git a/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h b/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h index 6307167fd03a..ad2b7cbf3f3a 100644 --- a/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h +++ b/external/gpl3/gcc.old/usr.bin/gcc/arch/vax/configargs.h @@ -1,9 +1,9 @@ /* This file is automatically generated. DO NOT EDIT! */ -/* Generated from: NetBSD: mknative-gcc,v 1.116 2022/07/22 06:50:26 mrg Exp */ +/* Generated from: NetBSD: mknative-gcc.old,v 1.11 2023/07/28 08:05:29 mrg Exp */ /* Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp */ /* Generated automatically. */ -static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc/dist/configure --target=vax--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb2 20230710' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-libstdcxx-pch --build=vax--netbsdelf --host=vax--netbsdelf --with-sysroot=/var/obj/mknative/vax/usr/src/destdir.vax"; +static const char configuration_arguments[] = "/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/configure --target=vax--netbsdelf --enable-long-long --enable-threads --with-bugurl=http://www.NetBSD.org/support/send-pr.html --with-pkgversion='NetBSD nb3 20231008' --with-system-zlib --without-isl --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-default-libstdcxx-abi=new --with-mpc-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpc/lib/libmpc --with-mpfr-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/mpfr/lib/libmpfr --with-gmp-lib=/var/obj/mknative/vax/usr/src/external/lgpl3/gmp/lib/libgmp --with-mpc-include=/usr/src/external/lgpl3/mpc/dist/src --with-mpfr-include=/usr/src/external/lgpl3/mpfr/dist/src --with-gmp-include=/usr/src/external/lgpl3/gmp/lib/libgmp/arch/vax --disable-multilib --disable-libstdcxx-pch --build=vax--netbsdelf --host=vax--netbsdelf --with-sysroot=/var/obj/mknative/vax/usr/src/destdir.vax"; static const char thread_model[] = "posix"; static const struct {