From owner-freebsd-questions@FreeBSD.ORG Fri Sep 22 01:50:09 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 985BE16A412 for ; Fri, 22 Sep 2006 01:50:09 +0000 (UTC) (envelope-from backyard1454-bsd@yahoo.com) Received: from web83106.mail.mud.yahoo.com (web83106.mail.mud.yahoo.com [216.252.101.35]) by mx1.FreeBSD.org (Postfix) with SMTP id ABC2F43D60 for ; Fri, 22 Sep 2006 01:50:05 +0000 (GMT) (envelope-from backyard1454-bsd@yahoo.com) Received: (qmail 21776 invoked by uid 60001); 22 Sep 2006 01:50:05 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4hpmhuLOQhIzXhOCIZgEiGu+UisoGPq5+FrwH0FzTorYyNJ1XebV3D4s3wPwW1Bg40QC6pl0PWOUKHPBmtyEd9S8rv8OiT8z3DFl/WMMf6RtdEDwuPWqOefHIpid9hzFdLdgx3LjqW9OH21bWSFGYEygslhnEMgwoKkmGaCM0EQ= ; Message-ID: <20060922015005.21774.qmail@web83106.mail.mud.yahoo.com> Received: from [75.15.29.212] by web83106.mail.mud.yahoo.com via HTTP; Thu, 21 Sep 2006 18:50:05 PDT Date: Thu, 21 Sep 2006 18:50:05 -0700 (PDT) From: backyard To: freebsd-questions@freebsd.org In-Reply-To: <20060922013420.GA32796@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: TCL84 Build error Socket Tests Hang FreeBSD 6.1-Stable #6 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: backyard1454-bsd@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 01:50:09 -0000 --- Kris Kennaway wrote: > On Thu, Sep 21, 2006 at 06:29:52PM -0700, backyard > wrote: > > > > > > --- Kris Kennaway wrote: > > > > > On Thu, Sep 21, 2006 at 06:11:52PM -0700, > backyard > > > wrote: > > > > Hello, > > > > > > > > I'm having trouble building tcl84. These > issues > > > did > > > > not seem to exist until I updated the ports > tree > > > and > > > > world the other day > > > > > > > > Heres the basic stuff: > > > > > > > > FreeBSD 6.1-STABLE #6 Sun Sept 17 22:03:38 > > > > is what uname -a spits out ports were updated > > > right > > > > before the system source update. > > > > > > > > make.conf has > > > > > > > > > > > CXXFLAGS+=-O3 -fno-strict-aliasing > > > > > > Don't do that, it can cause problems > > > > can you be a little more specific? I was just > using > > CXXFLAGS+=-O3 > > before I thought the aliasing issues because of > type > > casting could cause issues and so > -fno-strict-aliasing > > was what you had to do to make optimization above > > level 1 work rigt. At least thats what reading > about > > -fno-strict-aliasing seemed to get at with FreeBSD > > specifically. > > > > should it be > > CXXFLAGS+= > > dafaulting to O2 with no strict aliasing? given my > > > CFLAGS=-pipe -O2 -fno-strict-aliasing > > Just use the defaults (which is currently the same > as your CFLAGS). > > > > > MAKEOPTS="-j5" > > > > > > Don't do that, it can cause problems > > > > I know doing > > make -j5 buildworld or buildkernel or just about > > anything else would/used to puke things. But I > haven't > > seen any issues with MAKEOPTS doing that. Perhaps > > until now? I know specifically make -j5 on the > shell > > would cause the build to skip the build and fail > on > > the install or skip the build of the objects and > fail > > on linking the uncompiled library. > > The base system is fine, but many ports of third > party software fail > to build (or the build misbehaves) with make -j. > > Kris > well I'll see if I have any better luck with the more conservative CXXFLAGS and the removal of -j5 from MAKEOPTS. I have a conditional build directive for the system build so I can update ports and sys separately as having SUPFILE and PORTSUPFILE set seems to update both whether I'm in /usr/ports or /usr/sys with a "make update". If -j5 is safe for the FreeBSD build I'll cut Makeopts into that knob, I hope thats the right way to use that term... thanks -brian