Displaying 4 results from an estimated 4 matches for "2002944".
2005 Nov 23
2
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
...4, 0, [0], SEEK_SET) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
brk(0) = 0x8359000
brk(0x8369000) = 0x8369000
brk(0) = 0x8369000
brk(0x836a000) = 0x836a000
mmap2(NULL, 2002944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x4013b000
munmap(0x4013b000, 2002944) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
_llseek(4, 0, [0], SEEK_SET) = 0
write(4, "!<arch>\nevenlen/ 110083...
2005 Nov 23
0
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
Evan Jones wrote:
> I am pretty certain that this has nothing to do with the C++ library,
> and everything to do with the behaviour of mmap when the file that was
> mmaped is modified. I actually can reproduce this behaviour with the
> attached C test case. The program mmaps a file called 'data,' prints the
> last byte, truncates the file, then tries to read the last
2005 Nov 23
0
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
...= 0
> _llseek(4, 0, [0], SEEK_SET) = 0
> brk(0) = 0x8359000
> brk(0x8369000) = 0x8369000
> brk(0) = 0x8369000
> brk(0x836a000) = 0x836a000
> mmap2(NULL, 2002944, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0x4013b000
more memory allocations
> munmap(0x4013b000, 2002944) = 0
> _llseek(4, 0, [0], SEEK_SET) = 0
> _llseek(4, 0, [0], SEEK_SET) = 0
> _llseek(4, 0, [0], SEEK_SET) = 0
>...
2005 Nov 22
2
[LLVMdev] llvm-ranlib: Bus Error in regressions + fix
On Nov 22, 2005, at 17:18, Reid Spencer wrote:
> Your patch uses an operating system call that is not portable. All
> non-portable code needs to be located in the lib/System library.
Yep! I know. That is why I posted it for discussion. I'm not sure if
this is the "right" way to fix the problem, or if there is a different
fix that should be applied (like perhaps copying the