Menu

#803 No large file support (LFS) when cross-compiling libstdc++

OTHER
closed
gcc (462)
fixed
Known_bugs
2013-02-05
2005-07-09
RA
No

When you cross-compile libstdc++ for mingw32, then the
resulting library will *not* feature large file
support. This problem is caused by the fact that
libstdc++-v3/crossconfig.m4 does not enable LFS.

The following patch fixes the issue. Please apply! I
have already submitted the following other bugs:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22388
http://bugs.debian.org/306210

---
gcc-3.4.2-20040916-1/libstdc++-v3/crossconfig.m4.orig
2004-08-15 10:41:14.000000000 +0200
+++ gcc-3.4.2-20040916-1/libstdc++-v3/crossconfig.m4
2005-07-09 19:53:15.000000000 +0200
@@ -234,6 +234,7 @@
GLIBCXX_CHECK_LINKER_FEATURES
GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
GLIBCXX_CHECK_WCHAR_T_SUPPORT
+ AC_DEFINE(_GLIBCXX_USE_LFS)
;;
*-netbsd*)
AC_CHECK_HEADERS([nan.h ieeefp.h endian.h
sys/isa_defs.h \

Discussion

  • Danny Smith

    Danny Smith - 2005-08-10
    • assigned_to: nobody --> dannysmith
     
  • Earnie Boyd

    Earnie Boyd - 2013-02-05
    • labels: mingw runtime (deprecated use WSL) --> gcc
    • status: open --> closed
    • resolution: --> fixed
    • category: --> Known_bugs
    • milestone: Known_bugs --> OTHER