package: remove _gp issue workaround for Codesourcery nios2 toolchain
PATCH 1/3 package: remove _gp issue workaround for Codesourcery nios2 toolchain
The _gp link issue has been fixed in CS nios2 2015.11.
---
All package has been build tested with this toolchain.
--- package/aiccu/Config.in | 3 --- package/crda/Config.in | 3 --- package/cryptsetup/Config.in | 3 --- package/dmraid/Config.in | 4 ---- package/janus-gateway/Config.in | 2 -- package/libmicrohttpd/Config.in | 3 --- package/libssh2/Config.in | 2 -- package/libupnpp/Config.in | 3 --- package/mesa3d/Config.in | 3 --- package/mosquitto/Config.in | 3 --- package/php-ssh2/Config.in | 2 -- package/upmpdcli/Config.in | 3 --- 12 files changed, 34 deletions(-)
package/aiccu/Config.in +0 -3
@@ -3,8 +3,6 @@ config BR2_PACKAGE_AICCU depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII select BR2_PACKAGE_GNUTLS help SixXS Automatic IPv6 Connectivity Client Utility
@@ -23,4 +21,3 @@ config BR2_PACKAGE_AICCU comment "aiccu needs a toolchain w/ wchar, threads" depends on BR2_USE_MMU depends on !(BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS) - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/crda/Config.in +0 -3
@@ -6,8 +6,6 @@ config BR2_PACKAGE_CRDA select BR2_PACKAGE_LIBNL # regdb is a runtime dependency select BR2_PACKAGE_WIRELESS_REGDB - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help Central Regulatory Domain Agent.
@@ -20,4 +18,3 @@ config BR2_PACKAGE_CRDA comment "crda needs a toolchain w/ threads, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/cryptsetup/Config.in +0 -3
@@ -9,8 +9,6 @@ config BR2_PACKAGE_CRYPTSETUP depends on BR2_USE_MMU # lvm2 depends on !BR2_STATIC_LIBS # lvm2 depends on BR2_USE_WCHAR # util-linux - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help This tool helps manipulate dm-crypt and luks partitions for on-disk encryption.
@@ -20,4 +18,3 @@ config BR2_PACKAGE_CRYPTSETUP comment "cryptsetup needs a toolchain w/ wchar, threads, dynamic library" depends on BR2_USE_MMU depends on !BR2_USE_WCHAR || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/dmraid/Config.in +0 -4
@@ -3,8 +3,6 @@ config BR2_PACKAGE_DMRAID depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2 depends on BR2_USE_MMU # lvm2 depends on !BR2_STATIC_LIBS # lvm2 - # dmraid triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII select BR2_PACKAGE_LVM2 help dmraid discovers, activates, deactivates and displays properties
@@ -15,6 +13,4 @@ config BR2_PACKAGE_DMRAID comment "dmraid needs a toolchain w/ threads, dynamic library" depends on BR2_USE_MMU - # dmraid triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
package/janus-gateway/Config.in +0 -2
@@ -11,7 +11,6 @@ config BR2_PACKAGE_JANUS_GATEWAY depends on BR2_USE_WCHAR # libnice -> libglib2 depends on BR2_USE_MMU # libnice depends on !BR2_STATIC_LIBS # dlopen - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libmicrohttpd help Janus is an open source, general purpose, WebRTC gateway designed and developed by Meetecho.
@@ -21,4 +20,3 @@ config BR2_PACKAGE_JANUS_GATEWAY comment "janus-gateway needs a toolchain w/ dynamic library, threads, wchar" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/libmicrohttpd/Config.in +0 -3
@@ -1,8 +1,6 @@ config BR2_PACKAGE_LIBMICROHTTPD bool "libmicrohttpd" depends on BR2_TOOLCHAIN_HAS_THREADS - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help GNU libmicrohttpd is a small C library that makes it easy to run an HTTP server as part of another application.
@@ -26,4 +24,3 @@ endif comment "libmicrohttpd needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/libssh2/Config.in +0 -2
@@ -1,8 +1,6 @@ config BR2_PACKAGE_LIBSSH2 bool "libssh2" select BR2_PACKAGE_LIBGCRYPT if !BR2_PACKAGE_OPENSSL - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help libssh2 is a client-side C library implementing the SSH2 protocol as defined by Internet Drafts: SECSH-TRANS(22),
package/libupnpp/Config.in +0 -3
@@ -6,8 +6,6 @@ config BR2_PACKAGE_LIBUPNPP depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # libupnp depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help The libupnpp C++ library wraps libupnp for easier use by upmpdcli and upplay.
@@ -15,5 +13,4 @@ config BR2_PACKAGE_LIBUPNPP http://www.lesbonscomptes.com/upmpdcli/ comment "libupnpp needs a toolchain w/ C++, threads, gcc >= 4.6" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
package/mesa3d/Config.in +0 -3
@@ -3,8 +3,6 @@ menuconfig BR2_PACKAGE_MESA3D depends on BR2_INSTALL_LIBSTDCPP depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL - # Triggers the _gp link issue in nios2 - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII select BR2_PACKAGE_LIBDRM select BR2_PACKAGE_EXPAT select BR2_PACKAGE_XPROTO_DRI2PROTO if BR2_PACKAGE_XORG7
@@ -169,6 +167,5 @@ config BR2_PACKAGE_PROVIDES_LIBGLES endif # BR2_PACKAGE_MESA3D comment "mesa3d needs a toolchain w/ C++, NPTL, dynamic library" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ BR2_STATIC_LIBS
package/mosquitto/Config.in +0 -3
@@ -2,8 +2,6 @@ config BR2_PACKAGE_MOSQUITTO bool "mosquitto" depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # builds .so - # Triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol versions 3.1 and
@@ -18,4 +16,3 @@ config BR2_PACKAGE_MOSQUITTO comment "mosquitto needs a toolchain w/ dynamic library" depends on BR2_USE_MMU depends on BR2_STATIC_LIBS - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/php-ssh2/Config.in +0 -2
@@ -2,8 +2,6 @@ config BR2_PACKAGE_PHP_SSH2 bool "php-ssh2" depends on BR2_PACKAGE_PHP select BR2_PACKAGE_LIBSSH2 - # Triggers the _gp link issue (libssh2) - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help PHP bindings for the libssh2 library.
package/upmpdcli/Config.in +0 -3
@@ -5,8 +5,6 @@ config BR2_PACKAGE_UPMPDCLI depends on BR2_INSTALL_LIBSTDCPP depends on BR2_TOOLCHAIN_HAS_THREADS # libupnpp -> libupnp depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_6 - # libupnpp triggers the _gp link issue - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII help upmpdcli is a UPnP Media Renderer front-end for MPD, the Music Player Daemon. It supports UPnP gapless track transitions and
@@ -15,5 +13,4 @@ config BR2_PACKAGE_UPMPDCLI http://www.lesbonscomptes.com/upmpdcli/ comment "upmpdcli needs a toolchain w/ C++, threads, gcc >= 4.6" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_6
Signature · 1 line
2.5.0
PATCH 2/3 package/libcap-ng: enable for CodeSourcery nios2 2015.11 toolchain
The compiler bug has been fixed in CS nios2 2015.11.
---
All package has been build tested with this toolchain.
--- package/connman/Config.in | 1 - package/libcap-ng/Config.in | 1 - package/ofono/Config.in | 2 -- package/util-linux/Config.in | 1 - 4 files changed, 5 deletions(-)
package/connman/Config.in +0 -1
@@ -54,7 +54,6 @@ config BR2_PACKAGE_CONNMAN_NEARD config BR2_PACKAGE_CONNMAN_OFONO bool "enable ofono support" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libcap-ng depends on BR2_TOOLCHAIN_HAS_SYNC_4 # ofono select BR2_PACKAGE_OFONO
package/libcap-ng/Config.in +0 -1
@@ -1,6 +1,5 @@ config BR2_PACKAGE_LIBCAP_NG bool "libcap-ng" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # triggers compiler bug help The libcap-ng library is intended to make programming with posix capabilities much easier than the traditional libcap
package/ofono/Config.in +0 -2
@@ -3,7 +3,6 @@ config BR2_PACKAGE_OFONO depends on BR2_USE_WCHAR # gettext, libglib2 depends on BR2_TOOLCHAIN_HAS_THREADS # dbus, libglib2 depends on BR2_USE_MMU # dbus, libglib2 - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libcap-ng depends on !BR2_STATIC_LIBS # dlopen() depends on BR2_TOOLCHAIN_HAS_SYNC_4 select BR2_PACKAGE_LIBCAP_NG
@@ -21,4 +20,3 @@ comment "ofono needs a toolchain w/ dynamic library, wchar, threads" depends on BR2_USE_MMU depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
package/util-linux/Config.in +0 -1
@@ -222,7 +222,6 @@ config BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS config BR2_PACKAGE_UTIL_LINUX_SETPRIV bool "setpriv" - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII # libcap-ng select BR2_PACKAGE_LIBCAP_NG help Run a program with different Linux privilege settings
Signature · 1 line
2.5.0
PATCH 3/3 package/lxc: enable for CodeSourcery nios2 2015.11 toolchain
In reply to Romain NaourThe CS nios2 2015.11 is based on kernel header 4.2 which must now provide the setns syscall for nios2.
---
Build tested only.
--- package/lxc/Config.in | 3 --- 1 file changed, 3 deletions(-)
package/lxc/Config.in +0 -3
@@ -5,8 +5,6 @@ config BR2_PACKAGE_LXC depends on BR2_USE_MMU # fork() # build system forcefully builds a shared library depends on !BR2_STATIC_LIBS - # the toolchain doesn't support setns syscall - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libcap help Linux Containers (LXC), provides the ability to group and isolate
@@ -17,7 +15,6 @@ config BR2_PACKAGE_LXC comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library" depends on BR2_USE_MMU - depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII depends on !BR2_TOOLCHAIN_HAS_THREADS \ || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \ || BR2_STATIC_LIBS
Signature · 1 line
2.5.0
PATCH 1/3 package: remove _gp issue workaround for Codesourcery nios2 toolchain
In reply to Romain NaourDear Romain Naour,
Quoted 5 lines · Romain Naour
The
_gplink issue has been fixed in CS nios2 2015.11.Signed-off-by Romain Naour <[email protected]>---
All package has been build tested with this toolchain.
Quoted 14 lines
--- package/aiccu/Config.in | 3 --- package/crda/Config.in | 3 --- package/cryptsetup/Config.in | 3 --- package/dmraid/Config.in | 4 ---- package/janus-gateway/Config.in | 2 -- package/libmicrohttpd/Config.in | 3 --- package/libssh2/Config.in | 2 -- package/libupnpp/Config.in | 3 --- package/mesa3d/Config.in | 3 --- package/mosquitto/Config.in | 3 --- package/php-ssh2/Config.in | 2 -- package/upmpdcli/Config.in | 3 --- 12 files changed, 34 deletions(-)
All three patches applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com