Colin Pitrat

Results 199 comments of Colin Pitrat

Ulrich added a message in the project summary: ![image](https://user-images.githubusercontent.com/1541863/113568187-f6885780-9607-11eb-80dd-f088069cddab.png)

Yes, that's an excellent idea. I announced some release (I don't remember which one) in a few places but I don't do it regularly. I'm a bit too lazy to...

You can build with: ``` make clean # to clean previous build make debug ``` Then run with -v: ``` ./cap32 -v | tee cap32.log ``` This should provide some...

The test doesn't complete but the binary is built, so you can try running caprice with debug logs, although I'm not sure this will help much: ``` ./cap32 -v |...

I won't be able to open the core on a non-sparc64 machine. But having the core and a debug binary you can do: ``` $ gdb ./cap32 core gdb> bt...

Weird, I would expect this access to be aligned as RendPos is a dword*. Maybe it's not unaligned access in the end? Can you try the following in gdb (from...

Ah indeed, RendPos is not the allocated thing, RendBuff is and it's byte[]. And we can point at word boundaries instead of dword boundaries in the half pixel case. Setting...

`-fsanitize=alignment` should do it. This requires to add `-lubsan` when linking.

Bad news is that it doesn't detect any issue when running the Zip test case, so it may not be a silver bullet ...

So here is what it requires to verify alignment: ``` $ git diff makefile diff --git a/makefile b/makefile index aa60480..e604402 100644 --- a/makefile +++ b/makefile @@ -107,7 +107,7 @@ TEST_OBJECTS:=$(TEST_DEPENDS:.d=.o)...