Skip to contentSkip to conversation

polarssl: disable assembly for MIPS R6

PATCH New Vicente Olivert Riera 2 participants 6 messages Nov 27, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

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'

[...]

---
 package/polarssl/polarssl.mk | 3 +++
 1 file changed, 3 insertions(+)
package/polarssl/polarssl.mk +3 -0
index c589ec7..d988bf1 100644
@@ -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))
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> 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'

Quoted 1 line

[...]

Committed after adding an autobuilder reference, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

Hi Peter,

Quoted 14 lines · Peter Korsgaard
Quoted 13 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> 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'

Quoted 3 lines
Quoted 1 line

[...]

Committed after adding an autobuilder reference, thanks.

Where did you get that autobuilder reference from?

Regards,

Vincent.

#3 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Hi,

Quoted 3 lines
Quoted 1 line

Committed after adding an autobuilder reference, thanks.

Where did you get that autobuilder reference from?

Ehh, from the autobuilders:

http://autobuild.buildroot.net/?reason=polarssl-1.2.18

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard 
#4 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

Quoted 4 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Hi,

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

Committed after adding an autobuilder reference, thanks.

Where did you get that autobuilder reference from?

Ehh, from the autobuilders:

http://autobuild.buildroot.net/?reason=polarssl-1.2.18

Ah, I only look at the email that Thomas sends every morning.

Thanks!

#5 lore raw

PATCH 1/1 polarssl: disable assembly for MIPS R6

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vicente" == Vicente Olivert Riera <[email protected]> writes:

Hi,

Quoted 5 lines
Quoted 3 lines

Ehh, from the autobuilders:

http://autobuild.buildroot.net/?reason=polarssl-1.2.18

Ah, I only look at the email that Thomas sends every morning.

Ahh, http://autobuild.buildroot.net is for the impatient that want to see really fresh build failures ;)

Signature · 2 lines
Venlig hilsen,
Peter Korsgaard