Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc make ia64 build with gcc7:



details:   https://anonhg.NetBSD.org/src/rev/535126c29690
branches:  trunk
changeset: 997940:535126c29690
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Apr 02 21:29:46 2019 +0000

description:
make ia64 build with gcc7:
- catch up tmake_file list for ia64-netbsd to gcc 7 standards
- don't build the "tf" extra size version on ia64 like x86.
- regen mknative files

diffstat:

 external/gpl3/gcc/README.gcc7                  |  7 +++----
 external/gpl3/gcc/dist/libgcc/config.host      |  2 +-
 external/gpl3/gcc/lib/libgcc/Makefile.inc      |  6 ++++--
 external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk |  6 +++---
 4 files changed, 11 insertions(+), 10 deletions(-)

diffs (81 lines):

diff -r c7bf0dba3dfe -r 535126c29690 external/gpl3/gcc/README.gcc7
--- a/external/gpl3/gcc/README.gcc7     Tue Apr 02 21:19:20 2019 +0000
+++ b/external/gpl3/gcc/README.gcc7     Tue Apr 02 21:29:46 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: README.gcc7,v 1.13 2019/03/04 01:16:33 mrg Exp $
+$NetBSD: README.gcc7,v 1.14 2019/04/02 21:29:46 mrg Exp $
 
 new stuff (from gcc 5):
        cc1objcplus
@@ -39,9 +39,9 @@
 earmv7eb       y       ?       y       y               ?               ?       ?       y
 earmv7hf       y       ?       y       y               ?               ?       ?       y
 earmv7hfeb     y       ?       y       y               ?               ?       ?       y
-hppa           y       y       y       y               y               ?       ?       y
+hppa           y       y       y       y               y               ?       ?       ?
 i386           y       y       y       y               y               y       y       y
-ia64           y       ?       ?       y               n[2]            ?       ?       ?
+ia64           y       y       y       y               y               ?       ?       ?
 m68000         y       y       y       y               y               ?       ?       y
 m68k           y       y       y       y               y               y       ?       y
 mipseb         y       y       y       y               y               ?       ?       y
@@ -64,7 +64,6 @@
 ------------   -----   ------- ------  ----------      ------------    ----    ---
 architecture   tools   kernels libgcc  native-gcc      make release    runs    atf
 
