Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3 Build liblto_plugin.so with safe-ctype.c



details:   https://anonhg.NetBSD.org/src/rev/555578b5f433
branches:  trunk
changeset: 827743:555578b5f433
user:      kamil <kamil%NetBSD.org@localhost>
date:      Sat Nov 11 07:49:43 2017 +0000

description:
Build liblto_plugin.so with safe-ctype.c

This corrects linking attempt with GNU binutils GOLD (linker).

ld.gold: error: /usr/libexec/liblto_plugin.so: \
could not load plugin library: /usr/libexec/liblto_plugin.so: \
Undefined symbol "_sch_istable" (symnum = 12)

Keep the same minor for the previous recent bump.

diffstat:

 external/gpl3/gcc.old/lib/liblto_plugin/Makefile |  5 +++--
 external/gpl3/gcc/lib/liblto_plugin/Makefile     |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (38 lines):

diff -r 44f1c7a80a57 -r 555578b5f433 external/gpl3/gcc.old/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Sat Nov 11 07:46:52 2017 +0000
+++ b/external/gpl3/gcc.old/lib/liblto_plugin/Makefile  Sat Nov 11 07:49:43 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2017/11/05 01:16:16 christos Exp $
+#      $NetBSD: Makefile,v 1.7 2017/11/11 07:49:43 kamil Exp $
 
 .include <bsd.init.mk>
 .include <bsd.shlib.mk>
@@ -11,7 +11,8 @@
 SRCS=          lto-plugin.c hashtab.c simple-object.c pex-unix.c \
                pex-common.c argv.c make-temp-file.c concat.c \
                simple-object-elf.c simple-object-mach-o.c \
-               simple-object-coff.c simple-object-xcoff.c xstrerror.c
+               simple-object-coff.c simple-object-xcoff.c xstrerror.c \
+               safe-ctype.c
 
 CPPFLAGS+=     -I${DIST}/include -I. 
 CPPFLAGS+=     -DHAVE_CONFIG_H
diff -r 44f1c7a80a57 -r 555578b5f433 external/gpl3/gcc/lib/liblto_plugin/Makefile
--- a/external/gpl3/gcc/lib/liblto_plugin/Makefile      Sat Nov 11 07:46:52 2017 +0000
+++ b/external/gpl3/gcc/lib/liblto_plugin/Makefile      Sat Nov 11 07:49:43 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2017/11/05 02:36:00 kamil Exp $
+#      $NetBSD: Makefile,v 1.8 2017/11/11 07:50:39 kamil Exp $
 
 .include <bsd.init.mk>
 .include <bsd.shlib.mk>
@@ -11,7 +11,8 @@
 SRCS=          lto-plugin.c hashtab.c simple-object.c pex-unix.c \
                pex-common.c argv.c make-temp-file.c concat.c \
                simple-object-elf.c simple-object-mach-o.c \
-               simple-object-coff.c simple-object-xcoff.c xstrerror.c
+               simple-object-coff.c simple-object-xcoff.c xstrerror.c \
+               safe-ctype.c
 
 CPPFLAGS+=     -I${DIST}/include -I. 
 CPPFLAGS+=     -DHAVE_CONFIG_H



Home | Main Index | Thread Index | Old Index