--- Log opened Tue Dec 12 00:00:55 2017 | ||
shorne_ | bandvig: as far as I have worked on directly yes, but gcc's __sync_ builtins use it, so any apps using those will use lwa/swa | 01:01 |
---|---|---|
shorne_ | also, libc's (uclibc and musl) use lwa/swa in threading and locking support | 01:02 |
shorne_ | the kernel even provides emulation (via illegal instruction handler) in case your implementation doesnt support it | 01:03 |
shorne_ | wbx: I put some patches up | 05:58 |
shorne_ | I am going to test, then maybe we should post to your patchwork? | 05:59 |
shorne_ | https://github.com/stffrdhrn/uclibc-ng-test/commits/gen-syscall | 05:59 |
shorne_ | and | 05:59 |
shorne_ | https://github.com/stffrdhrn/uclibc-ng/commits/gen-syscall | 05:59 |
shorne_ | The nds32 and arc changes would need acks from those maintainers, do you know if they are very active? | 06:03 |
shenki | $ qemu-or1k -L ~/dev/buildroot-openrisc/output/target ./tst-syscall6 | 06:22 |
shenki | qemu: Unsupported syscall: 287 | 06:22 |
shenki | failed to write to fd | 06:22 |
shenki | :( | 06:22 |
shenki | shorne_: when i run tst-syscall6 on the target, i get some strange junk after the printf("syscall(SYS_preadv2) read %s") call | 06:44 |
shenki | # strace ./tst-syscall6 2> /dev/null | hexdump -C | 06:44 |
shenki | 00000000 73 79 73 63 61 6c 6c 28 53 59 53 5f 70 72 65 61 |syscall(SYS_prea| | 06:44 |
shenki | 00000010 64 76 32 29 20 72 65 61 64 20 77 6f 72 6c 64 0a |dv2) read world.| | 06:44 |
shenki | 00000020 d2 0c 30 10 25 d4 0a |..0.%..| | 06:44 |
shenki | it doesnt happen when I run the test on my laptop, built natively | 06:44 |
shorne_ | shenki: thanks you are fast to check | 07:50 |
shorne_ | Thats something I expected, but was testing, the buffers written to the file use length strlen(..) | 07:51 |
shorne_ | so it doesnt write the \0 (null terminator) | 07:51 |
shorne_ | I didnt change it because it was also working on my host | 07:52 |
shorne_ | So, I wanted to check on a few more | 07:52 |
shorne_ | I have amended the test commit now | 08:01 |
shenki | shorne_: nice, looks good now | 08:06 |
shorne_ | shenki: thanks for checking | 08:15 |
-!- shorne_ is now known as shorne | 08:17 | |
shorne | I confirmed as well it works on my openrisc target | 09:05 |
shorne | it took me a while, I built all from scratch | 09:06 |
shorne | GDB is now upstream | 09:59 |
wbx | shorne: arc are active, nds32 normally answer when I directly address them. | 14:11 |
_franck_ | shorne: well done | 14:40 |
wallento | oh, look there, how early the FOSSi Foundation managed to get ORConf arranged this time ;) https://orconf.org/ | 15:42 |
wallento | save the date people, we will publicly announce the next edition of ORConf over the next days | 15:43 |
--- Log closed Wed Dec 13 00:00:56 2017 |
Generated by irclog2html.py 2.15.2 by Marius Gedminas - find it at mg.pov.lt!