Sunday, 2019-09-15

*** tpb has joined #openrisc00:00
shorneysionneau: I am making progress on TLS02:01
shorneThe fix I made allows the linker to work and I confirmed access works for LE and IE type access02:02
shornebut GD is having problem, this test mixes GD, LE, IE and LD access to the same variable02:02
shorneit seems that mixing IE and LD is causing the .got table entries to be messed up02:03
shorneI mean mixing IE and GD02:03
shornei.e. if first writes the entry IE, i.e. just the tp_offset to the .got02:04
shornethen it tries to write GD (mod + tpoffset) to the .got at the same place, it skips this because it protects from doing 2 writes02:04
shorneso, IE access works fine, but GD access fails, because the .got entry is wrong02:05
shorne(Thats what it looks like at least)02:06
shorneI will have to fix the linker02:06
shorneagain :(02:06
*** tpb has joined #openrisc03:49
shorneI think I fixed it, made a patch08:12
*** rohitksingh has quit IRC10:28
*** o01eg has joined #openrisc11:55
*** ZipCPU has quit IRC17:25
*** ZipCPU has joined #openrisc17:48
*** rohitksingh has joined #openrisc17:53
*** rohitksingh has quit IRC18:09
*** rohitksingh has joined #openrisc18:12
ysionneau04:01 < shorne> ysionneau: I am making progress on TLS < great!22:07
ysionneauon our k1c port, only 12 non-passing uClibc tests so far regarding nptl/pthread/tls22:08
ysionneaubut those involve pthread_cancel stuff ... (exceptions...)22:08
ysionneauthat topic seems to be some kind of nightmare22:08
*** rohitksingh has quit IRC22:46
*** rohitksingh has joined #openrisc22:53
*** rohitksingh has quit IRC23:06
*** rohitksingh has joined #openrisc23:10
shorneysionneau: I had to work on one pthread_cancel bug, I might have the mailthread.  It was interesting23:24
shorneah, it was this patch: https://patchwork.ozlabs.org/patch/590640/23:26
tpbTitle: [RFC] linux-user: Use SIGRTMAX-1 for guest SIGRTMIN+1 to avoid conflict with host libc - Patchwork (at patchwork.ozlabs.org)23:26
shornethat patch fixed an issue running pthread_cancel on qemu-user* mode23:27
shorneIt might not explain your issue23:27
shorne~~~23:27
shorneMy TLS linker patch doesnt fix the issue23:28

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!