When I compile my code, if I compile it -O2, it compiles and runs fine. if I
compile the code without it, my program segfaults while rendering text with
FTGL. I've made no changes to anything in between compiles. Same FTGL code
works fine in win32 (vs2010).
system: ubuntu 11.04 10.04
gcc
I have the same problem on both ubuntu 10.04 (not updated, gcc 4.4.3) and
ubuntu 11.04 (fully updated, can't check the gcc version right now). According
to gdb it crashes in some TFGlyth member function. I really did not expect such
problem from gcc...
BTW thanks for the solution, I thought the
I have submitted it to gcc bugzilla. Here is the thread link:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239
** Bug watch added: GCC Bugzilla #50239
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
** Also affects: gcc-defaults via
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50239
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/591819
Title: