[Mesa-dev] [Bug 108933] Unreal Tournament (UT99) segfault on opengl init

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Dec 8 20:32:16 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=108933

--- Comment #9 from Gustaw Smolarczyk <wielkiegie at gmail.com> ---
(In reply to iive from comment #8)
> I've already tried placing "#include <locale>" before "iostream", but it has
> no effect. I retested it to be sure.

That won't do anything. The locale stuff is handled by libstdc++.so itself, the
include order in the mesa source file doesn't matter.

> The game does not link to dynamic libstdc++ , most likely it had been
> statically linked. The binaries are dated from 2006.
> 
> The binaries themselves could be obtained from the freely available linux
> installer(s), but they do not contain enough to reproduce the crash. (You
> need some of the game files).

The Core.so binary seems to export the __dynamic_cast symbol. It suggests that
it has been statically linked with some old libstdc++ library that is
incompatible with the most recent one.

It might be impossible to run it correctly with any library written in C++.
Mesa and LLVM usually avoid using RTTI, so the <iostream> might be the only
thing that struggles. However, that is still a work-around. Some other driver
might still not work correctly.

I am not sure if removing the iostream sub-library usage from mesa is
acceptable in general.

-- 
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/7e9984d6/attachment.html>


More information about the mesa-dev mailing list