http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53831
--- Comment #14 from Yuri Gribov <tetra2005 at gmail dot com> 2012-07-03 13:31:28 UTC --- > you need to use the LTO aware nm that gcc installs, gcc-nm. It says My bad. > Btw, removing the 'inline' keyword everywhere still reproduces the issue. > That makes the testcase certainly valid. $ make USE_LTO=1 clean all $ echo $? 0 Are you sure? Adding -Dinline= to CXXFLAGS fixed compilation for me: I wasn't using -fno-fat-lto-objects though.