* [Buildroot] [PATCH] polarssl: disable assembly for MIPS R6
@ 2015-11-27 10:37 Vicente Olivert Riera
2015-11-27 12:22 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Vicente Olivert Riera @ 2015-11-27 10:37 UTC (permalink / raw)
To: buildroot
Is not yet supported and the compilation will fail like this:
[ 4%] Building C object library/CMakeFiles/polarssl.dir/bignum.c.o
/tmp/ccLDxl9G.s: Assembler messages:
/tmp/ccLDxl9G.s:92: Error: opcode not supported on this processor:
mips32r6 (mips32r6) `multu $13,$14'
/tmp/ccLDxl9G.s:93: Error: opcode not supported on this processor:
mips32r6 (mips32r6) `addi $10,$10,4'
/tmp/ccLDxl9G.s:94: Error: opcode not supported on this processor:
mips32r6 (mips32r6) `mflo $14'
/tmp/ccLDxl9G.s:95: Error: opcode not supported on this processor:
mips32r6 (mips32r6) `mfhi $9'
[...]
Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
---
| 3 +++
1 file changed, 3 insertions(+)
--git a/package/polarssl/polarssl.mk b/package/polarssl/polarssl.mk
index c589ec7..d988bf1 100644
--- a/package/polarssl/polarssl.mk
+++ b/package/polarssl/polarssl.mk
@@ -20,10 +20,13 @@ endef
# ARM in thumb mode breaks debugging with asm optimizations
# Microblaze asm optimizations are broken in general
+# MIPS R6 asm is not yet supported
ifeq ($(BR2_ENABLE_DEBUG)$(BR2_ARM_INSTRUCTIONS_THUMB)$(BR2_ARM_INSTRUCTIONS_THUMB2),yy)
POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
else ifeq ($(BR2_microblaze),y)
POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
+else ifeq ($(BR2_mips_32r6)$(BR2_mips_64r6),y)
+POLARSSL_POST_CONFIGURE_HOOKS += POLARSSL_DISABLE_ASM
endif
$(eval $(cmake-package))
--
2.4.10
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] polarssl: disable assembly for MIPS R6
2015-11-27 10:37 [Buildroot] [PATCH] polarssl: disable assembly for MIPS R6 Vicente Olivert Riera
@ 2015-11-27 12:22 ` Peter Korsgaard
2015-11-27 13:04 ` Vicente Olivert Riera
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2015-11-27 12:22 UTC (permalink / raw)
To: buildroot
>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
> Is not yet supported and the compilation will fail like this:
> [ 4%] Building C object library/CMakeFiles/polarssl.dir/bignum.c.o
> /tmp/ccLDxl9G.s: Assembler messages:
> /tmp/ccLDxl9G.s:92: Error: opcode not supported on this processor:
> mips32r6 (mips32r6) `multu $13,$14'
> /tmp/ccLDxl9G.s:93: Error: opcode not supported on this processor:
> mips32r6 (mips32r6) `addi $10,$10,4'
> /tmp/ccLDxl9G.s:94: Error: opcode not supported on this processor:
> mips32r6 (mips32r6) `mflo $14'
> /tmp/ccLDxl9G.s:95: Error: opcode not supported on this processor:
> mips32r6 (mips32r6) `mfhi $9'
> [...]
Committed after adding an autobuilder reference, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] [PATCH] polarssl: disable assembly for MIPS R6
2015-11-27 12:22 ` Peter Korsgaard
@ 2015-11-27 13:04 ` Vicente Olivert Riera
2015-11-27 14:15 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Vicente Olivert Riera @ 2015-11-27 13:04 UTC (permalink / raw)
To: buildroot
Hi Peter,
On 27/11/15 12:22, Peter Korsgaard wrote:
>>>>>> "Vicente" == Vicente Olivert Riera <Vincent.Riera@imgtec.com> writes:
>
> > Is not yet supported and the compilation will fail like this:
> > [ 4%] Building C object library/CMakeFiles/polarssl.dir/bignum.c.o
> > /tmp/ccLDxl9G.s: Assembler messages:
> > /tmp/ccLDxl9G.s:92: Error: opcode not supported on this processor:
> > mips32r6 (mips32r6) `multu $13,$14'
> > /tmp/ccLDxl9G.s:93: Error: opcode not supported on this processor:
> > mips32r6 (mips32r6) `addi $10,$10,4'
> > /tmp/ccLDxl9G.s:94: Error: opcode not supported on this processor:
> > mips32r6 (mips32r6) `mflo $14'
> > /tmp/ccLDxl9G.s:95: Error: opcode not supported on this processor:
> > mips32r6 (mips32r6) `mfhi $9'
>
> > [...]
>
> Committed after adding an autobuilder reference, thanks.
Where did you get that autobuilder reference from?
Regards,
Vincent.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-11-27 14:40 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-27 10:37 [Buildroot] [PATCH] polarssl: disable assembly for MIPS R6 Vicente Olivert Riera
2015-11-27 12:22 ` Peter Korsgaard
2015-11-27 13:04 ` Vicente Olivert Riera
2015-11-27 14:15 ` Peter Korsgaard
2015-11-27 14:23 ` Vicente Olivert Riera
2015-11-27 14:40 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox