* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2018-11-30 7:37 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2018-11-30 7:37 UTC (permalink / raw
To: gentoo-commits
commit: 5cf1ca6fe141211691f0c762f139d80e591a5b71
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 30 07:36:34 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Fri Nov 30 07:37:14 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=5cf1ca6f
3.4.6: update 91_all_ucontext-to-ucontext_t for libjava
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
index 0ce1ed4..f927cff 100644
--- a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
+++ b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
@@ -60,7 +60,7 @@ https://bugs.gentoo.org/664486
instruction: the x86_64 exception handler expects \
the PC to point to the instruction after a call. */ \
- struct ucontext *_uc = (struct ucontext *)_p; \
-+ ucontext_t *_uc = (struct ucontext *)_p; \
++ ucontext_t *_uc = (ucontext_t *)_p; \
volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \
_sc->rip += 2; \
} \
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-10-27 19:45 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-10-27 19:45 UTC (permalink / raw
To: gentoo-commits
commit: 431f6e0ee46df11c35c72638b9f2c387cd8ebe6d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 27 19:45:28 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Oct 27 19:45:28 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=431f6e0e
3.4.6: cut 3 patchset, drop arch-specific patches
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index eda899d..c7eee99 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,4 +1,4 @@
-3 TODO
+3 27 Oct 2019
- 01_ppc_gcc34-multi32-hack.patch
- 01_sparc_gcc34-multi32-hack.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-10-21 22:16 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-10-21 22:16 UTC (permalink / raw
To: gentoo-commits
commit: 014132dd3c59b9c2978d91e650587ffb1725a12d
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 21 22:15:57 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Oct 21 22:15:57 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=014132dd
3.4.6: drop arch-conditional patches
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch | 68 --------------------------
3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch | 68 --------------------------
3.4.6/gentoo/README.history | 4 ++
3 files changed, 4 insertions(+), 136 deletions(-)
diff --git a/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch b/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch
deleted file mode 100644
index 1c3ffce..0000000
--- a/3.4.6/gentoo/01_ppc_gcc34-multi32-hack.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-This is an optimization hack which should only be present
-in a sparc 32bit driver of the compiler compiled with
-host/target/build sparc64-redhat-linux --with-cpu=v7.
-As long long HOST_WIDE_INT slows things down, we can have in
-addition to the sparc64-*/3.2/{cc1,cc1plus}
-sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling
--m32 code only, but use long HOST_WIDE_INT.
-
---- gcc/gcc.c.jj 2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400
-@@ -3084,6 +3084,8 @@ process_command (int argc, const char *c
- int have_c = 0;
- int have_o = 0;
- int lang_n_infiles = 0;
-+ int m64 = 0;
-+ int used_B = 0;
- #ifdef MODIFY_TARGET_NAME
- int is_modify_target_name;
- int j;
-@@ -3602,6 +3604,7 @@ warranty; not even for MERCHANTABILITY o
- PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
- add_prefix (&include_prefixes, concat (value, "include", NULL),
- NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
-+ used_B = 1;
- n_switches++;
- }
- break;
-@@ -3664,6 +3667,13 @@ warranty; not even for MERCHANTABILITY o
- #endif
- goto normal_switch;
-
-+ /* HACK START */
-+ case 'm':
-+ if (p[1] == '6' && p[2] == '4')
-+ m64 = 1;
-+ /* FALLTHROUGH */
-+ /* HACK END */
-+
- default:
- normal_switch:
-
-@@ -3741,6 +3751,26 @@ warranty; not even for MERCHANTABILITY o
- /* Use 2 as fourth arg meaning try just the machine as a suffix,
- as well as trying the machine and the version. */
- #ifndef OS2
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8))
-+ {
-+ const char *sparc32_exec_prefix =
-+ concat (standard_libexec_prefix, "sparc-", spec_machine + 8,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC",
-+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+ }
-+ /* HACK END */
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+ {
-+ const char *ppc32_exec_prefix =
-+ concat (standard_libexec_prefix, "ppc-", spec_machine + 6,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC",
-+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+ }
-+ /* HACK END */
- add_prefix (&exec_prefixes, standard_libexec_prefix, "GCC",
- PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
- add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS",
diff --git a/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch b/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch
deleted file mode 100644
index 1c3ffce..0000000
--- a/3.4.6/gentoo/01_sparc_gcc34-multi32-hack.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-This is an optimization hack which should only be present
-in a sparc 32bit driver of the compiler compiled with
-host/target/build sparc64-redhat-linux --with-cpu=v7.
-As long long HOST_WIDE_INT slows things down, we can have in
-addition to the sparc64-*/3.2/{cc1,cc1plus}
-sparc-*/3.2/{cc1,cc1plus} binaries which are suitable for compiling
--m32 code only, but use long HOST_WIDE_INT.
-
---- gcc/gcc.c.jj 2003-05-15 18:06:04.000000000 -0400
-+++ gcc/gcc.c 2003-05-20 10:31:15.000000000 -0400
-@@ -3084,6 +3084,8 @@ process_command (int argc, const char *c
- int have_c = 0;
- int have_o = 0;
- int lang_n_infiles = 0;
-+ int m64 = 0;
-+ int used_B = 0;
- #ifdef MODIFY_TARGET_NAME
- int is_modify_target_name;
- int j;
-@@ -3602,6 +3604,7 @@ warranty; not even for MERCHANTABILITY o
- PREFIX_PRIORITY_B_OPT, 0, &warn_B, 0);
- add_prefix (&include_prefixes, concat (value, "include", NULL),
- NULL, PREFIX_PRIORITY_B_OPT, 0, NULL, 0);
-+ used_B = 1;
- n_switches++;
- }
- break;
-@@ -3664,6 +3667,13 @@ warranty; not even for MERCHANTABILITY o
- #endif
- goto normal_switch;
-
-+ /* HACK START */
-+ case 'm':
-+ if (p[1] == '6' && p[2] == '4')
-+ m64 = 1;
-+ /* FALLTHROUGH */
-+ /* HACK END */
-+
- default:
- normal_switch:
-
-@@ -3741,6 +3751,26 @@ warranty; not even for MERCHANTABILITY o
- /* Use 2 as fourth arg meaning try just the machine as a suffix,
- as well as trying the machine and the version. */
- #ifndef OS2
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "sparc64-", 8))
-+ {
-+ const char *sparc32_exec_prefix =
-+ concat (standard_libexec_prefix, "sparc-", spec_machine + 8,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, sparc32_exec_prefix, "GCC",
-+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+ }
-+ /* HACK END */
-+ /* HACK START */
-+ if (!m64 && !used_B && !strncmp (spec_machine, "ppc64-", 6))
-+ {
-+ const char *ppc32_exec_prefix =
-+ concat (standard_libexec_prefix, "ppc-", spec_machine + 6,
-+ dir_separator_str, spec_version, dir_separator_str, NULL);
-+ add_prefix (&exec_prefixes, ppc32_exec_prefix, "GCC",
-+ PREFIX_PRIORITY_LAST, 0, warn_std_ptr, 0);
-+ }
-+ /* HACK END */
- add_prefix (&exec_prefixes, standard_libexec_prefix, "GCC",
- PREFIX_PRIORITY_LAST, 1, warn_std_ptr, 0);
- add_prefix (&exec_prefixes, standard_libexec_prefix, "BINUTILS",
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index fb28ea7..eda899d 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,3 +1,7 @@
+3 TODO
+ - 01_ppc_gcc34-multi32-hack.patch
+ - 01_sparc_gcc34-multi32-hack.patch
+
2 06 Jun 2019
+ 93_all_gperf-inline.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-06-15 19:11 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-15 19:11 UTC (permalink / raw
To: gentoo-commits
commit: 108bafbdc4de13a563b6a7b078210cfb8d2c51e9
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 19:09:31 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 19:09:31 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=108bafbd
3.3.6: fix Jun spelling in README
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index d99a66a..fb28ea7 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,4 +1,4 @@
-2 06 June 2019
+2 06 Jun 2019
+ 93_all_gperf-inline.patch
1.9 1 Jun 2019
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-06-15 19:01 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-15 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 0a4cba1d7582c08bcb3b3d2f876f0ce956f756d1
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 18:59:59 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 18:59:59 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=0a4cba1d
3.4.6: cut 2 patchset
Single new patch:
93_all_gperf-inline.patch: fix gcj compilation on modern gcc.
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index d7969e2..d99a66a 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,4 +1,4 @@
-2 TODO
+2 06 June 2019
+ 93_all_gperf-inline.patch
1.9 1 Jun 2019
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-06-12 21:30 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-12 21:30 UTC (permalink / raw
To: gentoo-commits
commit: 499dc858cc4152f30ac4e2e6aa43a38afd6c5548
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 12 21:30:32 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 12 21:30:32 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=499dc858
3.4.6: backport gperf inlining fix
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/93_all_gperf-inline.patch | 22 ++++++++++++++++++++++
3.4.6/gentoo/README.history | 3 +++
2 files changed, 25 insertions(+)
diff --git a/3.4.6/gentoo/93_all_gperf-inline.patch b/3.4.6/gentoo/93_all_gperf-inline.patch
new file mode 100644
index 0000000..c8ed142
--- /dev/null
+++ b/3.4.6/gentoo/93_all_gperf-inline.patch
@@ -0,0 +1,22 @@
+--- a/gcc/java/keyword.gperf
++++ b/gcc/java/keyword.gperf
+@@ -34,7 +34,7 @@ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword (const char *, unsigned int);
++static const struct java_keyword *java_keyword (const char *, unsigned int);
+ %%
+ abstract, ABSTRACT_TK
+ default, DEFAULT_TK
+--- a/gcc/java/keyword.h
++++ b/gcc/java/keyword.h
+@@ -34,7 +34,7 @@ static unsigned int hash (const char *, unsigned int);
+ #ifdef __GNUC__
+ __inline
+ #endif
+-const struct java_keyword *java_keyword (const char *, unsigned int);
++static const struct java_keyword *java_keyword (const char *, unsigned int);
+
+ #define TOTAL_KEYWORDS 52
+ #define MIN_WORD_LENGTH 2
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index 549063a..d7969e2 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,3 +1,6 @@
+2 TODO
+ + 93_all_gperf-inline.patch
+
1.9 1 Jun 2019
- 00_all_gcc-trampolinewarn.patch
+ 91_all_ucontext-to-ucontext_t.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2019-06-01 10:01 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2019-06-01 10:01 UTC (permalink / raw
To: gentoo-commits
commit: 4fc910bbdb638f7dc4c0cbc2eb560d5943a05cdb
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 1 10:00:03 2019 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 1 10:00:03 2019 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=4fc910bb
3.4.9: cut 1.9 patchset
Two new patches:
91_all_ucontext-to-ucontext_t.patch: fix libjava build on modern glibc
92_all_libtool-pass-all.patch: Unbreak libc and libm detection by libtool
when those are linker scripts.
Bug: https://bugs.gentoo.org/664486
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/README.history | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index 15cf5c5..549063a 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,4 +1,4 @@
-1.9 [pending]
+1.9 1 Jun 2019
- 00_all_gcc-trampolinewarn.patch
+ 91_all_ucontext-to-ucontext_t.patch
+ 92_all_libtool-pass-all.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2018-09-30 12:27 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2018-09-30 12:27 UTC (permalink / raw
To: gentoo-commits
commit: 98b63243a86963135a7adff5507a5bed67b42c79
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 30 12:26:42 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 30 12:26:42 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=98b63243
3.4.6: expand 'struct ucontext' to 'ucontext_t' rename in glibc
Fixed forgotten 'sh' and 'libjava' entries.
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
index 00ea653..0ce1ed4 100644
--- a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
+++ b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
@@ -42,3 +42,25 @@ https://bugs.gentoo.org/664486
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
} \
+--- a/gcc/config/sh/linux.h
++++ b/gcc/config/sh/linux.h
+@@ -251,7 +251,7 @@ do { \
+ { \
+ struct rt_sigframe { \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
+ } \
+--- a/libjava/include/x86_64-signal.h
++++ b/libjava/include/x86_64-signal.h
+@@ -40,7 +40,7 @@ do \
+ /* Advance the program counter so that it is after the start of the \
+ instruction: the x86_64 exception handler expects \
+ the PC to point to the instruction after a call. */ \
+- struct ucontext *_uc = (struct ucontext *)_p; \
++ ucontext_t *_uc = (struct ucontext *)_p; \
+ volatile struct sigcontext *_sc = (struct sigcontext *) &_uc->uc_mcontext; \
+ _sc->rip += 2; \
+ } \
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2018-09-29 20:31 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2018-09-29 20:31 UTC (permalink / raw
To: gentoo-commits
commit: 8cc4d3b9a21d903a0516b9595c365c5b6fba386e
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 29 20:30:02 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Sep 29 20:30:02 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=8cc4d3b9
3.4.6: add 92_all_libtool-pass-all.patch
Fix stared library detection by libtool.
Before the patch libtool was not able to see
through linker scripts and rejected -lc and -lm existence.
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/92_all_libtool-pass-all.patch | 170 +++++++++++++++++++++++++++++
3.4.6/gentoo/README.history | 1 +
2 files changed, 171 insertions(+)
diff --git a/3.4.6/gentoo/92_all_libtool-pass-all.patch b/3.4.6/gentoo/92_all_libtool-pass-all.patch
new file mode 100644
index 0000000..27d493f
--- /dev/null
+++ b/3.4.6/gentoo/92_all_libtool-pass-all.patch
@@ -0,0 +1,170 @@
+Unbreak libc and libm detection by libtool when those
+are linker scripts: use file presence as a signal,
+not the output of 'file' command on linux-gnu*.
+
+Backport of upstream patch:
+
+From 7f93fe7a469fb4d342d90736e801fcafb23b5a8b Mon Sep 17 00:00:00 2001
+From: kcook <kcook@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Wed, 24 Nov 2004 22:04:38 +0000
+Subject: [PATCH] 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
+
+ * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case
+ from CVS libtool to always pass_all.
+ * boehm-gc/configure: Regenerate.
+ * libffi/configure: Regenerate.
+ * libgfortran/configure: Regenerate.
+ * libjava/configure: Regenerate.
+ * libobjc/configure: Regenerate.
+ * libstdc++-v3/configure: Regenerate.
+ * zlib/configure: Regenerate.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91200 138bc75d-0d04-0410-961f-82ee72b054a4
+---
+ ChangeLog | 5 +
+ boehm-gc/ChangeLog | 4 +
+ boehm-gc/configure | 11 +-
+ libffi/ChangeLog | 4 +
+ libffi/configure | 11 +-
+ libgfortran/ChangeLog | 4 +
+ libgfortran/configure | 13 +-
+ libjava/ChangeLog | 4 +
+ libjava/aclocal.m4 | 2 +-
+ libjava/configure | 322 +++++++++++++++++++++++++----------------
+ libobjc/ChangeLog | 4 +
+ libobjc/configure | 13 +-
+ libstdc++-v3/ChangeLog | 4 +
+ libstdc++-v3/configure | 13 +-
+ libtool.m4 | 9 +-
+ zlib/ChangeLog.gcj | 4 +
+ zlib/configure | 11 +-
+ 17 files changed, 249 insertions(+), 189 deletions(-)
+
+--- a/boehm-gc/configure
++++ b/boehm-gc/configure
+@@ -4317,14 +4317,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+--- a/libffi/configure
++++ b/libffi/configure
+@@ -3454,14 +3454,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+--- a/libjava/configure
++++ b/libjava/configure
+@@ -4337,14 +4347,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+--- a/libobjc/configure
++++ b/libobjc/configure
+@@ -3269,14 +3269,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+index e87d8b27130..0024e82faa2 100755
+--- a/libstdc++-v3/configure
++++ b/libstdc++-v3/configure
+@@ -3995,14 +3995,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+--- a/libtool.m4
++++ b/libtool.m4
+@@ -679,14 +679,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method=['file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'] ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
+--- a/zlib/configure
++++ b/zlib/configure
+@@ -3423,14 +3423,7 @@ irix5* | irix6*)
+
+ # This must be Linux ELF.
+ linux-gnu*)
+- case $host_cpu in
+- alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
+- lt_cv_deplibs_check_method=pass_all ;;
+- *)
+- # glibc up to 2.1.1 does not perform some relocations on ARM
+- lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
+- esac
+- lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
++ lt_cv_deplibs_check_method=pass_all
+ ;;
+
+ netbsd* | knetbsd*-gnu)
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index a2e067e..15cf5c5 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,6 +1,7 @@
1.9 [pending]
- 00_all_gcc-trampolinewarn.patch
+ 91_all_ucontext-to-ucontext_t.patch
+ + 92_all_libtool-pass-all.patch
1.8 06 Apr 2015
+ 10_all_gcc-3.4.6-c-parse-bison-3.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
* [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/
@ 2018-09-16 16:10 Sergei Trofimovich
0 siblings, 0 replies; 10+ messages in thread
From: Sergei Trofimovich @ 2018-09-16 16:10 UTC (permalink / raw
To: gentoo-commits
commit: 275e55387083d6dd25fea40962ac5ede7c9a1e95
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 16 16:10:10 2018 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Sep 16 16:10:10 2018 +0000
URL: https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=275e5538
3.4.6: backport 'struct ucontext' to 'ucontext_t' rename in glibc
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch | 44 ++++++++++++++++++++++++
3.4.6/gentoo/README.history | 1 +
2 files changed, 45 insertions(+)
diff --git a/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
new file mode 100644
index 0000000..00ea653
--- /dev/null
+++ b/3.4.6/gentoo/91_all_ucontext-to-ucontext_t.patch
@@ -0,0 +1,44 @@
+https://bugs.gentoo.org/664486
+
+--- a/gcc/config/alpha/linux.h
++++ b/gcc/config/alpha/linux.h
+@@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */
+ { \
+ struct rt_sigframe { \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = &rt_->uc.uc_mcontext; \
+ } \
+--- a/gcc/config/i386/linux.h
++++ b/gcc/config/i386/linux.h
+@@ -260,7 +260,7 @@ Boston, MA 02111-1307, USA. */
+ siginfo_t *pinfo; \
+ void *puc; \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
+ } \
+--- a/gcc/config/i386/linux64.h
++++ b/gcc/config/i386/linux64.h
+@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA. */
+ if (*(unsigned char *)(pc_+0) == 0x48 \
+ && *(unsigned long *)(pc_+1) == 0x050f0000000fc0c7) \
+ { \
+- struct ucontext *uc_ = (CONTEXT)->cfa; \
++ ucontext_t *uc_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &uc_->uc_mcontext; \
+ } \
+ else \
+@@ -182,7 +182,7 @@ Boston, MA 02111-1307, USA. */
+ siginfo_t *pinfo; \
+ void *puc; \
+ siginfo_t info; \
+- struct ucontext uc; \
++ ucontext_t uc; \
+ } *rt_ = (CONTEXT)->cfa; \
+ sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
+ } \
diff --git a/3.4.6/gentoo/README.history b/3.4.6/gentoo/README.history
index da425fb..a2e067e 100644
--- a/3.4.6/gentoo/README.history
+++ b/3.4.6/gentoo/README.history
@@ -1,5 +1,6 @@
1.9 [pending]
- 00_all_gcc-trampolinewarn.patch
+ + 91_all_ucontext-to-ucontext_t.patch
1.8 06 Apr 2015
+ 10_all_gcc-3.4.6-c-parse-bison-3.patch
^ permalink raw reply related [flat|nested] 10+ messages in thread
end of thread, other threads:[~2019-10-27 19:45 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-30 7:37 [gentoo-commits] proj/gcc-patches:master commit in: 3.4.6/gentoo/ Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2019-10-27 19:45 Sergei Trofimovich
2019-10-21 22:16 Sergei Trofimovich
2019-06-15 19:11 Sergei Trofimovich
2019-06-15 19:01 Sergei Trofimovich
2019-06-12 21:30 Sergei Trofimovich
2019-06-01 10:01 Sergei Trofimovich
2018-09-30 12:27 Sergei Trofimovich
2018-09-29 20:31 Sergei Trofimovich
2018-09-16 16:10 Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox