From: Tiago J. <tia...@ya...> - 2007-07-06 01:19:04
|
Henry Nestler wrote: > > The gcc internalny use 'mmap' to map your file into memory instead to > read the file directly. Some times gcc reads behind the end of file, so > you gets errors behid your last line of source file. > > The bug results from 'fstab' on cofs device, that comes to fast after > last write operation on the same file or directory. > > I'm not remember, but there exist a parameter for gcc to disable the > mapping source files into memory via 'mmap' and simple use only "open - > read - close" for reading source files. > > Yes, I can disable mmap with gcc parameter --disable-mmap. I need to recompile my buildroot with this option, and this will take me a time. If I have any progress, i will post here. Tks Tiago Jost _______________________________________________________ Yahoo! Mail - Sempre a melhor opção para você! Experimente já e veja as novidades. http://br.yahoo.com/mailbeta/tudonovo/ |