I think I found a bug in the mmap code of the compiler...
Joshua Dinerstein
joshua@best.com
Thu Oct 15 01:44:00 GMT 1998
Hello EGCS peoples...
I have been working on porting some code from Linux to the Win32
platform using the Cygnus compiler. I have tried it both with the
original B19 version and with the EGCS1.1 overlay.
What happens is that when I do an msync() to dump out the data changes
from memory to the file. It does not put the data into the correct
place. This seems to happen only when the munmap() call is made.
I have tried everything that I can think of to get it to work, things
that work on other platforms, and as near as I can tell there is simply
a bug in the compiler.
So the standard questions apply here. Are there any work arounds? Are
there any existing patches for the problem? Is there any information on
it that you can pass onto me.
Thanks,
Joshua
More information about the Gcc-bugs
mailing list