I'm using Mesa in a "superbuild" scenario where CFLAGS and CXXFLAGS are set
by a top level project that builds many subprojects. They typical settings
for release builds with this is adding O3 to CFLAGS and CXXFLAGS, which in
turn cause Mesa to build with O3. I haven't noticed any runtime issues
from this but default behavior of Mesa seems to be O2. Are there any known
issues using O3 for Mesa GLX / OSMesa with llvmpipe and swr?
Staff R&D Engineer, Scientific Computing
mesa-dev mailing list