GCC complains that the XKB map cannot be compiled and fails to start This is a regression against GCC 4.7.2 Both are compiled with -O3 -march=native -flto I'm unsure if this should be filed upstream with GCC or bugs.freedesktop.org Reproducible: Always Steps to Reproduce: 1. Compile xkbcomp with gcc 4.8 2. Restart X 3. Watch it not start :-( Actual Results: X doesn't start Expected Results: X should start
Created attachment 342978 [details] Xorg log
> Both are compiled with -O3 -march=native -flto As the giant warning says when you build gcc, LTO is not supported. Don't use it unless you're able to fix the problems you encounter. Also, if you're using gcc snapshots you would have had to set I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS in make.conf.
This isn't an lto bug after all. You confused me when you said gcc can't compile the xkb map.
Arg, yes it is an lto bug. I forgot to rebuild without -flto after testing last time. Sorry about the noise.