Skip to contentSkip to conversation

libopus: upgrade to version 1.1.2

PATCH Superseded Matthieu Crapet 3 participants 5 messages Feb 10, 2016 – Feb 26, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libopus: upgrade to version 1.1.2

https://git.xiph.org/?p=opus.git;a=commit;h=655cc54c564b84ef2827f0b2152ce3811046201e
ARM thumb compilation has been fixed.

---
 .../libopus/{libopus_1.1.bb => libopus_1.1.2.bb}       | 18 ++----------------
 1 file changed, 2 insertions(+), 16 deletions(-)
 rename meta-oe/recipes-multimedia/libopus/{libopus_1.1.bb => libopus_1.1.2.bb} (34%)
meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb renamed from meta-oe/recipes-multimedia/libopus/libopus_1.1.bb +2 -16
similarity index 34%
rename from meta-oe/recipes-multimedia/libopus/libopus_1.1.bb
rename to meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb
index 948d4df..accfca7 100644
@@ -9,8 +9,8 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
 
 SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
-SRC_URI[md5sum] = "c5a8cf7c0b066759542bc4ca46817ac6"
-SRC_URI[sha256sum] = "b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95"
+SRC_URI[md5sum] = "1f08a661bc72930187893a07f3741a91"
+SRC_URI[sha256sum] = "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
 
 S = "${WORKDIR}/opus-${PV}"
 
@@ -18,17 +18,3 @@ inherit autotools pkgconfig
 
 require libopus-fpu.inc
 EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"
-
-# Fails to build with thumb-1 (qemuarm)
-#| {standard input}: Assembler messages:
-#| {standard input}:389: Error: selected processor does not support Thumb mode `smull r5,r7,r1,r4'
-#| {standard input}:418: Error: selected processor does not support Thumb mode `smull r5,r6,r4,r1'
-#| {standard input}:448: Error: selected processor does not support Thumb mode `smull r4,r5,r1,r0'
-#| {standard input}:474: Error: selected processor does not support Thumb mode `smull r0,r4,r8,r1'
-#| {standard input}:510: Error: selected processor does not support Thumb mode `smull fp,r0,r10,r1'
-#| {standard input}:553: Error: selected processor does not support Thumb mode `smull fp,r1,r10,r3'
-#| {standard input}:741: Error: selected processor does not support Thumb mode `smull r3,r0,r6,r10'
-#| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9'
-#| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8'
-#| make[2]: *** [celt/celt.lo] Error 1
-ARM_INSTRUCTION_SET = "arm"

--
1.8.5.4

This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le.

#1 lore raw

PATCH v2 1/1 libopus: upgrade to version 1.1.2

https://git.xiph.org/?p=opus.git;a=commit;h=655cc54c564b84ef2827f0b2152ce3811046201e
ARM thumb compilation is broken for armv5 but not for armv6, armv7 & arvm8.

---
 .../libopus/{libopus_1.1.bb => libopus_1.1.2.bb}   | 36 ++++++++++++++--------
 1 file changed, 24 insertions(+), 12 deletions(-)
 rename meta-oe/recipes-multimedia/libopus/{libopus_1.1.bb => libopus_1.1.2.bb} (24%)
meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb renamed from meta-oe/recipes-multimedia/libopus/libopus_1.1.bb +24 -12
similarity index 24%
rename from meta-oe/recipes-multimedia/libopus/libopus_1.1.bb
rename to meta-oe/recipes-multimedia/libopus/libopus_1.1.2.bb
index 948d4df..35f8574 100644
@@ -9,8 +9,8 @@ LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e304cdf74c2a1b0a33a5084c128a23a3"
 
 SRC_URI = "http://downloads.xiph.org/releases/opus/opus-${PV}.tar.gz"
-SRC_URI[md5sum] = "c5a8cf7c0b066759542bc4ca46817ac6"
-SRC_URI[sha256sum] = "b9727015a58affcf3db527322bf8c4d2fcf39f5f6b8f15dbceca20206cbe1d95"
+SRC_URI[md5sum] = "1f08a661bc72930187893a07f3741a91"
+SRC_URI[sha256sum] = "0e290078e31211baa7b5886bcc8ab6bc048b9fc83882532da4a1a45e58e907fd"
 
 S = "${WORKDIR}/opus-${PV}"
 
@@ -21,14 +21,26 @@ EXTRA_OECONF = "${@get_libopus_fpu_setting(bb, d)}"
 
 # Fails to build with thumb-1 (qemuarm)
 #| {standard input}: Assembler messages:
