Kito Cheng
unread,Sep 19, 2018, 9:50:49 PM9/19/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pat...@groups.riscv.org, binu...@sourceware.org, Palmer Dabbelt, Zong Li
Oh, damm, I am so careless...rv32 glibc supporting[1] is under review,
and its using lib32/<abi> as search path, so this change is
prerequirement of rv32 glibc.
Code snippet from [1]:
sysdeps/unix/sysv/linux/riscv/dl-cache.h | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/riscv/dl-cache.h
b/sysdeps/unix/sysv/linux/riscv/dl-cache.h
index cbd6ef5..f3a999a 100644
--- a/sysdeps/unix/sysv/linux/riscv/dl-cache.h
+++ b/sysdeps/unix/sysv/linux/riscv/dl-cache.h
@@ -34,6 +34,8 @@
RISC-V, libraries can be found in paths ending in:
- /lib64/lp64d
- /lib64/lp64
+ - /lib32/ilp32d
+ - /lib32/ilp32
- /lib (only ld.so)
so this will add all of those paths.
[1]
https://sourceware.org/ml/libc-alpha/2018-07/msg00470.html
> --
> You received this message because you are subscribed to the Google Groups "RISC-V Patches" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
patches+u...@groups.riscv.org.
> To post to this group, send email to
pat...@groups.riscv.org.
> Visit this group at
https://groups.google.com/a/groups.riscv.org/group/patches/.
> To view this discussion on the web visit
https://groups.google.com/a/groups.riscv.org/d/msgid/patches/CAFyWVaYUpha9RWMfjfzfG9y0u0%2BiPJzLwQLH12qCtGfVWLQR1g%40mail.gmail.com.
> For more options, visit
https://groups.google.com/a/groups.riscv.org/d/optout.