-[2] - libgcc_s.so: undefined reference to `__netf2'
 [3] - vax dynamic seems busted, but /rescue works
 [9] - /usr/src6/external/gpl3/gcc/dist/libgcc/libgcc2.c:2036:1: error: unrecognizable insn:
 
diff -r c7bf0dba3dfe -r 535126c29690 external/gpl3/gcc/dist/libgcc/config.host
--- a/external/gpl3/gcc/dist/libgcc/config.host Tue Apr 02 21:19:20 2019 +0000
+++ b/external/gpl3/gcc/dist/libgcc/config.host Tue Apr 02 21:29:46 2019 +0000
@@ -802,7 +802,7 @@
        ;;
 ia64*-*-netbsd*)
        extra_parts="${extra_parts} crtfastmath.o"
-       tmake_file="${tmake_file} ia64/t-ia64 ia64/t-ia64-elf t-crtfm ia64/t-softfp t-softfp ia64/t-eh-ia64"
+       tmake_file="${tmake_file} ia64/t-ia64 ia64/t-ia64-elf ia64/t-eh-ia64 t-crtfm t-softfp-tf ia64/t-softfp t-softfp ia64/t-softfp-compat"
        ;;
 ia64*-*-hpux*)
        tmake_file="ia64/t-ia64 ia64/t-ia64-elf ia64/t-hpux t-slibgcc ia64/t-slibgcc-hpux t-slibgcc-hpux"
diff -r c7bf0dba3dfe -r 535126c29690 external/gpl3/gcc/lib/libgcc/Makefile.inc
--- a/external/gpl3/gcc/lib/libgcc/Makefile.inc Tue Apr 02 21:19:20 2019 +0000
+++ b/external/gpl3/gcc/lib/libgcc/Makefile.inc Tue Apr 02 21:29:46 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.39 2019/01/31 06:47:21 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.40 2019/04/02 21:29:46 mrg Exp $
 
 LIBGCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
 
@@ -74,7 +74,9 @@
 
 EXTRA_FUNC_SIZES=      sf df xf
 
-.if ${LIBGCC_MACHINE_ARCH} != "x86_64" && ${LIBGCC_MACHINE_ARCH} != "i386"
+.if ${LIBGCC_MACHINE_ARCH} != "x86_64" && \
+    ${LIBGCC_MACHINE_ARCH} != "i386" && \
+    ${LIBGCC_MACHINE_ARCH} != "ia64" &&
 EXTRA_FUNC_SIZES+=     tf
 .endif
 
diff -r c7bf0dba3dfe -r 535126c29690 external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk
--- a/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk    Tue Apr 02 21:19:20 2019 +0000
+++ b/external/gpl3/gcc/lib/libgcc/arch/ia64/defs.mk    Tue Apr 02 21:29:46 2019 +0000
@@ -1,13 +1,13 @@
 # This file is automatically generated.  DO NOT EDIT!
-# Generated from: NetBSD: mknative-gcc,v 1.97 2019/02/01 09:27:23 mrg Exp 
+# Generated from: NetBSD: mknative-gcc,v 1.101 2019/02/23 06:54:45 mrg Exp 
 # Generated from: NetBSD: mknative.common,v 1.16 2018/04/15 15:13:37 christos Exp 
 #
 G_INCLUDES=-I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include 
 G_INTERNAL_CFLAGS=-g -O2 -O2  -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include   -fPIC -g 
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -fPIC -I. -I. -I../.././gcc -I${GNUHOSTDIST}/libgcc -I${GNUHOSTDIST}/libgcc/. -I${GNUHOSTDIST}/libgcc/../gcc -I${GNUHOSTDIST}/libgcc/../include  
-DHAVE_CC_TLS 
-G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/ia64/tf-signs.c ${GNUHOSTDIST}/libgcc/config/ia64/sfp-exceptions.c  enable-execute-stack.c
+G_LIB2ADD= ${GNUHOSTDIST}/libgcc/config/ia64/tf-signs.c ${GNUHOSTDIST}/libgcc/config/ia64/sfp-exceptions.c ${GNUHOSTDIST}/libgcc/soft-fp/addtf3.c ${GNUHOSTDIST}/libgcc/soft-fp/divtf3.c 
${GNUHOSTDIST}/libgcc/soft-fp/eqtf2.c ${GNUHOSTDIST}/libgcc/soft-fp/getf2.c ${GNUHOSTDIST}/libgcc/soft-fp/letf2.c ${GNUHOSTDIST}/libgcc/soft-fp/multf3.c ${GNUHOSTDIST}/libgcc/soft-fp/negtf2.c 
${GNUHOSTDIST}/libgcc/soft-fp/subtf3.c ${GNUHOSTDIST}/libgcc/soft-fp/unordtf2.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfsi.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfsi.c 
${GNUHOSTDIST}/libgcc/soft-fp/floatsitf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatunsitf.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfdi.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfdi.c 
${GNUHOSTDIST}/libgcc/soft-fp/floatditf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatunditf.c ${GNUHOSTDIST}/libgcc/soft-fp/fixtfti.c ${GNUHOSTDIST}/libgcc/soft-fp/fixunstfti.c 
${GNUHOSTDIST}/libgcc/soft-fp/floattitf.c ${GNUHOSTDIST}/libgcc/soft-fp/floatuntitf.c ${GNUHOSTDIST}/libgcc/soft-fp/extendsftf2.c ${GNUHOSTDIST}/libgcc/soft-fp/extenddftf2.c 
${GNUHOSTDIST}/libgcc/soft-fp/extendxftf2.c ${GNUHOSTDIST}/libgcc/soft-fp/trunctfsf2.c ${GNUHOSTDIST}/libgcc/soft-fp/trunctfdf2.c ${GNUHOSTDIST}/libgcc/soft-fp/trunctfxf2.c 
${GNUHOSTDIST}/libgcc/config/ia64/__divxf3.S ${GNUHOSTDIST}/libgcc/config/ia64/_fixtfdi.S ${GNUHOSTDIST}/libgcc/config/ia64/_fixunstfdi.S ${GNUHOSTDIST}/libgcc/config/ia64/_floatditf.S 
enable-execute-stack.c
 G_LIB2ADDEH=${GNUHOSTDIST}/libgcc/config/ia64/unwind-ia64.c ${GNUHOSTDIST}/libgcc/unwind-sjlj.c ${GNUHOSTDIST}/libgcc/unwind-c.c ${GNUHOSTDIST}/libgcc/emutls.c
 G_LIB2ADD_ST=
-G_LIB1ASMFUNCS=__divxf3 __divdf3 __divsf3 __divdi3 __moddi3 __udivdi3 __umoddi3 __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal __nonlocal_goto __restore_stack_nonlocal __trampoline 
_fixtfdi _fixunstfdi _floatditf
+G_LIB1ASMFUNCS=__divdf3 __divsf3 __divdi3 __moddi3 __udivdi3 __umoddi3 __divsi3 __modsi3 __udivsi3 __umodsi3 __save_stack_nonlocal __nonlocal_goto __restore_stack_nonlocal __trampoline
 G_LIB1ASMSRC=ia64/lib1funcs.S
 G_LIB2_DIVMOD_FUNCS=_divdi3 _moddi3 _divmoddi4 _udivdi3 _umoddi3 _udivmoddi4 _udiv_w_sdiv
 G_LIB2FUNCS_ST=_eprintf __gcc_bcmp



Home | Main Index | Thread Index | Old Index