Thanks for your answer, but could you explain your answer further?

Thanks

2012/1/12 yanke <ykya...@126.com>

> You should use the kernel on the parsec insead of the one on the m5
> website.
>
>
>
> At 2012-01-13 00:48:24,"Hamid Reza Khaleghzadeh" <khaleghza...@gmail.com> 
> wrote:
> >Excuse me, I'm again. could you tell me when libpthread.a is replaced
> >with another one, gcc cross compiler must be created again?
> >
> >On 1/12/12, Hamid Reza Khaleghzadeh <khaleghza...@gmail.com> wrote:
> >> Hi
> >>
> >> It works. I could compile the application. but when I run it in the
> >> Gem5, I encounter with Segmentation file error.
> >> In Parsec website, for solving the problem, I found that libpthread.a
> >> must be replaced by a new one which introduced by Mr. Ehsan Fatehi
> >> (http://www.cs.utexas.edu/~parsec_m5/). I did that, but the problem
> >> remains.
> >> Could you tell me how I can solve the problem?
> >>
> >> Sorry to bother you.
> >>
> >> On 1/12/12, Eliot Moss <m...@cs.umass.edu> wrote:
> >>> On 1/12/2012 10:57 AM, Hamid Reza Khaleghzadeh wrote:
> >>>> Hi yanke,
> >>>>
> >>>> Thanks for you answer. I have used -lpthread, but problem remains.
> >>>>
> >>>> On 1/12/12, yanke<ykya...@126.com>  wrote:
> >>>>> add -lpthread when compiling
> >>>
> >>> The *order* of -l flags matters.  The linker scans libraries
> >>> in the order given. So in this case, I'd say you need to make
> >>> sure that -lpthread is the last of the libraries, or near the
> >>> last. You also need to make sure that it's on the linker's
> >>> search path (that is, that the directory containing libpthread.so
> >>> is on the search path).
> >>>
> >>> This is all just ordinary C/C++ program compilation stuff ...
> >>>
> >>> Eliot Moss
> >>> _______________________________________________
> >>> gem5-users mailing list
> >>> gem5-users@gem5.org
>
> >>> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
> >>>
> >>
> >>
> >> --
> >> Hamid Reza Khaleghzadeh
> >>
> >
> >
> >--
> >Hamid Reza Khaleghzadeh
> >_______________________________________________
> >gem5-users mailing list
> >gem5-users@gem5.org
> >http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>
>
>
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>



-- 
Hamid Reza Khaleghzadeh
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to