|
From: Matthew W. <mat...@si...> - 2015-10-19 18:49:04
|
X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: $ ./configure --prefix=/home/mattheww/valgrind-solx86 checking for a BSD-compatible install... /opt/csw/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /opt/csw/bin/gmkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for ranlib... ranlib checking for a sed that does not truncate output... /opt/csw/bin/gsed checking for ar... /usr/ccs/bin/ar checking for perl... /usr/bin/perl checking for gdb... /no/gdb/was/found/at/configure/time checking dependency style of gcc... gcc3 checking for diff -u... No differences encountered yes checking for a supported version of gcc... ok (4.9.2) checking build system type... i386-pc-solaris2.10 checking host system type... i386-pc-solaris2.10 checking for a supported CPU... ok (i386) checking for a 64-bit only build... no checking for a 32-bit only build... no checking for a supported OS... no (solaris2.10) configure: error: Valgrind is operating system specific. Sorry. $ uname -a SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc |
|
From: Ivo R. <iv...@iv...> - 2015-10-19 18:56:39
|
2015-10-19 20:34 GMT+02:00 Matthew Wozniczka <mat...@si...>: > X86/Solaris is listed as supported @ > http://valgrind.org/info/platforms.html, so I grabbed a copy of > valgrind-3.11.0.tar.bz2 and followed the instructions @ > http://valgrind.org/docs/manual/dist.install.html, but I got the > following error when running configure: > > > > $ ./configure --prefix=/home/mattheww/valgrind-solx86 > > ... > > checking for a supported OS... no (solaris2.10) > > configure: error: Valgrind is operating system specific. Sorry. > > > > $ uname -a > > SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc > Matthew, Please study information in README.solaris. It lists all the requirements your Solaris version needs to satisfy. Most importantly it states you need either illumos or Solaris 11. Solaris 10 simply does not work. I would be glad to assist you in building Valgrind on any Solaris 11 or higher system. Kind regards, I. |
|
From: Matthew W. <mat...@si...> - 2015-10-19 22:56:30
|
I was able to get it to build after moving to a solaris 11 machine, installing gcc 4.9, and playing around with some paths (mostly issues of it using make vs gmake, etc). It seems to mostly work, two things I noticed though: - C++ symbols don’t get demangled in the output, I need to run it through c++filt. This may be because I built the program using sun studio instead of gcc? - I’m seeing invalid reads of size 8 in _Unw_jmp, where it complains that the address is several hundred bytes beneath the stack pointer. This seems to be happening when exceptions are thrown. I’m guessing this is also due to not building with gcc? From: Ivo Raisr [mailto:iv...@iv...] Sent: October-19-15 11:57 AM To: Matthew Wozniczka <mat...@si...> Cc: val...@li... Subject: Re: [Valgrind-users] Building Valgrind on Solaris 2015-10-19 20:34 GMT+02:00 Matthew Wozniczka <mat...@si...<mailto:mat...@si...>>: X86/Solaris is listed as supported @ http://valgrind.org/info/platforms.html, so I grabbed a copy of valgrind-3.11.0.tar.bz2 and followed the instructions @ http://valgrind.org/docs/manual/dist.install.html, but I got the following error when running configure: $ ./configure --prefix=/home/mattheww/valgrind-solx86 ... checking for a supported OS... no (solaris2.10) configure: error: Valgrind is operating system specific. Sorry. $ uname -a SunOS B2S-SOL10x86-2 5.10 Generic_147148-26 i86pc i386 i86pc Matthew, Please study information in README.solaris. It lists all the requirements your Solaris version needs to satisfy. Most importantly it states you need either illumos or Solaris 11. Solaris 10 simply does not work. I would be glad to assist you in building Valgrind on any Solaris 11 or higher system. Kind regards, I. |