package/libgeos: disable package if binutils is affected from bug 21464
PATCH 1/1 package/libgeos: disable package if binutils is affected from bug 21464
This package is affected from binutils bug 21464, since there is no workaround, let's disable it.
Fixes:
http://autobuild.buildroot.net/results/3eb/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/
---
This patch must be applied after this patchset:
https://patchwork.ozlabs.org/project/buildroot/list/?series=232409
--- package/libgeos/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/libgeos/Config.in +2 -1
@@ -3,6 +3,7 @@ config BR2_PACKAGE_LIBGEOS depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 help GEOS (Geometry Engine - Open Source) is a C++ port of the JTS Topology Suite (JTS). It aims to contain the complete
@@ -14,4 +15,4 @@ config BR2_PACKAGE_LIBGEOS comment "libgeos needs a toolchain w/ C++, wchar" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - depends on !BR2_nios2 + depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
Signature · 1 line
2.25.1
PATCH 1/1 package/libgeos: disable package if binutils is affected from bug 21464
Quoted 6 lines · On Sun, 7 Mar 2021 18:52:14 +0100 Giulio Benetti…
This package is affected from binutils bug 21464, since there is no workaround, let's disable it.
Fixes:
http://autobuild.buildroot.net/results/3eb/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/
Quoted 7 lines
Signed-off-by Giulio Benetti <[email protected]>---
This patch must be applied after this patchset:
https://patchwork.ozlabs.org/project/buildroot/list/?series=232409--- package/libgeos/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
I've applied. However, it's a bit inconsistent that we fixed this for OpenRISC with a proper BR2_TOOLCHAIN_HAS_BINUTILS_BUG_xyz, but for NIOS2 it is globally disabled for BR2_nios2.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/2 toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
On Nios II binutils it still present ld bug 27597 leading to a package libgeos to fail building:
http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d/http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/
The bug was already reported and it's been updated:
https://sourceware.org/bugzilla/show_bug.cgi?id=27597
--- toolchain/Config.in | 6 ++++++ 1 file changed, 6 insertions(+)
toolchain/Config.in +6 -0
@@ -83,6 +83,12 @@ config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100 bool default y if BR2_or1k && !BR2_BINUTILS_VERSION_2_36_X +# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 +# Affect toolchains built with binutils 2.36.1, still not fixed. +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + bool + default y if BR2_nios2 + # Atomic types can be: # - never lock-free # - sometimes lock-free
Signature · 1 line
2.25.1
PATCH 2/2 package/libgeos: use specific bug instead of BR2_nios2 to disable package
Let's use the _BUG_ form for disabling this package instead of BR2_nios2 architecture as we already use it for other packages.
--- package/libgeos/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
package/libgeos/Config.in +4 -3
@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGEOS bool "libgeos" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 help GEOS (Geometry Engine - Open Source) is a C++ port of the
@@ -14,5 +14,6 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos comment "libgeos needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
Signature · 1 line
2.25.1
Arnout Vandecappelle
AppliedPATCH 2/2 package/libgeos: use specific bug instead of BR2_nios2 to disable package
Quoted 4 lines · Giulio Benetti
Let's use the _BUG_ form for disabling this package instead of
BR2_nios2architecture as we already use it for other packages.Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks. I made the following changes:
- put 27597 after 21464 instead of before it;
- propagate dependency to postgis;
- mention the bugs in the comments.
postgis didn't exist yet at the time so that's no surpise... The rest is nitpicking.
Regards,
Arnout
Quoted 27 lines
--- package/libgeos/Config.in | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)package/libgeos/Config.in +4
-3@@ -2,7 +2,7 @@ config BR2_PACKAGE_LIBGEOS bool "libgeos" depends on BR2_INSTALL_LIBSTDCPP depends on BR2_USE_WCHAR - depends on !BR2_nios2 + depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 help GEOS (Geometry Engine - Open Source) is a C++ port of the@@ -14,5 +14,6 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos comment "libgeos needs a toolchain w/ C++, wchar" - depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR - depends on !BR2_nios2 || !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464 + depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \ + !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_21464
PATCH 2/2 package/libgeos: use specific bug instead of BR2_nios2 to disable package
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Quoted 4 lines · Giulio Benetti
Let's use the _BUG_ form for disabling this package instead of
BR2_nios2architecture as we already use it for other packages.Signed-off-by Giulio Benetti <[email protected]>
Quoted 7 lines
Applied to master, thanks. I made the following changes:
- put 27597 after 21464 instead of before it;
- propagate dependency to postgis;
- mention the bugs in the comments.postgis didn't exist yet at the time so that's no surpise... The rest is nitpicking.
Committed to 2021.02.x (without the postgis hunk), thanks.
Signature · 1 line
Bye, Peter Korsgaard
Arnout Vandecappelle
AppliedPATCH 1/2 toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
In reply to Giulio BenettiQuoted 8 lines · Giulio Benetti
On Nios II binutils it still present ld bug 27597 leading to a package libgeos to fail building:
http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d/http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/The bug was already reported and it's been updated:
https://sourceware.org/bugzilla/show_bug.cgi?id=27597Signed-off-by Giulio Benetti <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 22 lines
--- toolchain/Config.in | 6 ++++++ 1 file changed, 6 insertions(+)toolchain/Config.in +6
-0@@ -83,6 +83,12 @@ config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100 bool default y if BR2_or1k && !BR2_BINUTILS_VERSION_2_36_X +# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 +# Affect toolchains built with binutils 2.36.1, still not fixed. +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + bool + default y if BR2_nios2 + # Atomic types can be: # - never lock-free # - sometimes lock-free
PATCH 1/2 toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
Quoted 11 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Arnout" == Arnout Vandecappelle <[email protected]> writes:
Quoted 8 lines · Giulio Benetti
On Nios II binutils it still present ld bug 27597 leading to a package libgeos to fail building:
http://autobuild.buildroot.net/results/a05fdf1958f93a206c5c66c7f636b6650683626d/http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/The bug was already reported and it's been updated:
https://sourceware.org/bugzilla/show_bug.cgi?id=27597Signed-off-by Giulio Benetti <[email protected]>
Committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/libgeos: disable package if binutils is affected from bug 21464
In reply to Giulio BenettiQuoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Giulio" == Giulio Benetti <[email protected]> writes:
This package is affected from binutils bug 21464, since there is no workaround, let's disable it.
Quoted 7 lines
Fixes:
http://autobuild.buildroot.net/results/3eb/3eb9f9d0f6d8274b2d19753c006bd83f7d536e3c/Signed-off-by Giulio Benetti <[email protected]>---
This patch must be applied after this patchset:
https://patchwork.ozlabs.org/project/buildroot/list/?series=232409
Committed to 2021.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard