Re: [Foxgui-users]Re: [Fxruby-users] My fox build segfaults on Solaris 9 gcc.
Status: Inactive
Brought to you by:
lyle
From: Hugh S. S. E. E. <hg...@dm...> - 2004-07-07 16:06:56
|
On Wed, 7 Jul 2004, Vincent Cojot wrote: > > Hi Hugh, > > A couple things you might want to try: > > - Make sure your Solaris 9 patch level is up-to-date. /usr/ccs/bin/ld should > not segfault. Install a Recommended Cluster and/or a Maintenance update. We will follow this up in due course -- it is my colleague who looks after that side of things, and I've told him about this, Meanwhile.... > > - You might want to try to 'export LD=/usr/ccs/bin/ld' before you run > configure to make sure that 'ld' will link the shared library instead of > using 'g++ -shared'. This solved problems for me under Solaris 8 but of > course YMMV... About the only thing I have not meddled with is LD_LIBRARY_PATH, which has been sufficient to the task I think. I got these results as the first combination which worked: + echo /usr/ccs/bin/ld /progs/SUNWspro/bin/cc g++ gmake /usr/ccs/bin/ld /progs/SUNWspro/bin/cc g++ gmake + exit 0 versions: ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.375 cc: Sun WorkShop 6 update 2 C 5.3 2001/05/15 gcc (GCC) 3.3.2 GNU Make 3.80 This is as a result of this script to try everything exhaustively: #!/bin/sh -vx # vim:sw=2 for ld in /usr/ccs/bin/ld /usr/ucb/ld /usr/local/bin/ld do LD=$ld export LD for cc in gcc /progs/SUNWspro/bin/cc /usr/ucb/cc do CC=$cc export CC for cxx in g++ CC do CXX=$cxx export CXX for make in gmake make do MAKE=$make export MAKE $MAKE distclean ./configure && $MAKE && echo $LD $CC $CXX $MAKE && exit 0 done done done done That g++ should work together with cc seems odd to me. Are there any tests I can run on this to really thrash it before accepting it as functioning correctly? While I'm at it, are there any tests that it would be useful to the Fox/FXRuby community to do on this system? > > Good luck, > > Vincent Thank you, Hugh |