problem about pthread on uClinux-dist-20051110

Sajeev Kesavan sajeev.kesavan at lgsoftindia.com
Wed Aug 23 01:00:52 UTC 2006


The pthread even I observed long time before to not behave in expected
manner w.r.t hardware at times .

 

Sajeev Kesavan

________________________________

From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] On
Behalf Of Mehmet Kurnaz
Sent: Tuesday, August 22, 2006 3:00 PM
To: uclibc at uclibc.org
Subject: problem about pthread on uClinux-dist-20051110

 

hi all

 

for last two weeks i struggle for uclinux . in  fact there is no problem
about uclinux.problem is only about threads(i think).

i use uclinux-2.4.31 (uClinux-dist-20051110) and toolchain
m68k-elf-20030314.sh

a basic thread program can't run well.after a few run kernel crash(bad
frame format,illegal instruction,bad kernel trap   etc)

there is no problem on code because of it is thdm in threeaddemos.i get
it and build myself apart from uclinux with mythdm name.

and for makefile i get the flags (below) from where building time of
thdm(in threaddemos)  

 

CC=gcc

 

CFLAGS := -m5307 -DCONFIG_COLDFIRE -Os -g -fomit-frame-pointer  \
  -fno-common -fno-builtin -Wall -DEMBED -msep-data     \
  -Dlinux -D__linux__ -Dunix -D__uClinux__       \
  -I/uClinux-dist/uClibc/include 

 

and

 

LDFLAGS := -Wl, -elf2flt -move-rodata -msep-data -lpthread -lc

 

 

So there can't be a problem about code or makefile.

 

maybe my hardware ( mcf 5272 ). But there is no problem for another
applications

 

maybe   about uclinux or uClibc release (i think too)

 

SO I NEED A UCLINUX RELEASE THAT HAS NO PROBLEM ON PTHREADS.

 

i wait your help.

so thanks 

 

Mehmet KURNAZ

#########################################################
THIS EMAIL MESSAGE IS FOR THE SOLE USE OF THE INTENDED
RECIPIENT(S) AND MAY CONTAIN CONFIDENTIAL AND PRIVILEGED
INFORMATION. ANY UNAUTHORIZED REVIEW, USE, DISCLOSURE OR
DISTRIBUTION IS PROHIBITED.BEFORE OPENING ANY ATTACHMENTS
PLEASE CHECK FOR VIRUSES AND DEFECTS.IF YOU ARE NOT THE
INTENDED RECIPIENT, PLEASE NOTIFY US IMMEDIATELY BY REPLY
E-MAIL AND DELETE THE ORIGINAL MESSAGE.
##########################################################
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20060823/7bf5820e/attachment-0001.htm 


More information about the uClibc mailing list