On Fri, Jul 04, 2008 at 02:00:43PM -0500, Carlo Marcelo Arenas Belon wrote: > On Fri, Jul 04, 2008 at 02:30:37PM +0100, [EMAIL PROTECTED] wrote: > > Finally, make failed again with an error about EM_386. I re-ran > > configure: > > > > ./configure --prefix=/usr/local --build=sparc > > > > and that problem was eliminated. > > this is strange, will try to reproduce it, but I don't have any Solaris 8 > SPARC available.
couldn't reproduce it in Solaris 9 Sparc, where I got a working modular 32bit build of gmond. # file /usr/sbin/gmond /usr/sbin/gmond: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required, dynamically linked, not stripped # /usr/sbin/gmond -V gmond 3.1.0.1517 # ls -al /usr/lib/ganglia/ total 768 drwxr-xr-x 2 root other 1024 Jul 5 03:24 . drwxr-xr-x 75 root bin 20992 Jul 5 03:24 .. -rwxr-xr-x 1 root other 48092 Jul 5 03:24 modcpu.so -rwxr-xr-x 1 root other 47832 Jul 5 03:24 moddisk.so -rwxr-xr-x 1 root other 8116 Jul 5 03:24 modgstatus.so -rwxr-xr-x 1 root other 46384 Jul 5 03:24 modload.so -rwxr-xr-x 1 root other 47216 Jul 5 03:24 modmem.so -rwxr-xr-x 1 root other 29060 Jul 5 03:24 modmulticpu.so -rwxr-xr-x 1 root other 46596 Jul 5 03:24 modnet.so -rwxr-xr-x 1 root other 46156 Jul 5 03:24 modproc.so -rwxr-xr-x 1 root other 47020 Jul 5 03:24 modsys.so the build environment was using : GNUgcc (from ibiblio) (*) SMCmake (from sunfreeware) SUNWxcu4 (for grep) SUNWesu (for nawk) SUNWtoo (for ld) SUNWbtool (for nm) and for dependencies : apr-1.3.2 (compiled from source) libConfuse-2.6 (compiled from source with --enable-shared --disable-static) expat-2.0.1 (compiled from source) since the compiled I had was configured to create 64bit binaries by default, instructed it to build everything 32bit with CFLAGS="-m32", but if you use the compiled from sunfreeware which does 32bit by default that shouldn't be a problem. also was unable to reproduce the problem in an old Solaris 7 x86 build host that generated a working modular gmond, except for a small portability problem in mod_example.c (fixed in trunk by r1517) because of invalid ISO C90 code (mixed declaration and code) and the fact that my build host was using and ancient version of gcc (gcc-2.8.1) Carlo (*) http://ibiblio.org/pub/packages/solaris/sparc/GNUgcc.3.4.4.SPARC.64bit.Solaris.9.pkg.tgz ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers