openrisc / community-wiki

Community Wiki clone
1 stars 7 forks source link

uClibc Compile has an error: #2

Open dssds opened 7 years ago

dssds commented 7 years ago

LD ld-uClibc-0.9.34-git.so ldso/ldso/ld-uClibc_so.a(ldso.oS): In function _dl_get_ready_to_run': ldso.c:(.text+0x44bc): undefined reference toabort' collect2: error: ld returned 1 exit status make: *** [lib/ld-uClibc.so] Error 1

stffrdhrn commented 7 years ago

Hello, I am not sure sure about this issue or how you tested it. But we do have some people working on uclibc-ng. (next gen). You can try building it with openADK.

https://openrisc.io/software.html#openadk

jm2000 commented 7 years ago

I meet the same problem. dssds, How did you solve it?

dssds commented 7 years ago

I use uClibc-ng to solve this problem.You can visit https://openrisc.io/software#uclibc-ng-toolchain. Or you can use Buildroot to compile or1k toolchain. You can also copy the uClibc-ng of buildroot to replace your old uclibc. Then you can success ----- 原始邮件 ----- 发件人:JinFei notifications@github.com 收件人:openrisc/community-wiki community-wiki@noreply.github.com 抄送人:dssds qq13882525704@sina.com, Author author@noreply.github.com 主题:Re: [openrisc/community-wiki] uClibc Compile has an error: (#2) 日期:2017年06月08日 14点22分

I meet the same problem. dssds, How did you solve it?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

jm2000 commented 7 years ago

Thanks dssds. I had compiled uClibc-ng and runned or1ksim too. but I have some problem. My target is or1k-linux-uclibc, How do I get GDB for openrisc? I don't know the difference between or1k-linux-uclibc- and or32-linux-, because the dbg do not support or1k-linux* (see or1k-src\sim\or1k\configurate.ac line 7). So if I want get gdb, I must use target or32- or or1k-elf, etc?

dssds commented 7 years ago

or1k-linux-uclibc- is used to compile program runing in linux system. And or1k-linux-uclibc- is same as or32-linux-. Yocu can create link of or1k-linux-uclibc- with or32-linux-. ----- 原始邮件 ----- 发件人:JinFei notifications@github.com 收件人:openrisc/community-wiki community-wiki@noreply.github.com 抄送人:dssds qq13882525704@sina.com, Author author@noreply.github.com 主题:Re: [openrisc/community-wiki] uClibc Compile has an error: (#2) 日期:2017年06月13日 17点20分

Thanks dssds. I had compiled uClibc-ng and runned or1ksim too.

but I have some problem. My target is or1k-linux-uclibc, How do I get GDB for openrisc?

I don't know the difference between or1k-linux-uclibc- and or32-linux-, because the dbg do not support or1k-linux* (see or1k-src\sim\or1k\configurate.ac line 7). So if I want get gdb, I must use target or32- or or1k-elf, etc?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.