This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

glibc 2.2 related question


I have gcc 2.95.2+cvs updates from 20000220 + 3 patches from ,,gcc on RH7'' thread
and glibc 2.1.96. There was one change in my cvs updates:

       * (open): Support ios::ate if _G_HAVE_IO_FILE_OPEN.
       Remove seek for ios::app if not.

 -  return (filebuf*)_IO_file_open (this, filename, posix_mode, prot,
 -                                 read_write, 0);
 +  if (!_IO_file_open (this, filename, posix_mode, prot,
 +                     read_write, 0))
 +    return NULL;
 +  if (mode & ios::ate) {
 +    if (pubseekoff(0, ios::end) == EOF) {	<-- 119 line
 +      _IO_un_link (this);
 +      return NULL;
 +    }
 +  }
 +  return this;

which now breaks gcc build process:
/home/users/misiek/rpm/BUILD/gcc-2.95.2/obj-i586-pld-linux/gcc/xgcc -B/home/users/misiek/rpm/BUILD/gcc-2.95.2/obj-i586-pld-linux/gcc/ -B/usr/i586-pld-linux/bin/ -c -g -O2 -fvtable-thunks -D_GNU_SOURCE -fno-implicit-templates -I. -I../../../libio -nostdinc++ -D_IO_MTSAFE_IO -fpic ../../../libio/ -o pic/filebuf.o
../../../libio/ In method `class filebuf * filebuf::open(const char *, int, int = 436)':
../../../libio/ no match for `streampos == int'
make[1]: *** [filebuf.o] Błąd 1

Any ideas ? (I of course can revert cvs updates but I don't want to do this).

Arkadiusz Miśkiewicz, AM2-6BONE    [ PLD GNU/Linux IPv6 ]   [ enabled ]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]