[uClibc-cvs] [buildroot 0000376]: libstdc++ LFS support with gcc4.0.0 missing declarations of fseeko64 , ftello64
bugs at busybox.net
bugs at busybox.net
Thu Aug 11 09:46:42 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=376
======================================================================
Reported By: mdeschamps
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 376
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-11-2005 02:46 PDT
Last Modified: 08-11-2005 02:46 PDT
======================================================================
Summary: libstdc++ LFS support with gcc4.0.0 missing
declarations of fseeko64 , ftello64
Description:
See below trace. ftello64 and fseeko64 are undeclared and it gets the
compiler
crying.
1. #undefining _GLIBCXX_USE_LFS is a quick fix, for :
include/ext/stdio_sync_filebuf.h :
#ifdef _GLIBCXX_USE_LFS
if (!fseeko64(_M_file, __off, __whence))
__ret = std::streampos(ftello64(_M_file));
#else
if (!fseek(_M_file, __off, __whence))
__ret = std::streampos(std::ftell(_M_file));
#endif
2. or telling -fpermissive (like to the compiler propose it) in the
Makefile is another
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-11-05 02:46 mdeschamps New Issue
08-11-05 02:46 mdeschamps Status new => assigned
08-11-05 02:46 mdeschamps Assigned To => uClibc
======================================================================
More information about the uClibc-cvs
mailing list