[Mesa-dev] [Bug 108933] Unreal Tournament (UT99) segfault on opengl init
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Dec 8 15:55:38 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=108933
--- Comment #7 from Gustaw Smolarczyk <wielkiegie at gmail.com> ---
Static initialization order is undefined between translation units (i.e. source
files) but it is defined within one translation unit - it is the global
variable definition order. Since #include <iostream> defines (not declares) a
static global variable with initializer, you can safely use std::cout and
friends from other static initializers that are defined after the <iostream>
include.
The segfault looks like a mismatch in the standard library. Does UT99 use the
/usr/lib/libstdc++.so.6 or does it use a local version? If it's the latter,
what happens when you force it to use the distro one?
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20181208/d5add187/attachment.html>
More information about the mesa-dev
mailing list