Skip to contentSkip to conversation

libgee: disable for external CS PowerPC toolchain

PATCH New Jörg Krause 2 participants 2 messages May 1, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libgee: disable for external CS PowerPC toolchain

The external CodeSourcery PowerPC toolchain is unable to build libgee successfully resuling in an internal compiler error:

hazardpointer.c: In function 'gee_hazard_pointer_release_policy_ensure_start':
hazardpointer.c:845:1: error: insn does not satisfy its constraints:
(insn 151 150 152 8 hazardpointer.c:838 (set (reg:SI 11 11)

        (plus:SI (reg:SI 0 0 [orig:128 D.16455 ] [128])
            (const_int -2147483648 [0xffffffff80000000]))) 82 {*addsi3_internal1} (nil))

hazardpointer.c:845:1: internal compiler error: in copyprop_hardreg_forward_1, at regcprop.c:768

Fixes:
http://autobuild.buildroot.net/results/935/935ac42c30ed893939c06c077534f060aed80e9a/
http://autobuild.buildroot.net/results/df2/df2bf31f84ad6f852b1bb53a5005d72c44984f0b/
http://autobuild.buildroot.net/results/df2/df2bf31f84ad6f852b1bb53a5005d72c44984f0b/
http://autobuild.buildroot.net/results/df2/df2bf31f84ad6f852b1bb53a5005d72c44984f0b/
.. and many more.

---
 package/libgee/Config.in | 2 ++
 1 file changed, 2 insertions(+)
package/libgee/Config.in +2 -0
index 07c387c..ba46631 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_LIBGEE
 	bool "libgee"
+	# These result in internal compiler error
+	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC
 	depends on BR2_USE_WCHAR
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_USE_MMU # fork()
Signature · 1 line
2.8.2
#1 lore raw

PATCH 1/1 libgee: disable for external CS PowerPC toolchain

Hello,

Quoted 9 lines · J?rg Krause

The external CodeSourcery PowerPC toolchain is unable to build libgee successfully resuling in an internal compiler error:

hazardpointer.c: In function 'gee_hazard_pointer_release_policy_ensure_start':
hazardpointer.c:845:1: error: insn does not satisfy its constraints:
(insn 151 150 152 8 hazardpointer.c:838 (set (reg:SI 11 11)

        (plus:SI (reg:SI 0 0 [orig:128 D.16455 ] [128])
            (const_int -2147483648 [0xffffffff80000000]))) 82 {*addsi3_internal1} (nil))

hazardpointer.c:845:1: internal compiler error: in copyprop_hardreg_forward_1, at regcprop.c:768

Thanks for the patch, but Gustavo had already submitted a patch that completely removes the Sourcery PowerPC toolchains from Buildroot, as they are too old and causing too many problems.

I've marked your patch as "Rejected" in patchwork.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com