http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50935
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-11-21 16:50:54 UTC --- I forgot: while one could use ACX_LARGEFILE everywhere in GCC (and I tried that using --disable-largefile when configuring gcc works with a default-configured gld), I'd rather not cripple all of gcc for the benefit of the lto-plugin. Using the macro in lto-plugin alone doesn't work either: the plugin is linked with libiberty, and gld SEGVs all over the place if libiberty isn't built with largefile support. Since libiberty is also linked into all the compiler executables, we're effectively back to using ACX_LARGEFILE/--disable-largefile everywhere. Rainer