> Could you give us an assembly dump of the two differences? phk thinks > there might be an issue w/ the CMSG_DATA macro, and a quick glance > makes me question it too... It looks scare on platforms that require > aligned accesses... Ok I have attached the compiled .s files. Hopefully these will not be eaten along the way. Oh and, instead of compiling with O0, the following trick also helps avoid the problem --- monitor_fdpass.c.orig 2007-07-15 22:47:01.000000000 +0200 +++ monitor_fdpass.c 2007-07-15 22:47:05.000000000 +0200 _at__at_ -130,6 +130,7 _at__at_ SCM_RIGHTS, cmsg->cmsg_type); #endif fd = (*(int *)CMSG_DATA(cmsg)); + debug3("%s: fd = %d", __func__, fd); #endif return fd; #else
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:14 UTC