Summary: | Unable to build when configured with openmp and CFLAGS/LDFLAGS contain -fopenmp | ||
---|---|---|---|
Product: | Mesa | Reporter: | Bob <chris.anderson2014> |
Component: | Mesa core | Assignee: | mesa-dev |
Status: | RESOLVED NOTABUG | QA Contact: | |
Severity: | trivial | ||
Priority: | medium | CC: | 0xe2.0x9a.0x9b |
Version: | 10.3 | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Bob
2014-12-09 06:18:02 UTC
Dear Vlad/Bob/Chris (which is it?!), Please submit a patch to mesa-dev@lists.freedesktop.org adding #ifdef _OPENMP #include <omp.h> #endif to the files that call omp_* functions. Also, don't put -fopenmp in your system CFLAGS. It doesn't do anything without the package being written with OpenMP. Sincerely, a Gentoo Developer. (In reply to Matt Turner from comment #1) > Dear Vlad/Bob/Chris (which is it?!), none of the above. > > Please submit a patch to mesa-dev@lists.freedesktop.org adding > > #ifdef _OPENMP > #include <omp.h> > #endif > > to the files that call omp_* functions. > > Also, don't put -fopenmp in your system CFLAGS. It doesn't do anything > without the package being written with OpenMP. I don't remember why I added that. I did this long ago because the mythtv box is a low powered atom that struggles with video playback. Maybe I was just clutching at straws back then when I spent a few minutes trying to use it for video playback > Sincerely, a Gentoo Developer. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.