Hi Allon,
Allon Stern wrote:
On Sep 20, 2008, at 12:20 PM, Jamie Lokier wrote:
Allon Stern wrote:
Never mind NPTL - I just want Linux Threads, which don't seem to be
working for my on my NOMMU M5282 target, using 888.
I'm using uClibc 20060608
Anybody have it working? A simple example causes an illegal instruction.
I get an illegal instruction when using Linux Threads on ARM-nommu with
arm-uclinux-elf-tools-base-gcc3.4.3-20050221.sh,
The illegal instruction happens before main(), and GDB cannot debug it.
If I use that compiler but with options to link to a uClibc from an
older toolchain distribution, it works. (That's what I'm doing now.)
So it's possible your problem isn't lack of support, but a toolchain
that's broken somehow. Have you tried using a different one?
To be clear, I'm using the 8-8-8 uClinux, using the latest released
toolchain on uclinux.org
Maybe it's time for an updated toolchain?
Also, my illegal instruction happens after running a short time. My
simple example prints in a loop, and starts a thread that prints in a
loop. I see the child thread loop about a dozen times before the illegal
instruction.
Have you tried the Code Sourcery ColdFire tool chains?
I seem to recal some time back mails on this list saying that
threads (and c++) worked with those.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev