Hmm, this might be an raising condition and not occuring in static version.
Could you provide the back-trace to see here it comes from? (gdb command bt)

Thanks in advance,
Kai

2011/7/8 PcX <xunxun1...@gmail.com>

>  Hi, all
>
>     I built winpthread with "./configure --enable-static --disable-shared",
> and I use it to build gcc4.6.1 with "./configure --enable-libgomp
> --enable-static --disable-shared".
>     But when I build a openmp program, the compiler and linker stage works
> well, but run the program will crash.
>     I use gdb to debug the program, and found that a "segmentation fault"
> coming out:
>
>     Program received signal SIGSEGV, Segmentation fault.
>     0x00405a2d in mutex_ref ()
>
>
>
>         But if I use pthread-win32 static edition to build libgomp, all
> work fine.
>
>         Where am I wrong?
>
>         Thanks.
>
> --
> Best Regards,
> PcX
>
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Mingw-w64-public mailing list
> Mingw-w64-public@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>


-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

<<ebaffagi.png>>

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to