[Bug libstdc++/32916] file stream error writing large buffers

2007-07-27 Thread pcarlini at suse dot de
--- Comment #5 from pcarlini at suse dot de 2007-07-27 19:23 --- In any case, just tried your specific testcode on an up to date x86_64-linux machine and the problem cannot be reproduced. Make sure the system where you are trying to install the 4.1.x compiler is up to date as regards gli

[Bug libstdc++/32916] file stream error writing large buffers

2007-07-27 Thread pcarlini at suse dot de
--- Comment #4 from pcarlini at suse dot de 2007-07-27 18:43 --- then, assuming everything is ok, you have enough memory, etc, your code works, something is wrong with your specific system and we need more details. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32916

[Bug libstdc++/32916] file stream error writing large buffers

2007-07-27 Thread satyaakam at yahoo dot co dot in
--- Comment #3 from satyaakam at yahoo dot co dot in 2007-07-27 18:40 --- its on X86_64 bit box. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32916

[Bug libstdc++/32916] file stream error writing large buffers

2007-07-27 Thread pcarlini at suse dot de
--- Comment #2 from pcarlini at suse dot de 2007-07-27 17:14 --- ... actually, if you are on a 32-bit machine, your code is invalid, because ostream::write takes a streamsize as second argument, which is a ptrdiff_t. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32916

[Bug libstdc++/32916] file stream error writing large buffers

2007-07-27 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-07-27 17:08 --- We badly need more information about your system and a tescase easier to use: you are allocating on the heap more than 2GB at once! Anyway, actually only 4.1.2 has large file support on selected, linux, platforms, which wor