[Qt-interest] [1/2 OT] ImageMagick, OpenMP and QThread [Mac OS X]?
Francisco Gonzalez
gzmorell at gmail.com
Thu Jan 28 13:13:15 CET 2010
2010/1/28 <Oliver.Knoll at comit.ch>
> Knoll Oliver, ITS-CMT-SUI-SL-SFR-FIN-DEV wrote on Thursday, January 28,
> 2010 10:32 AM:
>
> > ...
> > http://lists.apple.com/archives/coreaudio-api/2009/May/msg00035.html:
> >
> > "The gcc / OpenMP version that ships with Leopard/Xcode has a known
> > bug that it does not work on any thread other than the main thread.
> > This was apparently fixed on a later version of gcc, ...
>
> And for completeness sake, here is the corresponding
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42616
> "OMP'ed loop inside pthread leads to crash."
>
> Apparently this was reported against gcc 4.4.2, on "mingw32 on Windows XP"
> (so it is not just Mac OS X affected), "Last modified: 2010-01-22". And it
> is apparently not yet fixed.
>
> Maybe this issue /did/ work (apparently on my Ubuntu 8.10 with gcc 4.3.2),
> but now broke (again)? To be continued... :)
>
>
Just to add that your example works on Kubuntu 9.10 with gcc 4.4.1.
If someone wants to check with other gcc version there is a typo mistake
(not concerned with the problem explained)
" #pragma omp parallel {"
should be
" #pragma omp parallel
{"
Francisco
>
> Cheers, Oliver
> --
> Oliver Knoll
> Dipl. Informatik-Ing. ETH
> COMIT AG - ++41 79 520 95 22
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100128/de26c371/attachment.html
More information about the Qt-interest-old
mailing list