From owner-freebsd-stable@FreeBSD.ORG Wed Sep 21 20:55:24 2005 Return-Path: X-Original-To: stable@freebsd.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9885716A41F for ; Wed, 21 Sep 2005 20:55:24 +0000 (GMT) (envelope-from barner@gmx.de) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id CD6E543D45 for ; Wed, 21 Sep 2005 20:55:23 +0000 (GMT) (envelope-from barner@gmx.de) Received: (qmail invoked by alias); 21 Sep 2005 20:55:19 -0000 Received: from unknown (EHLO zi025.glhnet.mhn.de) [129.187.19.157] by mail.gmx.net (mp009) with SMTP; 21 Sep 2005 22:55:19 +0200 X-Authenticated: #147403 Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id 0C929C133; Wed, 21 Sep 2005 22:58:00 +0200 (CEST) Date: Wed, 21 Sep 2005 22:57:59 +0200 From: Simon Barner To: John Nielsen Message-ID: <20050921205759.GO25698@zi025.glhnet.mhn.de> References: <200509211431.19141.lists@jnielsen.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XjbSsFHOHxvQpKib" Content-Disposition: inline In-Reply-To: <200509211431.19141.lists@jnielsen.net> User-Agent: Mutt/1.5.10i X-Y-GMX-Trusted: 0 Cc: stable@freebsd.org, sysadmin@alexdupre.com Subject: Re: MySQL 4.1, GCC 3.x, FreeBSD 4.x X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Sep 2005 20:55:24 -0000 --XjbSsFHOHxvQpKib Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable John Nielsen wrote: [...] > if gcc34 -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include =20 > -I/usr/local/include -DDBUG_OFF -O -pipe -D__USE_UNIX98 -D_REENTRANT=20 > -D_THREAD_SAFE -I/usr/local/include/pthread/linuxthreads -O3=20 > -fno-omit-frame-pointer -MT conf_to_src.o -MD -MP -MF=20 > ".deps/conf_to_src.Tpo" -c -o conf_to_src.o conf_to_src.c; then mv -f=20 > ".deps/conf_to_src.Tpo" ".deps/conf_to_src.Po"; else rm -f=20 > ".deps/conf_to_src.Tpo"; exit 1; fi > /usr/local/bin/libtool15 --preserve-dup-deps --mode=3Dlink gcc34 -DDBUG_= OFF=20 > -O -pipe -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE=20 > -I/usr/local/include/pthread/linuxthreads -O3 -fno-omit-frame-pointer = =20 > -L/usr/local/lib -o conf_to_src conf_to_src.o xml.o ctype.o bcmp.o =20 > -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE=20 > -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread=20 > -llgcc_r -lcrypt -lm -DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R -D_THREAD_SAFE= =20 > -I/usr/local/include/pthread/linuxthreads -L/usr/local/lib -llthread=20 > -llgcc_r > libtool15: link: unable to infer tagged configuration > libtool15: link: specify a tag with `--tag' [...] I recently had the same problem, but the other way round (gcc295 on FreeBSD 6). I fixed it by pkg_deleting libtool, autoconf, automake and reinstalling them with the same compiler that you want to use later. This is most easily done, when you simply run make CC=3Dgcc34 CXX=3Dg++34 in the mysql port directory, since this will pull in missing dependencies. Don't forget to delete them again when you're done -- otherwise you will break other ports (that use the stock gcc). HTH, and best regards, Simon --XjbSsFHOHxvQpKib Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDMclXCkn+/eutqCoRAoz7AKDzwL83k2ZMY4uJfNd9q262ReeeGQCgiB4n YOqzNnILZ9h/H1iCRgDgKzE= =AzIf -----END PGP SIGNATURE----- --XjbSsFHOHxvQpKib--