On Fri, Nov 30, 2001 at 11:56:05AM -0500, Michael Stassen wrote: : : This keeps coming up. So far (in my reading of this list since spring, : and searches on Google), : : * everyone who has reported this was using the precompiled binary of gcc : (either 2.95.2 or 2.95.3) from Sunfreeware to build MySQL for Solaris 8 : sparc. : : * No one has spoken up to report success with this combination. : : * No one who built gcc from source has reported this problem.
I will say that I have built MySQL 3.23.x several times on Solaris 8 sparc machines with gcc-2.95.2 and gcc-2.95.3 from sunfreeware.com with absolutely no problems. I use the same options that AB uses to compile their binary distributions, and I make test every time with no issues. >From the configure file: cat > conftest.$ac_ext << EOF #line 1460 "configure" #include "confdefs.h" main(){return(0);} EOF if { (eval echo configure:1465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi It looks like the test to determine whether a cross-compiler is being dealt with is very simple. Perhaps, for some reason, that simple program isn't being compiled correctly. Test and see. That would be where I would start. * Philip Molter * Texas.net Internet * http://www.texas.net/ * [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php