Skip to contentSkip to conversation

musl: Update to tip of trunk

PATCH Superseded Khem Raj 2 participants 3 messages Oct 27, 2021 – Oct 28, 2021

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 musl: Update to tip of trunk

This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy
* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/musl/musl_git.bb +1 -1
index 06b0e060d0..82fd9e9079 100644
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "3f701faace7addc75d16dea8a6cd769fa5b3f260"
+SRCREV = "b76f37fd5625d038141b52184956fb4b7838e9a5"
 
 BASEVER = "1.2.2"
 
Signature · 1 line
2.33.1
#1 lore raw

Hey Khem,

I believe this is the cause of:

https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/4268/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/4266/steps/12/logs/stdio
https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/4252/steps/13/logs/stdio

[   82.973565] python3[11480]: segfault at 1 ip bfcee8d4 sp bfcee63c error 6
[   82.974156] Code: ce bf e6 08 c9 b6 3c ea ce bf 0f 00 00 00 08 00 00 00 d4 e8 ce bf 80 04 c9 b6 8c 33 73 b4 01 00 00 00 f0 da ce b6 fc 74 75 b4 <30> 16 d0 b6 00 00 00 00 c3 17 ed 1f c0 45 7a b4 a6 08 c9 b6 f8 9b
[   85.101543] traps: python3[11550] trap invalid opcode ip:bfe4fe5c sp:bfe4fbfc error:0
[   86.683349] python3[11620]: segfault at bf95ea71 ip bf953234 sp bf952f9c error 6
[   86.683997] Code: 95 bf e6 98 c6 b6 9c 33 95 bf 02 00 00 00 08 00 00 00 34 32 95 bf 80 94 c6 b6 68 9b 81 b4 01 00 00 00 f0 6a cc b6 40 31 77 b4 <30> a6 cd b6 00 00 00 00 46 59 6a 4e f0 9e 78 b4 a6 98 c6 b6 f8 2b
[   88.255210] python3[11690]: segfault at bfd95459 ip bfd89c14 sp bfd8997c error 6
[   88.255927] Code: d8 bf e6 78 ce b6 7c 9d d8 bf 02 00 00 00 08 00 00 00 14 9c d8 bf 80 74 ce b6 98 7b 89 b4 01 00 00 00 f0 4a d4 b6 10 91 80 b4 <30> 86 d5 b6 00 00 00 00 ce 99 0a 2d 50 f4 93 b4 a6 78 ce b6 f8 0b
[   91.137778] traps: python3[11760] general protection fault ip:bfe6b9b8 sp:bfe6b71c error:4790

Sounds fun :/

Quoted 39 lines · Khem Raj

This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer arithmetic and memcpy
* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/musl/musl_git.bb +1 -1
index 06b0e060d0..82fd9e9079 100644
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "3f701faace7addc75d16dea8a6cd769fa5b3f260"
+SRCREV = "b76f37fd5625d038141b52184956fb4b7838e9a5"
 
 BASEVER = "1.2.2"
 
Signature · 11 lines
2.33.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157565): https://lists.openembedded.org/g/openembedded-core/message/157565
Mute This Topic: https://lists.openembedded.org/mt/86635702/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
author
#2 lore raw
Quoted 29 lines · Alexandre Belloni

Hey Khem,

I believe this is the cause of:

https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/4268/steps/12/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/45/builds/4266/steps/12/logs/stdio

https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/4252/steps/13/logs/stdio

[   82.973565] python3[11480]: segfault at 1 ip bfcee8d4 sp bfcee63c error
6
[   82.974156] Code: ce bf e6 08 c9 b6 3c ea ce bf 0f 00 00 00 08 00 00 00
d4 e8 ce bf 80 04 c9 b6 8c 33 73 b4 01 00 00 00 f0 da ce b6 fc 74 75 b4
<30> 16 d0 b6 00 00 00 00 c3 17 ed 1f c0 45 7a b4 a6 08 c9 b6 f8 9b
[   85.101543] traps: python3[11550] trap invalid opcode ip:bfe4fe5c
sp:bfe4fbfc error:0
[   86.683349] python3[11620]: segfault at bf95ea71 ip bf953234 sp
bf952f9c error 6
[   86.683997] Code: 95 bf e6 98 c6 b6 9c 33 95 bf 02 00 00 00 08 00 00 00
34 32 95 bf 80 94 c6 b6 68 9b 81 b4 01 00 00 00 f0 6a cc b6 40 31 77 b4
<30> a6 cd b6 00 00 00 00 46 59 6a 4e f0 9e 78 b4 a6 98 c6 b6 f8 2b
[   88.255210] python3[11690]: segfault at bfd95459 ip bfd89c14 sp
bfd8997c error 6
[   88.255927] Code: d8 bf e6 78 ce b6 7c 9d d8 bf 02 00 00 00 08 00 00 00
14 9c d8 bf 80 74 ce b6 98 7b 89 b4 01 00 00 00 f0 4a d4 b6 10 91 80 b4
<30> 86 d5 b6 00 00 00 00 ce 99 0a 2d 50 f4 93 b4 a6 78 ce b6 f8 0b
[   91.137778] traps: python3[11760] general protection fault ip:bfe6b9b8
Quoted 3 lines

sp:bfe6b71c error:4790

Sounds fun :/

Interesting, my tests were with clang and I did not observe this locally I will try to dig down and see what could be causing it

Quoted 53 lines · Khem Raj
Quoted 5 lines

This brings following fixes

* b76f37fd add qsort_r and make qsort a wrapper around it
* 7be59733 add SPE FPU support to powerpc-sf
* e3e7189c fix undefined behavior in getdelim via null pointer

arithmetic and memcpy

Review

Quoted 9 lines

* b713b8b2 fix excessively slow TLS performance on some mips models
* 3eed6a6f fix error checking in pthread_getname_np

---
 meta/recipes-core/musl/musl_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-core/musl/musl_git.bb

Quoted 17 lines

index 06b0e060d0..82fd9e9079 100644

meta/recipes-core/musl/musl_git.bb +1 -2
@@ -4,7 +4,7 @@
 require musl.inc
 inherit linuxloader
 
-SRCREV = "3f701faace7addc75d16dea8a6cd769fa5b3f260"
+SRCREV = "b76f37fd5625d038141b52184956fb4b7838e9a5"
 
 BASEVER = "1.2.2"
 
--

2.33.1

Quoted 3 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#157565):

https://lists.openembedded.org/g/openembedded-core/message/157565

Quoted 3 lines

Mute This Topic: https://lists.openembedded.org/mt/86635702/3617179
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [

[email protected]]

Quoted 2 lines

-=-=-=-=-=-=-=-=-=-=-=-

--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com