-#| {standard input}:389: Error: selected processor does not support Thumb mode `smull r5,r7,r1,r4'
-#| {standard input}:418: Error: selected processor does not support Thumb mode `smull r5,r6,r4,r1'
-#| {standard input}:448: Error: selected processor does not support Thumb mode `smull r4,r5,r1,r0'
-#| {standard input}:474: Error: selected processor does not support Thumb mode `smull r0,r4,r8,r1'
-#| {standard input}:510: Error: selected processor does not support Thumb mode `smull fp,r0,r10,r1'
-#| {standard input}:553: Error: selected processor does not support Thumb mode `smull fp,r1,r10,r3'
-#| {standard input}:741: Error: selected processor does not support Thumb mode `smull r3,r0,r6,r10'
-#| {standard input}:761: Error: selected processor does not support Thumb mode `smull fp,r2,r3,r9'
-#| {standard input}:773: Error: selected processor does not support Thumb mode `smull fp,r3,r5,r8'
+#| {standard input}:450: Error: selected processor does not support `smull r4,r8,r2,r0' in Thumb mode
+#| {standard input}:473: Error: selected processor does not support `smull r4,r10,r0,r2' in Thumb mode
+#| {standard input}:520: Error: selected processor does not support `smull r0,r4,r2,r1' in Thumb mode
+#| {standard input}:546: Error: selected processor does not support `smull r1,r0,ip,r2' in Thumb mode
+#| {standard input}:578: Error: selected processor does not support `smull fp,r1,r10,r2' in Thumb mode
+#| {standard input}:616: Error: selected processor does not support `smull fp,r2,r10,r3' in Thumb mode
+#| {standard input}:793: Error: selected processor does not support `smull ip,r9,r4,r0' in Thumb mode
+#| {standard input}:828: Error: selected processor does not support `smull fp,r10,ip,r1' in Thumb mode
+#| {standard input}:855: Error: selected processor does not support `smull fp,ip,r10,r7' in Thumb mode
+#| {standard input}:874: Error: selected processor does not support `smull ip,r9,r5,r0' in Thumb mode
+#| {standard input}:912: Error: selected processor does not support `smull fp,ip,r10,r0' in Thumb mode
+#| {standard input}:937: Error: selected processor does not support `smull r9,r10,r0,r7' in Thumb mode
+#| {standard input}:980: Error: selected processor does not support `smull ip,r9,r3,r0' in Thumb mode
+#| {standard input}:1009: Error: selected processor does not support `smull fp,ip,r10,r1' in Thumb mode
+#| {standard input}:1041: Error: selected processor does not support `smull r9,r4,r10,r7' in Thumb mode
+#| {standard input}:1071: Error: selected processor does not support `smull ip,r9,r0,r1' in Thumb mode
+#| {standard input}:1101: Error: selected processor does not support `smull fp,ip,r10,r0' in Thumb mode
+#| {standard input}:1132: Error: selected processor does not support `smull r9,r5,r10,r7' in Thumb mode
+#| {standard input}:1157: Error: selected processor does not support `smull ip,r9,r0,r1' in Thumb mode
+#| {standard input}:1187: Error: selected processor does not support `smull fp,ip,r10,r1' in Thumb mode
+#| {standard input}:1206: Error: selected processor does not support `smull r9,r10,r3,r7' in Thumb mode
 #| make[2]: *** [celt/celt.lo] Error 1
-ARM_INSTRUCTION_SET = "arm"
+ARM_INSTRUCTION_SET_armv5 = "arm"

--
1.9.1

This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le.

#2 lore raw

Hi,

I totally missed Carlos Rafael Giani's patch (2016.02.08). Please discard this thread.

Regards,
Matthieu
This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le.

#3 lore raw
Quoted 8 lines · Matthieu CRAPET

Hi,

I totally missed Carlos Rafael Giani's patch (2016.02.08). Please discard this thread.

Regards,
Matthieu
This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le. --

We are failing here currently as ne10 was not applied - so I get something like

| Missing or unbuildable dependency chain was: ['xfce4-games-image', 'packagegroup-image-full', 'mpd', 'libopus', 'ne10']

Andreas

#4 lore raw

This is because the ne10 build currently has a .text relocation problem. I am looking into it.

Quoted 16 lines · Andreas Müller
Quoted 8 lines · Matthieu CRAPET

Hi,

I totally missed Carlos Rafael Giani's patch (2016.02.08). Please discard this thread.

Regards,
Matthieu
This email and its content belong to Ingenico Group. The enclosed information is confidential and may not be disclosed to any unauthorized person. If you have received it by mistake do not forward it and delete it from your system. Cet email et son contenu sont la propriété du Groupe Ingenico. L’information qu’il contient est confidentielle et ne peut être communiquée à des personnes non autorisées. Si vous l’avez reçu par erreur ne le transférez pas et supprimez-le. --

We are failing here currently as ne10 was not applied - so I get something like

| Missing or unbuildable dependency chain was: ['xfce4-games-image', 'packagegroup-image-full', 'mpd', 'libopus', 'ne10']

Andreas