This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/11724] Ada Lseek->lseek() doesn't work with sizeof(off_t) != sizeof(long)
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jul 2003 11:59:45 -0000
- Subject: [Bug ada/11724] Ada Lseek->lseek() doesn't work with sizeof(off_t) != sizeof(long)
- References: <20030730093252.11724.M.Drochner@fz-juelich.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.