[OpenAFS] gcc reading beyond end of file on AFS

RD Schaffer R.D.Schaffer@cern.ch
Sat, 25 Jan 2003 19:36:16 +0100


Hi there,

   I cannot explain technically what is going on. But I understand that  
this is a bug in open afs, which I found a little while ago. If you  
need a working version of afs to allow builds, you can use the arla  
client. (I believe they already had this problem but fixed it.) I do  
not know the schedule for a bug fix for openafs, but am interested to  
know as well.

		see you, RD Schaffer


On Saturday, Jan 25, 2003, at 10:13 Europe/Paris, emoy@apple.com wrote:

> I'm trying to compile sources on an OpenAFS server.  It compiles the  
> first half dozen files fine, but on a certain file, it seems to start  
> reading beyond the end of file:
>
> gcc -arch ppc -g -Os -pipe -no-cpp-precomp -arch ppc -pipe  
> -I../../include   -c -o sprint.o sprint.c
> sprint.c: In function `__sio_converter':
> sprint.c:661: warning: cast from pointer to integer of different size
> sprint.c: At top level:
> sprint.c:742: stray '\215' in program
> sprint.c:742: stray '\235' in program
> sprint.c:742: parse error before numeric constant
> sprint.c:742: stray '\325' in program
> sprint.c:742: stray '\217' in program
>     (lots more similar lines)
>
> The file itself only has 741 lines.  Copying the file locally works  
> fine.  Comparing the file (with cmp) show the file is correct.  Size  
> and checksum all match.  Yet the file repeatably fails.
>
> I have tried two different servers (Mac OS X and Linux) with the same  
> results, so it's probably not a server problem.  So it probably a  
> client problem.
>
> I'm using Mac OS X with OpenAFS 1.2.8, and have tried in on Mac OS X  
> 10.2 and 10.2.3.
>
> Does this ring a bell with anyone?  What could gcc be doing that other  
> programs don't seem to be affected.
> ----------------------------------------------------------------------- 
> ---
> Edward Moy
> Apple Computer, Inc.
> emoy@apple.com
>
> (This message is from me as a reader of this list, and not a statement
> from Apple.)
>
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>
>
Email:    R.D.Schaffer@cern.ch
Address:  LAL BAT 200        tel(Orsay): 33-1 64 46 8378
                   BP 34                     tel(cern) : 41-22 76 71267
                  91898 ORSAY
                  France