[Bug ada/11724] Ada Lseek->lseek() doesn't work with sizeof(off_t) != sizeof(long)

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Wed Jul 30 11:59:00 GMT 2003


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

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
 GCC target triplet|i386--netbsdelf2.0          |*-*-*bsd, *-*-darwin
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-30 11:59:45
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-30 11:59 -------
I can confirm this on the mainline (20030728) on powerpc-apple-darwin6.6.


  9865 mist     RET   open 3
  9865 mist     CALL  lseek(0x3,0x1234,0,0x74)
  9865 mist     RET   lseek -1 errno 22 Invalid argument

Note the 0 and 0x1234 is switched from the report but that is because powerpc is big 
endian and x86 is little endian.



More information about the Gcc-bugs mailing list