http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53602
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2012-06-07 CC| |jakub at gcc dot gnu.org Ever Confirmed|0 |1 --- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-06-07 12:35:28 UTC --- Yeah, preprocessed source plus g++ options are needed. I don't know the libreoffice build system either, as last resort solution you could try mkdir ~/bin cat > ~/bin/g++ <<\EOF #!/bin/sh mkdir -p /tmp/cmdlines/ 2>/dev/null echo cwd is `pwd` cmdline "$@" >> /tmp/cmdlines/$$ exec /usr/bin/g++ "$@" and run the build under PATH=~/bin:$PATH CXX=~/bin/g++ or so, then just grep for the source file in question. If you hit it already once, supposedly another make invocation wouldn't recompile everything, just a few sources and ICE again.