From owner-cvs-all Sat Jan 13 12: 1:11 2001 Delivered-To: cvs-all@freebsd.org Received: from cartier.cirx.org (cartier.cirx.org [211.72.15.243]) by hub.freebsd.org (Postfix) with ESMTP id EFBF737B404; Sat, 13 Jan 2001 12:00:44 -0800 (PST) Received: (from clive@localhost) by cartier.cirx.org (8.11.1/8.11.1) id f0DK0cf05009; Sun, 14 Jan 2001 04:00:38 +0800 (CST) (envelope-from clive) Date: Sun, 14 Jan 2001 04:00:38 +0800 From: Clive Lin To: Dirk Froemberg Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/databases/mysql322-server Makefile ports/databases/mysql323-server Makefile Message-ID: <20010114040038.A4862@cartier.cirx.org> References: <200101071451.f07EpnH73661@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200101071451.f07EpnH73661@freefall.freebsd.org>; from dirk@FreeBSD.org on Sun, Jan 07, 2001 at 06:51:49AM -0800 X-PGP-key: http://freebsd.sinica.edu.tw/~clive/gpgkey.txt Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, The -fno-exceptions breaks mysql322-server build on 3.5-S. gcc 2.7.2.3 doesn't have this option :< I did changes below to build mysql-322. Mysql-323 untested. --- Makefile~ Sun Jan 14 03:31:29 2001 +++ Makefile Sun Jan 14 03:44:35 2001 @@ -37,7 +37,7 @@ CONFIGURE_ARGS="${CONFIGURE_ARGS}" # without including these flags mysqld may crash under heavy load # and multiple connections at the same time -CXXFLAGS= ${CFLAGS} -felide-constructors -fno-exceptions -fno-rtti +CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti # MySQL-Server part .if !defined(CLIENT_ONLY) @@ -46,6 +46,10 @@ PLIST_SUB= MYSQL_VERSION=${PORTVERSION} .include + +.if ${OSVERSION} > 400003 +CXXFLAGS+= -fno-exceptions +.endif .if ${OSVERSION} >= 320000 .if defined(MIT_PTHREADS) The 400003 is from http://www.freebsd.org/porters-handbook/porting-versions.html On Sun, Jan 07, 2001 at 06:51:49AM -0800, Dirk Froemberg wrote: > dirk 2001/01/07 06:51:49 PST > > Modified files: > databases/mysql322-server Makefile > databases/mysql323-server Makefile > Log: > Add "-felide-constructors -fno-exceptions -fno-rtti" to CXXFLAGS > to work around a problem causing mysqld to crash under heavy load > and multiple connections at the same time. Arr, I don't know what's the difference if CXXFLAGS comes without -fno-exceptions. Are they particular combination or just independent options in this case ? > PORTREVISION bumped. -- CirX - This site doesnt' exist. 9c k9o h9 s1bg s1f=, 7v .y xqx a sj m8r ffg1 vg5 a6 asox tmul h38 =. ant sj m8r ob =? 1fj mwby a1 tao vg5 =. soq df v ' .a. CirX=. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message