Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/usr.bin make libbackend.a build and fix th...



details:   https://anonhg.NetBSD.org/src/rev/4352c45b1ab1
branches:  trunk
changeset: 359202:4352c45b1ab1
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Feb 04 10:16:07 2018 +0000

description:
make libbackend.a build and fix the libcommon.a sources list.
now all the gcc parts link.

diffstat:

 external/gpl3/gcc/usr.bin/backend/Makefile |   7 ++++++-
 external/gpl3/gcc/usr.bin/common/Makefile  |  10 +++++++---
 2 files changed, 13 insertions(+), 4 deletions(-)

diffs (48 lines):

diff -r 0c4a268013b3 -r 4352c45b1ab1 external/gpl3/gcc/usr.bin/backend/Makefile
--- a/external/gpl3/gcc/usr.bin/backend/Makefile        Sun Feb 04 09:22:03 2018 +0000
+++ b/external/gpl3/gcc/usr.bin/backend/Makefile        Sun Feb 04 10:16:07 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.40 2018/02/04 09:22:03 mrg Exp $
+#      $NetBSD: Makefile,v 1.41 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -554,6 +554,11 @@
 COPTS.gimple-match.c+=-fno-jump-tables
 .endif
 
+# Don't fight with decimal128Local.h.
+# The GCC build only ignores the warning?
+COPTS.dfp.c+=  -fno-strict-aliasing
+
+CFLAGS+= -fno-exceptions -fno-rtti -fasynchronous-unwind-tables
 
 .PATH: ${DIST}/gcc ${DIST}/libiberty ${GCCARCH} ${G_out_file:H} ${DIST}/include
 .PATH: ${DIST}/gcc/config
diff -r 0c4a268013b3 -r 4352c45b1ab1 external/gpl3/gcc/usr.bin/common/Makefile
--- a/external/gpl3/gcc/usr.bin/common/Makefile Sun Feb 04 09:22:03 2018 +0000
+++ b/external/gpl3/gcc/usr.bin/common/Makefile Sun Feb 04 10:16:07 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2017/11/15 07:47:40 mrg Exp $
+#      $NetBSD: Makefile,v 1.6 2018/02/04 10:16:07 mrg Exp $
 
 LIBISPRIVATE=  yes
 
@@ -9,11 +9,15 @@
 
 SRCS=          diagnostic.c \
                diagnostic-color.c \
+               diagnostic-show-locus.o \
                pretty-print.c \
-               intl.c \
                vec.c \
+               intl.c \
                input.c \
-               version.c
+               version.c \
+               hash-table.c \
+               ggc-none.c \
+               memory-block.cc
 
 # XXX make sure this doesn't have more than it needs
 CPPFLAGS+=     -I${GCCARCH} -I${BACKENDOBJ} -I. \



Home | Main Index | Thread Index | Old Index