On Fri, Jun 12, 2015 at 08:27:34AM +0200, joris dedieu wrote: (...) > All those one are innocents. Including sys/limits.h on common/compat.h > correct those differences and not the segfault.
OK. Please use limits.h instead as sys/limits.h is not present on all systems. I'm thinking about something else you can test, which is to verify all objects sizes. You need to build with and without the patch, then you can diff the outputs and check whether some structures would have a different size. This could help spot the culprit : $ find . -name '*.o' | sort | xargs nm --size-sort Regards, Willy