public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte
@ 2003-11-03 18:48 berndtrog at yahoo dot com
  2003-11-05  4:37 ` [Bug ada/12888] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: berndtrog at yahoo dot com @ 2003-11-03 18:48 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888

           Summary: Can't open files lager than 2**31 - 1 byte
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: berndtrog at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu

with Ada.sequential_IO;

procedure LFS_Test is
   package Io is new Ada.Sequential_IO (integer);
   Fh : io.File_Type;
begin
      io.open( File => Fh,
	       Mode => Io.in_File,
	       Name => "big_file");
end;

Howto repeat:
$ dd if=/dev/zero bs=1 count=1 of=big_file seek=2147483647
$ ./lfs_test

raised ADA.IO_EXCEPTIONS.NAME_ERROR : s-fileio.adb:888


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] Can't open files lager than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
@ 2003-11-05  4:37 ` pinskia at gcc dot gnu dot org
  2003-11-14 16:22 ` [Bug ada/12888] ada can't open files larger " dhazeghi at yahoo dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-05  4:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|i686-pc-linux-gnu           |
 GCC target triplet|                            |i686-pc-linux-gnu


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-11-05 04:37 -------
Looks like it only happens on targets where open is not LFS ready (unlike *BSD).


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] ada can't open files larger than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
  2003-11-05  4:37 ` [Bug ada/12888] " pinskia at gcc dot gnu dot org
@ 2003-11-14 16:22 ` dhazeghi at yahoo dot com
  2003-11-21 15:34 ` charlet at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-11-14 16:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dhazeghi at yahoo dot com  2003-11-14 16:22 -------
Confirmed with mainline (20031107) on RedHat 9. Is this practical to support, or should we just 
add this as a known limitation.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-11-14 16:22:23
               date|                            |
            Summary|Can't open files lager than |ada can't open files larger
                   |2**31 - 1 byte              |than 2**31 - 1 byte


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] ada can't open files larger than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
  2003-11-05  4:37 ` [Bug ada/12888] " pinskia at gcc dot gnu dot org
  2003-11-14 16:22 ` [Bug ada/12888] ada can't open files larger " dhazeghi at yahoo dot com
@ 2003-11-21 15:34 ` charlet at gcc dot gnu dot org
  2003-11-21 17:01 ` berndtrog at yahoo dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: charlet at gcc dot gnu dot org @ 2003-11-21 15:34 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From charlet at gcc dot gnu dot org  2003-11-21 15:34 -------
I doubt it is practical to support this.

Arno

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] ada can't open files larger than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
                   ` (2 preceding siblings ...)
  2003-11-21 15:34 ` charlet at gcc dot gnu dot org
@ 2003-11-21 17:01 ` berndtrog at yahoo dot com
  2004-03-06  5:14 ` pinskia at gcc dot gnu dot org
  2005-02-25  6:08 ` bosch at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: berndtrog at yahoo dot com @ 2003-11-21 17:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From berndtrog at yahoo dot com  2003-11-21 17:01 -------
Would you please explain why you doubt that is practical to support files larger 
than 2GB?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] ada can't open files larger than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
                   ` (3 preceding siblings ...)
  2003-11-21 17:01 ` berndtrog at yahoo dot com
@ 2004-03-06  5:14 ` pinskia at gcc dot gnu dot org
  2005-02-25  6:08 ` bosch at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-03-06  5:14 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-03-06 05:14 -------
This is really need now with large hard disk ranging almost in the 200-300GB sizes.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug ada/12888] ada can't open files larger than 2**31 - 1 byte
  2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
                   ` (4 preceding siblings ...)
  2004-03-06  5:14 ` pinskia at gcc dot gnu dot org
@ 2005-02-25  6:08 ` bosch at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: bosch at gcc dot gnu dot org @ 2005-02-25  6:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bosch at gcc dot gnu dot org  2005-02-24 22:40 -------
It is OK for an Ada implementation to have capacity limits. In this case the limits are caused by the 
underlying OS, the corresponding C library functions have the same limitation. Indeed, it would be nice 
to remove this limitation by using the appropriate new C library functions on targets where needed/
supported, but this clearly is an enhancement request.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12888


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-24 22:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-03 18:48 [Bug ada/12888] New: Can't open files lager than 2**31 - 1 byte berndtrog at yahoo dot com
2003-11-05  4:37 ` [Bug ada/12888] " pinskia at gcc dot gnu dot org
2003-11-14 16:22 ` [Bug ada/12888] ada can't open files larger " dhazeghi at yahoo dot com
2003-11-21 15:34 ` charlet at gcc dot gnu dot org
2003-11-21 17:01 ` berndtrog at yahoo dot com
2004-03-06  5:14 ` pinskia at gcc dot gnu dot org
2005-02-25  6:08 ` bosch at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).