binutils: bump default to version 2.26.x
PATCH 1/4 binutils: bump default to version 2.26.x
--- package/binutils/Config.in.host | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/binutils/Config.in.host +1 -1
@@ -3,7 +3,7 @@ comment "Binutils Options" choice prompt "Binutils Version" depends on !BR2_arc - default BR2_BINUTILS_VERSION_2_25_X + default BR2_BINUTILS_VERSION_2_26_X help Select the version of binutils you wish to use.
Signature · 1 line
2.7.3
PATCH 2/4 glibc: add FTBFS fix patch for recent binutils
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477
--- .../2.22/0004-fix-FTBFS-recent-binutils.patch | 67 ++++++++++++++++++++++ .../2.23/0003-fix-FTBFS-recent-binutils.patch | 67 ++++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 package/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch create mode 100644 package/glibc/2.23/0003-fix-FTBFS-recent-binutils.patch
package/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch new file +67 -0
@@ -0,0 +1,67 @@ +With recent binutils versions the GNU libc fails to build on at least +MISP and SPARC, with this kind of error: + + /home/aurel32/glibc/glibc-build/nptl/libpthread.so:(*IND*+0x0): multiple definition of `vfork at GLIBC_2.0' + /home/aurel32/glibc/glibc-build/nptl/libpthread.so::(.text+0xee50): first defined here + +It appears that on these architectures pt-vfork.S includes vfork.S +(through the alpha version of pt-vfork.S) and that the __vfork aliases +are not conditionalized on IS_IN (libc) like on other architectures. +Therefore the aliases are also wrongly included in libpthread.so. + +Fix this by properly conditionalizing the aliases like on other +architectures. + +Changelog: + * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize + hidden_def, weak_alias and strong_alias on [IS_IN (libc)]. + * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise. + * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise. + +Signed-off-by: Gustavo Zacarias <[email protected]> +--- +From: https://sourceware.org/ml/libc-alpha/2016-06/msg00660.html +Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477 +Removed ChangeLog changes to de-debianize the patch. + +diff --git a/sysdeps/unix/sysv/linux/mips/vfork.S b/sysdeps/unix/sysv/linux/mips/vfork.S +index 8c66151..c0c0ce6 100644 +--- a/sysdeps/unix/sysv/linux/mips/vfork.S ++++ b/sysdeps/unix/sysv/linux/mips/vfork.S +@@ -106,6 +106,8 @@ L(error): + #endif + END(__vfork) + ++#if IS_IN (libc) + libc_hidden_def(__vfork) + weak_alias (__vfork, vfork) + strong_alias (__vfork, __libc_vfork) ++#endif +diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S b/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S +index dc32e0a..94f2c8d 100644 +--- a/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S ++++ b/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S +@@ -44,6 +44,8 @@ ENTRY(__vfork) + nop + END(__vfork) + ++#if IS_IN (libc) + libc_hidden_def (__vfork) + weak_alias (__vfork, vfork) + strong_alias (__vfork, __libc_vfork) ++#endif +diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S b/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S +index 05be3c2..a7479e9 100644 +--- a/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S ++++ b/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S +@@ -44,6 +44,8 @@ ENTRY(__vfork) + nop + END(__vfork) + ++#if IS_IN (libc) + libc_hidden_def (__vfork) + weak_alias (__vfork, vfork) + strong_alias (__vfork, __libc_vfork) ++#endif +-- +2.8.1
package/glibc/2.23/0003-fix-FTBFS-recent-binutils.patch new file +67 -0
67 lines not on this page · raw message
Signature · 1 line
2.7.3
PATCH 2/4 glibc: add FTBFS fix patch for recent binutils
Quoted 18 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477
Signed-off-by Gustavo Zacarias <[email protected]>--- .../2.22/0004-fix-FTBFS-recent-binutils.patch | 67 ++++++++++++++++++++++ .../2.23/0003-fix-FTBFS-recent-binutils.patch | 67 ++++++++++++++++++++++ 2 files changed, 134 insertions(+) create mode 100644 package/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch create mode 100644 package/glibc/2.23/0003-fix-FTBFS-recent-binutils.patchpackage/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch new file +0
-0
package/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch line 2
Quoted 2 lines
package/glibc/2.22/0004-fix-FTBFS-recent-binutils.patch new file +2
-0@@ -0,0 +1,67 @@ +With recent binutils versions the GNU libc fails to build on at least +MISP and SPARC, with this kind of error:
s/MISP/MIPS/
This has now been applied upstream, so I would prefer to use the git formatted patch:
https://sourceware.org/git/?p=glibc.git;a=commit;h=43c29487
The email thread also talks about a followup patch, shouldn't we add that as well?
https://sourceware.org/ml/libc-alpha/2016-06/msg00827.html
Signature · 1 line
Bye, Peter Korsgaard
PATCH 2/4 glibc: add FTBFS fix patch for recent binutils
In reply to Gustavo ZacariasQuoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827477
Signed-off-by Gustavo Zacarias <[email protected]>
I've committed Vicente's version instead as it was more complete and from git.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 3/4 Config.in: Add BR2_DEPRECATED_SINCE_2016_11
In reply to Gustavo ZacariasIn preparation for new deprecated features/symbols.
--- Config.in | 4 ++++ 1 file changed, 4 insertions(+)
Config.in +4 -0
@@ -393,6 +393,10 @@ config BR2_DEPRECATED_SINCE_2016_08 bool default y +config BR2_DEPRECATED_SINCE_2016_11 + bool + default y + endif config BR2_ENABLE_DEBUG
Signature · 1 line
2.7.3
PATCH 3/4 Config.in: Add BR2_DEPRECATED_SINCE_2016_11
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
In preparation for new deprecated features/symbols.
Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 4/4 binutils: deprecate 2.24.x
In reply to Gustavo ZacariasNow that 2.26.x is stable and there's 2.25.x to fallback for whatever reason it makes no sense to keep two versions back from default.
--- package/binutils/Config.in.host | 1 + 1 file changed, 1 insertion(+)
package/binutils/Config.in.host +1 -0
@@ -8,6 +8,7 @@ choice Select the version of binutils you wish to use. config BR2_BINUTILS_VERSION_2_24_X + depends on BR2_DEPRECATED_SINCE_2016_11 # supported, but broken on Nios-II, Blackfin and powerpc64le depends on !BR2_nios2 && !BR2_powerpc64le && !BR2_bfin # Unsupported for MIPS R6
Signature · 1 line
2.7.3
PATCH 4/4 binutils: deprecate 2.24.x
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Now that 2.26.x is stable and there's 2.25.x to fallback for whatever reason it makes no sense to keep two versions back from default.
Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/4 binutils: bump default to version 2.26.x
In reply to Gustavo ZacariasQuoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" == Gustavo Zacarias <[email protected]> writes:
Signed-off-by Gustavo Zacarias <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard