From: Vladimir T. <vtz...@gm...> - 2011-07-28 23:08:54
|
On Fri, Jul 29, 2011 at 1:24 AM, Sam Steingold <sd...@gn...> wrote: >> * Vladimir Tzankov <igm...@tz...> [2011-07-29 00:17:37 +0300]: >> >> $ grep SIZEOF_OFF_T clisp.h config.h syscalls/config.h >> clisp.h:#define SIZEOF_OFF_T 8 >> config.h:#define SIZEOF_OFF_T 8 >> syscalls/config.h:#define SIZEOF_OFF_T 4 >> >> $ grep SIZEOF_RLIM_T clisp.h config.h syscalls/config.h >> clisp.h:#define SIZEOF_RLIM_T 8 >> config.h:#define SIZEOF_RLIM_T 8 >> syscalls/config.h:#define SIZEOF_RLIM_T 4 > > this is eminently wrong and warrants an investigation. > could you please take a look at config.log and syscalls/config.log to > find out why these SIZEOF's are defined differently? Not sure how helpful is information below: config.log: configure:33813: gcc -o conftest -g -O2 conftest.c -lavcall -lcallback >&5 configure:33813: $? = 0 configure:33813: ./conftest configure:33813: $? = 0 configure:33828: result: 8 syscall/config.log: configure:4795: checking size of off_t configure:4800: gcc -o conftest -g -O2 conftest.c >&5 configure:4800: $? = 0 configure:4800: ./conftest configure:4800: $? = 0 configure:4815: result: 4 Similar rlim_t. machine is: Linux vtz 2.6.32-27-generic #49-Ubuntu SMP Wed Dec 1 23:52:12 UTC 2010 i686 GNU/Linux following prints 4: #include <sys/types.h> main () { printf("%u", sizeof(off_t)); } |