On Fri, 2004-07-16 at 05:02, Martin Knoblauch wrote:

> b) the resulting binary coredumps when accessing it via telnet

i just tested it on a Solaris 7 64-bit box and gcc 3.4.0.

when i built a 32-bit gmond ... everything worked great... just a simple
./configure && make.  gmond didn't segfault however the box wasn't ipv6
enabled so i could only test ipv4 addresses.

testing in 64-bit mode...

% export CFLAGS="-m64"
% export CPPFLAGS="-m64"
% ./configure && make
...

% cd gmond
% file ./gmond
./gmond:        ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped

when i connect to the 64-bit gmond... segfault just like you discovered.

so.. it's seems to be a problem with 64-bit binaries on solaris.  i ran
tests on itanium/linux and found that everything is fine... maybe it's
an endianess problem or something.  not sure.  

unfortunately the gdb debugger v6.0 i have installed on the machine does
not understand 64-bit solaris binaries.

so .. is it possible for us to run gmond in 32-bit mode and collect
information from a 64-bit kernel.  i think i remember that answer being
no.. but does anyone know for sure?  

-matt



 

-- 
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E F40B 242A 5984 ACBC 91D3'

   They that can give up essential liberty to obtain a little 
      temporary safety deserve neither liberty nor safety. 
  --Benjamin Franklin, Historical Review of Pennsylvania, 1759

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to