|
[linux-sh:03176] uclibc on sh3: Illegal instruction errors -- threading iss: msg#00011linux.ports.sh.general
Hi, I have been trying to get a working shared uclibc environment on sh3 (exact cpu: SH7709(A), HP 690/680/620LX/660LX) for a while now, but so far I have been unsuccessful. The CVS version of the uclibc toolchain can not produce any working executables at all, every program segfaults. I have also built a toolchain with the stable version (0.9.26), it can produce working executables, but if I try to run a shell (busybox ash or bash) I get an illegal instruction error (static or dynamic doesn't make a difference). The strange thing is, I also built strace, file and some other apps, and they seem to run fine. I can also run pretty much all busybox executables, except the shells, which terminate with the error. I tried to debug busybox by inserting printf lines, I've had ambiguous results, making me expect it has something to do with threading. I've run the uclibc test apps, it fails on ex7 of the pthread tests, the setjpm test also fails, somewhat confirming my suspicion. I tried building without pthread support, but this didn't help (I recompiled busybox between the different versions). I've asked in #uclibc on irc.freenode.net, they told me to ask someone more familiar with sh3. So here it is, my cry for help: if anyone knows what's going on, or even if anyone managed to get uclibc running on sh3, please let me know. I've provided strace output for busybox and the tests, and the source for both the test files, if they're of any use. Sincerely, Henk Brunsting |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [linux-sh:03175] re : mozilla on sh4: 00011, Oshri Yahav |
|---|---|
| Next by Date: | [linux-sh:03177] Re: uclibc on sh3: Illegal instruction errors -- threading issue?: 00011, Erik Andersen |
| Previous by Thread: | [linux-sh:03175] re : mozilla on sh4i: 00011, Oshri Yahav |
| Next by Thread: | [linux-sh:03177] Re: uclibc on sh3: Illegal instruction errors -- threading issue?: 00011, Erik Andersen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |