pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
gcc8snapshot: claim to support ifunc on netbsd
Module Name: pkgsrc-wip
Committed By: coypu <coypu%sdf.org@localhost>
Pushed By: coypu
Date: Tue May 9 00:16:47 2017 +0300
Changeset: e5c9d14171b388056d4cd0baaa69cccfc8509395
Modified Files:
gcc8snapshot/distinfo
gcc8snapshot/patches/patch-gcc_config.gcc
Log Message:
gcc8snapshot: claim to support ifunc on netbsd
this support is broken, don't upstream it
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e5c9d14171b388056d4cd0baaa69cccfc8509395
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
gcc8snapshot/distinfo | 2 +-
gcc8snapshot/patches/patch-gcc_config.gcc | 14 ++++++++++----
2 files changed, 11 insertions(+), 5 deletions(-)
diffs:
diff --git a/gcc8snapshot/distinfo b/gcc8snapshot/distinfo
index b9f30a5eef..18ccefb08d 100644
--- a/gcc8snapshot/distinfo
+++ b/gcc8snapshot/distinfo
@@ -10,7 +10,7 @@ SHA512 (isl-0.16.1.tar.bz2) = c188667a84dc5bdddb4ab7c35f89c91bf15a8171f4fcaf4130
Size (isl-0.16.1.tar.bz2) = 1626446 bytes
SHA1 (patch-contrib_download__prerequisites) = 86c6c16e0e3e3a0bcb38579a8b4004f603fac1ca
SHA1 (patch-gcc_Makefile.in) = c0f97c75ba1d37eae894141edd58bb36b734f651
-SHA1 (patch-gcc_config.gcc) = fea8288c22bb2c4dd44a5e77c8f92dee8f8f6b18
+SHA1 (patch-gcc_config.gcc) = 748faea5319db95f24fc83d6d097a137655c83c6
SHA1 (patch-gcc_config_arm_arm.h) = 92c8bff1063e153fec4454e6dea5334a42b0dad6
SHA1 (patch-gcc_config_netbsd-protos.h) = 6d28864b4ccc8c1a63fe28e43601b84b63a00633
SHA1 (patch-gcc_config_netbsd.c) = 85f786bce881ef2fc348f98ef81fdbc001076183
diff --git a/gcc8snapshot/patches/patch-gcc_config.gcc b/gcc8snapshot/patches/patch-gcc_config.gcc
index f1002fce55..ae9af531aa 100644
--- a/gcc8snapshot/patches/patch-gcc_config.gcc
+++ b/gcc8snapshot/patches/patch-gcc_config.gcc
@@ -1,8 +1,14 @@
$NetBSD: patch-gcc_config.gcc,v 1.1 2017/05/03 00:21:03 maya Exp $
---- gcc/config.gcc.orig 2016-12-10 21:07:10.000000000 +0000
+Claim to support ifunc (all archs under libexec/ld.elf_so/arch
+should work) XXX DON'T UPSTREAM THIS PART
+
+workaround netbsd backwards compatible non-C99 cabs{,f}
+something else about crt
+
+--- gcc/config.gcc.orig 2017-05-05 17:31:57.000000000 +0000
+++ gcc/config.gcc
-@@ -765,10 +765,15 @@ case ${target} in
+@@ -775,10 +775,15 @@ case ${target} in
target_has_targetcm=yes
;;
*-*-netbsd*)
@@ -15,11 +21,11 @@ $NetBSD: patch-gcc_config.gcc,v 1.1 2017/05/03 00:21:03 maya Exp $
+ tm_p_file="${tm_p_file} netbsd-protos.h"
+ target_gtfiles="${target_gtfiles} \$(srcdir)/config/netbsd.c"
+ extra_objs="${extra_objs} netbsd.o"
-+
++ default_gnu_indirect_function=yes
# NetBSD 2.0 and later get POSIX threads enabled by default.
# Allow them to be explicitly enabled on any other version.
-@@ -1460,10 +1465,12 @@ x86_64-*-freebsd*)
+@@ -1474,10 +1479,12 @@ x86_64-*-freebsd*)
i[34567]86-*-netbsdelf*)
tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h netbsd.h netbsd-stdint.h netbsd-elf.h i386/netbsd-elf.h"
extra_options="${extra_options} netbsd.opt netbsd-elf.opt"
Home |
Main Index |
Thread Index |
Old Index