setools: disable arch sparc64
PATCH 1/1 setools: disable arch sparc64
Currently the buildroot sparc64 toolchain encounters a series of relocation errors. i.e.policy_scan.c: relocation truncated to fit: R_SPARC_GOT13 against symbol ....
Workaround for numerous autobuilder failures, including:
http://autobuild.buildroot.net/results/ba1/ba1e473178bb66ebc43897b20e534606d2577ee3/
--- package/setools/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/setools/Config.in +3 -2
@@ -12,7 +12,8 @@ config BR2_PACKAGE_SETOOLS # nios2: triggers some toolchain issue "No symbol version # section for versioned symbol" # arc: libselinux not available - depends on !BR2_nios2 && !BR2_bfin && !BR2_arc + # sparc64: relocation truncated to fit: R_SPARC_GOT13 against sym + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc && !BR2_sparc64 help SETools is an open source project designed to facilitate SELinux policy analysis. The primary tools are:
@@ -31,4 +32,4 @@ config BR2_PACKAGE_SETOOLS comment "setools needs a toolchain w/ threads, C++, wchar, dynamic library" depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \ || !BR2_USE_WCHAR || !BR2_INSTALL_LIBSTDCPP - depends on !BR2_nios2 && !BR2_bfin && !BR2_arc + depends on !BR2_nios2 && !BR2_bfin && !BR2_arc && !BR2_sparc64
Signature · 1 line
2.5.0
PATCH 1/1 setools: disable arch sparc64
Hello,
Quoted 11 lines · Matt Weber
Currently the buildroot sparc64 toolchain encounters a series of relocation errors. i.e.
policy_scan.c: relocation truncated to fit:R_SPARC_GOT13against symbol ....Workaround for numerous autobuilder failures, including:
http://autobuild.buildroot.net/results/ba1/ba1e473178bb66ebc43897b20e534606d2577ee3/Signed-off-by Matt Weber <[email protected]>--- package/setools/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
IMO, it can be made to work quite easily on sparc64, it's just a matter of using -fPIE to build, and not -fpie.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 setools: disable arch sparc64
Thomas,
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 7 lines · Matt Weber
Currently the buildroot sparc64 toolchain encounters a series of relocation errors. i.e.
policy_scan.c: relocation truncated to fit:R_SPARC_GOT13against symbol ....Workaround for numerous autobuilder failures, including:
http://autobuild.buildroot.net/results/ba1/ba1e473178bb66ebc43897b20e534606d2577ee3/
Quoted 8 lines
Quoted 4 lines
Signed-off-by Matt Weber <[email protected]>--- package/setools/Config.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)IMO, it can be made to work quite easily on sparc64, it's just a matter of using -fPIE to build, and not -fpie.
Good to know. I'll reject this patch and do some further testing.
Signature · 2 lines
Thanks, Matt
PATCH 1/1 setools: disable arch sparc64
Hello,
Quoted 1 line · Matthew Weber
Good to know. I'll reject this patch and do some further testing.
In fact, it's just -fPIC vs. -fpic. I've committed a fix:
https://git.busybox.net/buildroot/commit/?id=8a2e75633f136f021692354434ac0b2d9a81e38c
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com
PATCH 1/1 setools: disable arch sparc64
Thomas,
Quoted 10 lines · Thomas Petazzoni
Hello,
Quoted 1 line · Matthew Weber
Good to know. I'll reject this patch and do some further testing.
In fact, it's just -fPIC vs. -fpic. I've committed a fix:
https://git.busybox.net/buildroot/commit/?id=8a2e75633f136f021692354434ac0b2d9a81e38c
Quoted 1 line
Appreciated!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160326/5397be91/attachment.html>