When cross-compiling libstdc++, LFS support is turned on unconditionally, even if the target does not support LFS.
As a result, linking fails (there is no fseeko64 for the target). May be related to #22388 -- Summary: No possibility to disable large file support (LFS) Product: gcc Version: 4.2.0 Status: UNCONFIRMED Keywords: build, patch, link-failure Severity: critical Priority: P3 Component: libstdc++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: aldot at gcc dot gnu dot org GCC build triplet: i686-linux-gnu GCC host triplet: i586-linux-uclibc GCC target triplet: i586-linux-uclibc http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30365