From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 06:30:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2963516A4CE for ; Thu, 29 Jul 2004 06:30:58 +0000 (GMT) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2794743D5C for ; Thu, 29 Jul 2004 06:30:57 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received-SPF: pass (eva.fit.vutbr.cz: domain of xdivac02@eva.fit.vutbr.cz designates 127.0.0.1 as permitted sender) receiver=eva.fit.vutbr.cz; client_ip=127.0.0.1; envelope-from=xdivac02@eva.fit.vutbr.cz; Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (8.12.11/8.12.11) with ESMTP id i6T6Ukld024589 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Thu, 29 Jul 2004 08:30:46 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.12.11/8.12.5/Submit) id i6T6UkaM024588 for current@freebsd.org; Thu, 29 Jul 2004 08:30:46 +0200 (CEST) Date: Thu, 29 Jul 2004 08:30:46 +0200 From: Divacky Roman To: current@freebsd.org Message-ID: <20040729063046.GA24516@stud.fit.vutbr.cz> References: <200407280312.i6S3C39q070966@repoman.freebsd.org> <20040728205444.GA51189@volt.iem.pw.edu.pl> <20040729023259.GA47439@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040729023259.GA47439@freefall.freebsd.org> User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Subject: Re: Compiling FreeBSD with non-standard flags. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Jul 2004 06:30:58 -0000 On Thu, Jul 29, 2004 at 02:32:59AM +0000, Alexander Kabaev wrote: > Hello all, > > > % make buildworld > > ..... > > ===> libexec/atrun > > cc -O2 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/atrun.c > > cc -O2 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at -I/usr/src/libexec/atrun -c /usr/src/libexec/atrun/gloadavg.c > > cc -O2 -fomit-frame-pointer -pipe -DATJOB_DIR=\"/var/at/jobs/\" -DLFILE=\"/var/at/jobs/.lockfile\" -DLOADAVG_MX=1.5 -DATSPOOL_DIR=\"/var/at/spool\" -DVERSION=\"2.9\" -DDAEMON_UID=1 -DDAEMON_GID=1 -DDEFAULT_BATCH_QUEUE=\'E\' -DDEFAULT_AT_QUEUE=\'c\' -DPERM_PATH=\"/var/at/\" -I/usr/src/libexec/atrun/../../usr.bin/at -I/usr/src/libexec/atrun -o atrun atrun.o gloadavg.o > > /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_mutex_destroy_int' > > /usr/obj/usr/src/i386/usr/lib/libc.so: undefined reference to `pthread_cond_destroy_exp' > > .......... > > > > There were a number of reports of buildworld breakage due to people using > non-default flags like -Os, -O2 and even -fomit-frame-pointer. While desire > to squeeze the very last drop of performance out of their systems is > understandable goal, you should understand, that you are on your own while > you are doing that, especially right after a major GCC version upgrade. > > I will try to fix this particular breakage when other, more pressing issues > have been addressed. I was just reporting a bug... not ranting ;) btw: -O2 is officially supported, isnt it? and tinderboxes also compiles with -O2 anyway - thnx for great work in upgrading gcc! roman