From owner-freebsd-current@FreeBSD.ORG Wed Mar 3 08:59:33 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 C5C7816A4CE for ; Wed, 3 Mar 2004 08:59:33 -0800 (PST) Received: from cmsrelay01.mx.net (cmsrelay01.mx.net [165.212.11.110]) by mx1.FreeBSD.org (Postfix) with SMTP id 9503243D2D for ; Wed, 3 Mar 2004 08:59:33 -0800 (PST) (envelope-from noackjr@alumni.rice.edu) Received: from uadvg137.cms.usa.net (165.212.11.137) by cmsoutbound.mx.net with SMTP; 3 Mar 2004 16:59:28 -0000 Received: from optimator.noacks.org [65.69.2.172] by uadvg137.cms.usa.net (ASMTP/noackjr@usa.net) via mtad (C8.MAIN.3.13N) with ESMTP id 584iccq8y0490M37; Wed, 03 Mar 2004 16:59:24 GMT X-USANET-Auth: 65.69.2.172 AUTH noackjr@usa.net optimator.noacks.org Received: from localhost (localhost [127.0.0.1]) by optimator.noacks.org (Postfix) with ESMTP id 3BF936114; Wed, 3 Mar 2004 10:59:23 -0600 (CST) Received: from optimator.noacks.org ([127.0.0.1]) by localhost (optimator.noacks.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04980-03; Wed, 3 Mar 2004 10:59:22 -0600 (CST) Received: from alumni.rice.edu (optimator [192.168.1.11]) by optimator.noacks.org (Postfix) with ESMTP id BD6AB6101; Wed, 3 Mar 2004 10:59:21 -0600 (CST) Message-ID: <40460EE9.6070202@alumni.rice.edu> Date: Wed, 03 Mar 2004 10:59:21 -0600 From: Jon Noack User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: current@FreeBSD.ORG References: <404510EF.8040300@charter.net> <1078268844.707.2.camel@falter> <20040303100548.GA2636@dragon.nuxi.com> In-Reply-To: <20040303100548.GA2636@dragon.nuxi.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at noacks.org cc: Remi Subject: Re: libxine failure under -CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: noackjr@alumni.rice.edu List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2004 16:59:33 -0000 On 3/3/2004 4:05 AM, David O'Brien wrote: > On Tue, Mar 02, 2004 at 11:07:25PM +0000, Alistair Sutton wrote: >> On Tue, 2004-03-02 at 22:55, Remi wrote: >>> # uname -a >>> FreeBSD 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Sun Feb 29 19:30:50 PST >>> 2004 root@:/usr/obj/usr/src/sys/BSD i386 >>> >>> Has anyone seen this or know how to fix it? >> >> *snip* >> >> You need to change your CPUTYPE variable in /etc/make.conf to something >> other than P4 and then clean and remake the port. > > Why? GCC 3.3.3 doesn't have the p4 code generation bugs of earlier > GCC's. There are still edge-cases where things don't quite work correctly, especially when you start dealing with assembly. For example, trying to compile mplayer with -funroll-loops will also fail. Perhaps we should make a note somewhere that multimedia software (or any hand-optimized software) may not like some compiler flags. In any case, it's best practice when compilation fails to try again without extra optimizations (-O -pipe at most). If it still fails, there's a problem somewhere. If not, let us know which which compiler flag causes it to fail -- there might be a fix for it... Jon Noack