R10B-10: bug in os_mon memsup.c?
Wed Mar 8 21:49:41 CET 2006
This is on IRIX 6.5 (unsupported by os_mon). Using GCC 3.3.something in
gmake: Entering directory `.../otp_src_R10B-10/lib/os_mon/c_src'
gcc -c -o ../priv/obj/mips-sgi-irix6.5/memsup.o -g -O2
-I.../otp_src_R10B-10/erts/mips-sgi-irix6.5 -DHAVE_CONFIG_H memsup.c
memsup.c: In function `get_basic_mem':
memsup.c:230: error: `shiftleft' undeclared (first use in this function)
memsup.c:230: error: (Each undeclared identifier is reported only once
memsup.c:230: error: for each function it appears in.)
gmake: *** [../priv/obj/mips-sgi-irix6.5/memsup.o] Error 1
In prior versions 'shiftleft' used to be an argument to get_basic_mem();
then memsup compiled and ran just fine on IRIX but returned bogus memory
values as expected. After the rewrite it seems it's been overlooked,
since conditional compilation keeps this out of the way on
BTW I'm about to finish hacking os_mon so that it works on IRIX.
Probably nobody cares, but I'd rather contribute my patches than
maintain an always off-line, always outdated 'Erlang on IRIX' web page.
More information about the erlang-questions