There is a problem with libXaw that is triggered by gcc 4.7, due to a variable set to a constant string inside a block. The undefined behaviour is that the string in the block is not guaranteed to go to some constant pool with global scope. This patch is required for any code that uses the Xaw text widget and is built with gcc 4.7.
Created attachment 61989 [details] [review] 0001-Correct-undefined-behavior-access-to-out-of-scope-po.patch
Thanks - fix pushed to git master: http://cgit.freedesktop.org/xorg/lib/libXaw/commit/?id=11c3a104141e1a4946ad949dfb5514df0b66a031
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.