I can't handle >=2 GB files somehow (see http://cfhay.inf.elte.hu/bugreport/ ) when i seek to the end of file, then i get errno 75 (EOVERFLOW). Reproducible: Always Steps to Reproduce: 1. ... ifstream f; f.open("/dev/hda",ifstream::binary), f.seekg(0,ifstream::end), cout<<errno<<endl; ... 2. compile it with 3.3.2-r5 3. run it Actual Results: 75 (EOVERFLOW) Expected Results: Must work. After that eg. tellg must return a big integer (linke long long, or something similiar). I'm using only the stable versions, of all packets. I didn't become any warnings or errors on glibc or gcc installs, and my program compiling. cfhayhome ~ # emerge info Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.23-win4lin) ================================================================= System uname: 2.4.23-win4lin i686 AMD Duron(TM)Processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/glftpd/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O3 -march=athlon -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dfx 3dnow X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb bidi cdr crypt cscope cups dga directfb doc dvb dvd encode esd ethereal fam fbcon flac flash foomaticdb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib jack java jikes jpeg kde ladcca lcms libg++ libwww mad mcal mikmod mmx motif mozilla mpeg mpi mysql nas ncurses nls nocardbus nocd oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline samba sasl sdl slang speex spell ssl svga tcltk tcpd tetex tiff truetype unicode usb video_cards_rage128 videos wmf x86 xml xml2 xmms xosd xv zlib" cfhayhome ~ # _
This bug has been inactive for more than 90 days. Is it still reproduceable and relevant? I see gcc is at version 3.3.3-r6 in x86 and glibc is at 2.3.3.20040420. Please try again using the latest stable versions and let us know.
Assuming fixed in latest gcc versions