On Jun 30, 2014, at 8:30 AM, Martin Husemann <mar...@duskware.de> wrote:
> On Mon, Jun 30, 2014 at 08:29:06AM -0700, Matt Thomas wrote: >> We don't build gcc to support lto. >> >> so remove -flto >> and it should work. > > Patch-aa already does that for some gcc versions. However, this points > at a bug in the liblto_plugin build (missing -liberty?) Worse. libiberty is linked into the base program so we might need --whole-archive to make all routines make it in or link with a shared libiberty.